Wardword
 lvl.2
Canada
Offline
|
Wardword Posted at 3-3 09:10
In the last section of the PDF there is this code . It's causing me syntax errors as well. name root_me is not defined
Trying to clean it up no dice so far.
Ok this worked I added it to the end of the 1st section.
def root_me(module):
__import__=random.__dict__['__builtins__']['__import__']
return __import__(module,globals(),locals(),[],0)
builtins=root_me('builtins')
subprocess=root_me('subprocess')
proc=subprocess.Popen('/system/bin/adb_en.sh',shell=True,executable='/system/bin/sh',stdout=subprocess.PIPE,stderr=subprocess.PIPE)
subprocess=root_me('subprocess')
proc=subprocess.Popen('/system/bin/adb_en.sh',shell=True,executable='/system/bin/sh',stdout=subprocess.PIPE,stderr=subprocess.PIPE) |
|