-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOError: [Errno 2] No such file or directory: 'msf_payload.ps1' #3
Comments
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 |
python nps_payload.py
(
) (
) ( /( )\ )(()( ( /( (()/()\ ) /(/( )\ /(/( )()|()/( _ )\ )()) (()
(/((()(() (()(()_ )()) |(()(() | |
| ' )) ' |-< | ' )
| || | / _ \/ _
/ ` |||||| .///| .__/_,|_, |___/_,_,|
|| |___|_| |/
Select a task: 1
Payload Selection:
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
main()
File "nps_payload.py", line 410, in main
optionstask
File "nps_payload.py", line 108, in generate_msbuild_nps_msf_payload
encode_pshpayload("msf_payload.ps1")
File "nps_payload.py", line 68, in encode_pshpayload
psh_file = open(payload_file, "r")
IOError: [Errno 2] No such file or directory: 'msf_payload.ps1'
The text was updated successfully, but these errors were encountered: