From e521ddbb40dd9d7af987bbc7563bbc4b348c7f85 Mon Sep 17 00:00:00 2001 From: AloneMonkey Date: Fri, 2 Feb 2018 21:42:51 +0800 Subject: [PATCH 1/2] [bugfix] avoid name conflicts --- dump.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dump.js b/dump.js index d40d191..0c2ab1f 100644 --- a/dump.js +++ b/dump.js @@ -207,7 +207,7 @@ function dumpModule(name) { var modbase = modules[i].base; var modsize = modules[i].size; var newmodname = modules[i].name; - var newmodpath = getDocumentDir() + "/" + newmodname; + var newmodpath = getDocumentDir() + "/" + newmodname + ".fid"; var oldmodpath = modules[i].path; From b2e6c55d8ba1332efb7bb4c5f88b15a01e40e35c Mon Sep 17 00:00:00 2001 From: AloneMonkey Date: Wed, 7 Feb 2018 13:08:09 +0800 Subject: [PATCH 2/2] [bugfix] fix global declaration --- dump.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dump.py b/dump.py index eba4198..b9a5552 100755 --- a/dump.py +++ b/dump.py @@ -196,6 +196,7 @@ def create_dir(path): print path + u" is existed!"; def open_target_app(isbundleid, value): + global session; device = get_usb_iphone(); name = u'SpringBoard'; print "open target app......" @@ -212,6 +213,7 @@ def open_target_app(isbundleid, value): time.sleep(5); def start_dump(target): + global session; print "start dump target app......" device = get_usb_iphone(); session = device.attach(target);