"; echo ""; echo '

'; echo 'Suspicious files in /tmp:'; echo '

';
system("ls -al /tmp/ | grep `whoami` | grep -v sess_");

echo '

'; echo 'World-writable files and folders:'; echo '

';
system("find ./ -perm +og+w -follow");

echo '

'; echo 'Broken symlinks:'; echo '

';
system("for i in `find ./ -type l`; do [ -e $i ] || echo $i is broken; done");

echo '

'; echo 'php.ini files with register_globals enabled:'; echo '

';
system("find ./ -name php.ini -exec grep -Hli '^register_globals.*=.*On' {} \;");

echo '

'; echo "Note: Speaking of cron jobs, you'll need to check those manually"; echo '
'; echo 'Running processes:'; echo '

';
system("ps -eo pid,user,cmd | grep `whoami`");

echo "

"; ?>