4 ms·
Okay, this is really weird... after rooting, and pressing ^D or typing exit, I stay root ~/code/tpwn % id -u 503 ~/code/tpwn % ./tpwn leak
by x0 11y ago
Okay, this is really weird... after rooting, and pressing ^D or typing exit, I stay root
~/code/tpwn % id -u
503
~/code/tpwn % ./tpwn
leaked kaslr slide, @ 0x0000000005600000
sh-3.2# exit
exit
~/code/tpwn # id -u
0
Edit: and it crashes iTerm2 after the last `id -u`. Managed to get a screenshot of what I'm talking about: http://i.imgur.com/foWgTBN.png http://i.imgur.com/foWgTBN.png
- jake223 11y agoThis does not happen for me. bash-3.2$ ./tpwn leaked kaslr slide, @ 0x000000000f800000 sh-3.2# exit bash-3.2$ id -u 501
- benwilber0 11y agoI replaces your user shell with a root shell. You're not "root" in that terminal.