News for hackers. Stuff that matters.

Arinerron

Show HN: whytime: time(1) that tells you where the wall-clock time went

https://github.com/Arinerron/whytime

time says a command took 3.8 seconds... whytime tells you where those seconds went: $ sudo whytime -- sh -c 'sleep 0.5; dd … oflag=dsync; curl -s -o /dev/null https://speed.cloudflare.com/…' wall 3.83s 47% blocked on network: speed.cloudflare.com:443 (1 connection) 34% fsync on ~/.cache 13% timer sleep (sleep) 4% on-CPU (curl) 2% other The lines always add up to...

( Read More... | no comments | on HN )
cool :)
Cool, great work!
Re:Ask HN: Does anyone dream of code? on Wednesday February 08, 2017 @07:47PM (#13603641)
Yeah. Most teens don't have dreams about code, but I do. I fall asleep thinking about some bug, and wake uo with a solution. Unfortunately, I sometimes forget it :P
Re:Show HN: ClapChat – Instant messaging for HN users on Sunday December 25, 2016 @01:58AM (#13253294)
Android app yet?
Re:Tell Trump How to Make America Great on Friday November 18, 2016 @04:36PM (#12990271)
How does this relate to the topic of the site
Re:The Geek Keep: Synthesize Speech in Any Voice on Monday November 07, 2016 @02:16AM (#12889444)
You can download deepmind wavelet??
Re:The Geek Keep: Synthesize Speech in Any Voice on Saturday November 05, 2016 @09:11PM (#12882872)
Now where do I get this software? :p
Re:Show HN: Android 'root' phones via dirtyc0w exploit on Friday October 28, 2016 @07:59PM (#12821783)
Okay, should be working now. If you have any issues, feel free to comment them here: https://gist.github.com/Arinerron/0e99d69d70a778ca13a0087fa6...
Re:Show HN: Android 'root' phones via dirtyc0w exploit on Thursday October 27, 2016 @06:46PM (#12811046)
Okay, sorry guys. I know it's broken right now. The problem is that wget and unzip commands aren't being used properly. I can't fix it on my phone, because the editor isn't working. I won't have computer access till tonight (it's 4PM here, and I'm at school). Really sorry about the delay!
Re:Show HN: Android 'root' phones via dirtyc0w exploit on Thursday October 27, 2016 @03:20AM (#12803417)
Thanks, I'll do that. One problem though is that I've already published the script here, and migrating to a new repository would leave everyone with a dead link, etc. I could post the script in the fork too, though.
Re:Show HN: Android 'root' phones via dirtyc0w exploit on Thursday October 27, 2016 @02:54AM (#12803338)
Thanks! What kind of warning message would you suggest? A "the exploit might be compromised" message, a "verify your download with this hash" message, or something else?
Re:Show HN: Android 'root' phones via dirtyc0w exploit on Thursday October 27, 2016 @02:52AM (#12803327)
For those who didn't see it:

I didn't write this exploit, I just wrote this script that automates the exploit. The repository with the actual exploit is here htt​ps://g​oo​.​gl/f​8HdO7, and the script to automate it is here https://goo.gl/r2dFia .

Re:Show HN: Android 'root' phones via dirtyc0w exploit on Thursday October 27, 2016 @02:20AM (#12803231)
That is really true. Any solution you propose? I mean, it is all open source, but if the author of the PoC repository were to put malicious code into the file, how would we know before reading the source?

Do you think I should host the file somewhere I trust, and make it check the hash of the downloaded file from a different to ensure it isn't compromised? My worry then is, what if the hash was compromised too?

I appreciate your response. Thanks!

Re:Show HN: Android 'root' phones via dirtyc0w exploit on Wednesday October 26, 2016 @11:53PM (#12802788)
I put 'root' in quotes, because technically, it isn't rooting. However, it creates a binary called 'run-as' that can execute packages as root. Not sure what the right term would be in this case.

Older »