ref : http://www.linuxlab.co.kr/docs/00-05-2.htm
망내 아이피 검색
# nmap -sP 192.168.7.0/24 Starting nmap V. 2.12 by Fyodor (fyodor@dhp.com, www.insecure.org/nmap/) Host (192.168.7.11) appears to be up. Host (192.168.7.12) appears to be up. Host (192.168.7.76) appears to be up. Nmap run completed -- 256 IP addresses (3 hosts up) scanned in 1 second |
** Port Scanning **
# nmap -sT 192.168.7.12 Starting nmap V. 2.12 by Fyodor (fyodor@dhp.com, www.insecure.org/nmap/) Interesting ports on (192.168.7.12): Port State Protocol Service 7 open tcp echo 9 open tcp discard 13 open tcp daytime 19 open tcp chargen 21 open tcp ftp ... Nmap run completed -- 1 IP address (1 host up) scanned in 3 seconds |
** Stealth Scanning **
# nmap -sS 192.168.7.7 Starting nmap V. 2.12 by Fyodor (fyodor@dhp.com, www.insecure.org/nmap/) Interesting ports on saturnlink.nac.net (192.168.7.7): Port State Protocol Service 21 open tcp ftp 25 open tcp smtp 53 open tcp domain 80 open tcp http ... Nmap run completed -- 1 IP address (1 host up) scanned in 1 second |