nmapã«ãããããã¯ã¼ã¯æ¢ç´¢ã®ã¡ã¢
ãããã¯ã¼ã¯ã¹ãã£ãnmapã§ããããæ¢ãæ¹æ³ã®ã¡ã¢ã èªèº«ã管çããIPã¢ãã¬ã¹ããã¡ã¤ã³ä»¥å¤ã¸ã®ã¹ãã£ã³ã¯æ»æã¨ã¿ãªãããå ´åããããã¨ã«æ³¨æã
IPv4ãã¹ããæ¢ç´¢ãã
-n
ã¯DNSéå¼ãã®ç¡å¹åã-sn
ã¯ãã¼ãã¹ãã£ã³ããªãã
# nmap -n -sn 192.168.0.0/24
LANå ã®IPv6ãã¹ããæ¢ç´¢ãã
LANå
ã®å
¨ãã¹ãã表ããã«ããã£ã¹ãã¢ãã¬ã¹ff02::1
ã«ICMP pingãéãã
-v
ã¯è©³ç´°è¡¨ç¤ºã
# nmap -v -n -sn --script targets-ipv6-multicast-echo
ç¹å®ã®ãã¹ãããã¼ãã¹ãã£ã³ãã
-sSVC
ã¯SYN scanã®æå®ã¨ãã¼ã¸ã§ã³æ
å ±ã®èª¿æ»ã¨æ¨æºNSEã¹ã¯ãªããã®å®è¡ã-O
ã¯OSæ¨æ¸¬ã-p-
ã¯0ãã65535ã¾ã§ã®å
¨ãã¼ããã¹ãã£ã³ã-T4
ã¯ã¹ãã£ã³é度ãä¸ããã
# nmap -v -sSVC -O -p- -T4 localhost
HTTPãµã¼ãä¸ã®ãã¡ã¤ã«ãæ¢ç´¢ãã
/robots.txt
ã/phpmyadmin/
ãªã©ã®ããç¥ããããã¹ãæ¢ç´¢ããã
# nmap -v --script http-enum localhost -p 80
ãµããã¡ã¤ã³ãè¾æ¸æ»æã§æ¢ç´¢ãã
www以å¤ã®ãµããã¡ã¤ã³ãè¾æ¸æ»æã§æ¢ç´¢ããã
# nmap -v -sn --script dns-brute www.example.com
IPã¢ãã¬ã¹ã®ææè ã調ã¹ã
IPã¢ãã¬ã¹ãå²ãå½ã¦ããã¦ããçµç¹ã表示ããã
# nmap -v -sn --script whois-ip www.example.com
åä¸IPã¢ãã¬ã¹ãæã¤ä»ã®ãã¡ã¤ã³ã調ã¹ã
ãªã³ã©ã¤ã³ãã¼ã¿ãã¼ã¹ã«ã¢ã¯ã»ã¹ããåãIPã¢ãã¬ã¹ã«åããããä»ã®ãã¡ã¤ã³ã調ã¹ãã
# nmap -v --script hostmap-bfk www.example.com