[fix] Waiting for the application to open
This commit is contained in:
3
dump.py
3
dump.py
@@ -10,6 +10,7 @@ import frida
|
|||||||
import threading
|
import threading
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
|
import time
|
||||||
|
|
||||||
reload(sys)
|
reload(sys)
|
||||||
sys.setdefaultencoding('utf8')
|
sys.setdefaultencoding('utf8')
|
||||||
@@ -114,6 +115,8 @@ def main(target):
|
|||||||
opened.wait();
|
opened.wait();
|
||||||
session.detach();
|
session.detach();
|
||||||
createDir(os.getcwd()+"/"+OUTPUT)
|
createDir(os.getcwd()+"/"+OUTPUT)
|
||||||
|
print 'Waiting for the application to open......'
|
||||||
|
time.sleep(5);
|
||||||
print "start dump target app......"
|
print "start dump target app......"
|
||||||
session = device.attach(name);
|
session = device.attach(name);
|
||||||
script = loadJsFile(session, DUMP_JS);
|
script = loadJsFile(session, DUMP_JS);
|
||||||
|
|||||||
Reference in New Issue
Block a user