- ping 응답 없는 서버 포트 스캔
- ICMP 응답 없는 서버 포트 스캔
1 명령어[ | ]
Bash
Copy
nmap 서버주소 -P0
nmap 서버주소 -Pn
2 실습[ | ]
Console
Copy
[root@zetawiki ~]# ping google.com -W1 -c4
PING google.com (1.255.22.231) 56(84) bytes of data.
--- google.com ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3000ms
- → naver.com은 ping 응답을 하지 않는다.
Console
Copy
[root@zetawiki ~]# nmap google.com
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2014-04-16 10:21 KST
Warning: Hostname google.com resolves to 16 IPs. Using 1.255.22.216.
Note: Host seems down. If it is really up, but blocking our ping probes, try -P0
Nmap finished: 1 IP address (0 hosts up) scanned in 2.120 seconds
- → 아무 옵션 없이 nmap을 하면 ping 응답이 없는 서버에 대해 포트스캔을 하지 않는다.
- → -P0 옵션을 사용해보라는 메시지나 나온다.
Console
Copy
[root@zetawiki ~]# nmap google.com -P0
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2014-04-16 10:22 KST
Warning: Hostname google.com resolves to 16 IPs. Using 1.255.22.231.
Interesting ports on 1.255.22.231:
Not shown: 1678 filtered ports
PORT STATE SERVICE
80/tcp open http
443/tcp open https
Nmap finished: 1 IP address (1 host up) scanned in 21.395 seconds
- → 포트 스캔 결과 80, 443 포트가 열려 있다.
3 같이 보기[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.