bash
shell in /system/bin
. If you start a shell through ADB (eg. ./adb shell
), it'll start /system/bin/sh
as a shell which is a symlink to bash
. Unfortunately ADB does not add the -l
option to the shell's commandline, thus the shell will not be a login shell and it'll not look for _any_ configuration files. find / -type f -perm -4000 -perm +0111 -print
-perm -4000
option matches files with the setuid bit set. And the -perm +0111
option matches files for which any of the executable bits is set. This command might come handy if you've a rooted Android phone and would like to keep tabs on what executables get setuid root privileges (besides the apps that run something through su
).strace
.tcpdump
)tcpdump
)tcpdump
, but the app's description does not say so)dtruss
.python2 -m SimpleHTTPServer 8080
Recent comments
1 year 43 weeks ago
3 years 13 weeks ago
3 years 13 weeks ago
3 years 15 weeks ago
3 years 16 weeks ago
3 years 22 weeks ago
3 years 22 weeks ago
3 years 23 weeks ago
3 years 23 weeks ago
3 years 23 weeks ago