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

Error generating msf payload windows/x64/exec #68

Open
chppppp opened this issue Mar 6, 2020 · 0 comments
Open

Error generating msf payload windows/x64/exec #68

chppppp opened this issue Mar 6, 2020 · 0 comments

Comments

@chppppp
Copy link

chppppp commented Mar 6, 2020

[+] MODULE DESCRIPTION:

  Inject and execute shellcode 
  [>] Local process shellcode execution type:
   > Thread                            
   > APC                               

  [>] Remote process shellcode execution type:
   > ThreadExecutionHijack       (TEH) 
   > Processinject               (PI)  
   > APCSpray                    (APCS)
   > EarlyBird                   (EB) 
   > EntryPointHijack            (EPH)

  [>] Local Memory allocation type:
   > Virtual_RWX                     
   > Virtual_RW/RX                   
   > Virtual_RW/RWX                  
   > Heap_RWX                        

  [>] Remote Memory allocation type:
   > Virtual_RWX                     
   > Virtual_RW/RX                   
   > Virtual_RW/RWX                  
   > SharedSection                   

  [>] Shellcode Encryption supported 
  [>] Shellcode can be embedded as resource
  [>] AUTOCOMPILE format: exe,dll 


  Press Enter to continue: 

[>] Insert Target architecture (default:x86):x64

[>] Insert shell generation method (default: msfvenom):

[>] Embed shellcode as PE resource? (Y/n): 

[>] Insert msfvenom payload (default: windows/x64/meterpreter/reverse_tcp):windows/x64/exec
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 899, in ModuleLauncher
    ModOpt=ModuleOpt(M_type)
  File "Setup/Phantom_lib.py", line 687, in ModuleOpt
    PayloadData=PayloadOpt(M_type,ModOpt["Arch"])
  File "Setup/Phantom_lib.py", line 541, in PayloadOpt
    payload_advisor(payload_choice,module_choice)
NameError: name 'payload_advisor' is not defined

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

1 participant