1. Port Scan with Metasploit
$msfconsole
msf6> search portscan
msf6> search path:portscan
msf6> search type:exploit
msf6 > use auxiliary/scanner/portscan/syn
msf6> set ports 1-65535
msf6> set rhost 192.168.10.29
msf6> set threads 10
msf6> exploit
2. Nmap
scan all open port#
$nmap -vv -Pn -A -sS -T4 -p- 192.168.10.29
$nmap -vv -Pn -A -sS -T4 -p 1-65535 192.168.10.29
output#
-oN output normally
$nmap -vv -Pn -A -sS -T4 -p- -oN /home/kali/nmapSync 192.168.10.29
--intensity scan base on above output
$nmap -nvv -Pn -A -sSV -p 80,110,1135,139,445,808,902,912,5357 --version-intensity 9 -oN /home/kali/nmapversion.txt 192.168.10.29
标签:metasploit,set,nmap,10.29,192.168,Pn,msf6 From: https://www.cnblogs.com/cypaul/p/17068831.html