Advertisement
TVT618

MSFPC - MSFvenom Payload Creator

Aug 4th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. MSFvenom Payload Creator (MSFPC)
  2. A quick way to generate various "basic" Meterpreter payloads via msfvenom (part of the Metasploit framework).
  3.  
  4. About:
  5. MSFvenom Payload Creator (MSFPC) is a wrapper to generate multiple types of payloads, based on users choice. The idea is to be as simple as possible (only requiring one input) to produce their payload.
  6.  
  7. Fully automating msfvenom & Metasploit is the end goal (well as to be be able to automate MSFPC itself). The rest is to make the user's life as easy as possible (e.g. IP selection menu, msfconsole resource file/commands, batch payload production and able to enter any argument in any order (in various formats/patterns)).
  8.  
  9. The only necessary input from the user should be defining the payload they want by either the platform (e.g. windows), or the file extension they wish the payload to have (e.g. exe).
  10.  
  11. * Can't remember your IP for a interface? Don't sweat it, just use the interface name: eth0.
  12. * Don't know what your external IP is? MSFPC will discover it: wan.
  13. * Want to generate one of each payload? No issue! Try: loop.
  14. * Want to mass create payloads? Everything? Or to filter your select? ..Either way, its not a problem. Try: batch (for everything), batch msf (for every Meterpreter option), batch staged (for every staged payload), or batch cmd stageless (for every stageless command prompt)!
  15.  
  16. Note: This will NOT try to bypass any anti-virus solutions at any stage.
  17.  
  18. Install and Run:
  19. sudo apt update
  20. sudo apt install metasploit-framework
  21. git clone https://github.com/g0tmi1k/mpc
  22. cd mpc
  23. sudo bash msfpc.sh
  24.  
  25. Install on Kali Linux:
  26. MSFPC is already packaged in Kali Rolling, so all you have to-do is: sudo apt install -y msfpc
  27.  
  28. Help:
  29.  
  30. Example #1 (Windows, Fully Automated Using Manual IP):
  31.  
  32. Example #2 (Linux Format, Fully Automated Using Manual Interface and Port):
  33.  
  34. Example #3 (Python Format, Interactive IP Menu):
  35. Note: Removed WAN IP.
  36.  
  37. Example #4 (Loop - Generates one of everything):
  38. Note: Removed WAN IP.
  39.  
  40. To-Do List:
  41. * Shellcode generation
  42. * x64 payloads
  43. * IPv6 support
  44. * Look into using OS scripting more (powershell_bind_tcp & bind_perl etc)
  45.  
  46. Download MSFPC: https://github.com/g0tmi1k/mpc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement