Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Error while generating apk payload (android/meterpreter/reverse_tcp) #72

Open
eqelibari opened this issue Apr 1, 2020 · 1 comment
Open

Comments

@eqelibari
Copy link

[>] Generating code...

[-] No platform was selected, choosing Msf::Module::Platform::Android from the payload
No encoder or badchars specified, outputting raw payload
Payload size: 10178 bytes
Saved as: msf_gen.apk

[>] Baksmaling...

Error: Unable to access jarfile Setup/apk_sign/apktool_2.4.1.jar

[>] Obfuscating Smali code...

Traceback (most recent call last):
File "./phantom-evasion.py", line 402, in
CompleteMenu()
File "./phantom-evasion.py", line 190, in CompleteMenu
Phantom_lib.ModuleLauncher(module_type)
File "Setup/Phantom_lib.py", line 937, in ModuleLauncher
LoadExecModule(M_type,ModOpt)
File "Setup/Phantom_lib.py", line 591, in LoadExecModule
ApkSmaliObfuscator_android(ModOpt)
File "Modules/payloads/MsfvenomObfuscateBackdoor_android.py", line 287, in ApkSmaliObfuscator_android
os.rename("msf_smali/smali/com/metasploit","msf_smali/smali/com/" + ModOpt["Metaspl"])
OSError: [Errno 2] No such file or directory

@delgiu87
Copy link

delgiu87 commented Apr 1, 2020

about error jarfile is enough to update with option 7 first , for the error of "no platform" I am still waiting and trying solution .

seem same problem occur in different tool for the same problem of upgrade of jar that lost the support until someone can upgrade in the code or downgrade jar

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants