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

Cannot generate code #60

Open
freaky1337 opened this issue Jan 19, 2020 · 3 comments
Open

Cannot generate code #60

freaky1337 opened this issue Jan 19, 2020 · 3 comments

Comments

@freaky1337
Copy link

freaky1337 commented Jan 19, 2020

Traceback (most recent call last): File "./phantom-evasion.py", line 402, in <module> CompleteMenu() File "./phantom-evasion.py", line 125, in CompleteMenu Phantom_lib.ModuleLauncher(module_type) File "Setup/Phantom_lib.py", line 909, in ModuleLauncher ModOpt["Payload"] = PayloadGenerator(ModOpt["Payload"],ModOpt["Arch"],ModOpt["Host"],ModOpt["Port"],ModOpt["CustomOpt"],"c") File "Setup/Phantom_lib.py", line 216, in PayloadGenerator Payload = subprocess.check_output(ARGs) File "/usr/lib/python2.7/subprocess.py", line 216, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 394, in init errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
using shellcode injection option
when im trying to start the program with python3 it doesnt even launch and gives error:
Traceback (most recent call last): File "phantom-evasion.py", line 27, in <module> import Phantom_lib File "Setup/Phantom_lib.py", line 29, in <module> from OpenSSL import crypto ModuleNotFoundError: No module named 'OpenSSL'

@oddcod3
Copy link
Owner

oddcod3 commented Jan 20, 2020

Hi @freaky1337
Could you provide more details? (Os used and phantom evasion options)

@NEX0X0XOS
Copy link

NEX0X0XOS commented Jan 20, 2020

Do this and then try it again in python3

pip install pyopenssl

@freaky1337
Copy link
Author

@oddcod3 I'm using debian 10, used the shellcode injection option with the default values of it.
@NEX0X0XOS Yeah well, I've already tried but I ended up getting the same result.

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

3 participants