From 640ff0a9a3617553950d0f16badfc7ee5bc659f8 Mon Sep 17 00:00:00 2001 From: AloneMonkey Date: Tue, 23 Jan 2018 19:17:12 +0800 Subject: [PATCH] [fix] Waiting for the application to open --- dump.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dump.py b/dump.py index a1eeac0..a918231 100755 --- a/dump.py +++ b/dump.py @@ -10,6 +10,7 @@ import frida import threading import os import shutil +import time reload(sys) sys.setdefaultencoding('utf8') @@ -114,6 +115,8 @@ def main(target): opened.wait(); session.detach(); createDir(os.getcwd()+"/"+OUTPUT) + print 'Waiting for the application to open......' + time.sleep(5); print "start dump target app......" session = device.attach(name); script = loadJsFile(session, DUMP_JS);