oddcod3 / Phantom-Evasion

Python antivirus evasion tool
GNU General Public License v3.0
1.39k stars 334 forks source link

I have a problem Obfuscating Smali code... #63

Closed stesep closed 4 years ago

stesep commented 4 years ago

[>] 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"]) FileNotFoundError: [Errno 2] No such file or directory: 'msf_smali/smali/com/metasploit' -> 'msf_smali/smali/com/rsozzppe'

ghost commented 4 years ago

I have the same problem. Looks to me as if someone modified the script. It worked on the first run. I go to run it again and get the same error as you. The script renamed to folders in the smali dir.

oddcod3 commented 4 years ago

Duplicate of #65