PushpenderIndia / apkinfector

Advanced Android AV Evasion Tool Written In Python 3 that can Embed/Bind meterpreter APK to any Legitimate APK
285 stars 75 forks source link

Error on injection #3

Closed amarCosmospace closed 4 years ago

amarCosmospace commented 4 years ago

[*] Trying to Find .smali File of Launcher Traceback (most recent call last): File "infector.py", line 319, in hook_meterpreter_in_apk(VAR1, VAR2, VAR3) File "infector.py", line 177, in hook_meterpreter_in_apk launcherActivity = str(launcherActivity).split('\'')[1] IndexError: list index out of range

Any idea ?

Good Job btw

PushpenderIndia commented 4 years ago

APKinfector is unable to find the hook point in your case, I have fixed a minor issue.

So try it again, you might be prompt to enter the launcher activity manually from the AndroifManifest.xml if the script is unable to find it manually

On Thu, Jul 2, 2020 at 8:38 PM amarCosmospace notifications@github.com wrote:

[*] Trying to Find .smali File of Launcher Traceback (most recent call last): File "infector.py", line 319, in hook_meterpreter_in_apk(VAR1, VAR2, VAR3) File "infector.py", line 177, in hook_meterpreter_in_apk launcherActivity = str(launcherActivity).split(''')[1] IndexError: list index out of range

Any idea ?

Good Job btw

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Technowlogy-Pushpender/apkinfector/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANORYISALUQ3ILUC37SYNL3RZSPGPANCNFSM4OO7ME2A .

amarCosmospace commented 4 years ago

Yes, thanks for your work :)

devilboy081120 commented 1 year ago

Trying to Find .smali File of Launcher
Traceback (most recent call last):
File "/home/kali/apkinfector/infector.py", line 322, in
hook_meterpreter_in_apk(VAR1, VAR2, VAR3)
File "/home/kali/apkinfector/infector.py", line 167, in hook_meterpreter_in_apk
lineNumber = int(lineNumber.decode().split('\n')[0]) - 1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: ''

i have same issue how can i solve it please help