切换风格

Wizard Sky California Sunset glow Black Cloud Beige Dragon Lavender NewYear City Snow Flowers London
收藏本站XSS平台字符串转换jsfuck
129 网络扫描 : nmap 常见扫描方式3[复制链接]
发表于 2012-9-9 17:14:04 | 显示全部楼层 |!read_mode!

请背诵本章

保存XML

-oX

  1. root@Dis9Team:~# nmap 192.168.40.129 -oX 1.xml

  2. Starting Nmap 6.01 ( http://nmap.org ) at 2012-06-19 08:06 PDT
  3. Nmap scan report for 192.168.40.129
  4. Host is up (0.00038s latency).
  5. Not shown: 996 filtered ports
  6. PORT     STATE SERVICE
  7. 23/tcp   open  telnet
  8. 139/tcp  open  netbios-ssn
  9. 445/tcp  open  microsoft-ds
  10. 3389/tcp open  ms-wbt-server
  11. MAC Address: 00:0C:29:EB:F8:94 (VMware)

  12. Nmap done: 1 IP address (1 host up) scanned in 5.04 seconds
  13. root@Dis9Team:~# cat 1.xml
  14. 等等
复制代码
指定端口-p 80,445 或者 -p 1-60000IPv6扫描参数: -6 扩展 http://baike.baidu.com/view/5228.htm
  1. root@Dis9Team:~# nmap -6 fe80::20c:29ff:fe84:4c9d

  2. Starting Nmap 6.01 ( http://nmap.org ) at 2012-06-19 08:09 PDT
  3. Nmap scan report for fe80::20c:29ff:fe84:4c9d
  4. Host is up (0.000010s latency).
  5. Not shown: 999 closed ports
  6. PORT   STATE SERVICE
  7. 22/tcp open  ssh

  8. Nmap done: 1 IP address (1 host up) scanned in 0.57 seconds
  9. root@Dis9Team:~#
复制代码
多功能扫描参数 -A 操作系统 详细信息 等等等等 ,一般就是我就是 nmap -A 扫描方式(tcp,ack,udp) 端口范围
  1. root@Dis9Team:~# nmap 192.168.40.129 -A

  2. Starting Nmap 6.01 ( http://nmap.org ) at 2012-06-19 08:10 PDT
  3. Nmap scan report for 192.168.40.129
  4. Host is up (0.00033s latency).
  5. Not shown: 996 filtered ports
  6. PORT     STATE SERVICE       VERSION
  7. 23/tcp   open  telnet        Microsoft Windows XP telnetd
  8. 139/tcp  open  netbios-ssn
  9. 445/tcp  open  microsoft-ds  Microsoft Windows XP microsoft-ds
  10. 3389/tcp open  ms-wbt-server Microsoft Terminal Service
  11. MAC Address: 00:0C:29:EB:F8:94 (VMware)
  12. Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port
  13. Device type: general purpose
  14. Running: Microsoft Windows XP
  15. OS CPE: cpe:/o:microsoft:windows_xp::sp2
  16. OS details: Microsoft Windows XP SP2
  17. Network Distance: 1 hop
  18. Service Info: OSs: Windows XP, Windows; CPE: cpe:/o:microsoft:windows_xp, cpe:/o:microsoft:windows

  19. TRACEROUTE
  20. HOP RTT     ADDRESS
  21. 1   0.33 ms 192.168.40.129

  22. OS and Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
  23. Nmap done: 1 IP address (1 host up) scanned in 13.02 seconds
  24. root@Dis9Team:~#
复制代码
绕过防火墙和IDSIDS:http://baike.baidu.com/view/34066.htm
这个一般就是加个 -f ,现在防火墙和ISD基本都封死了nmap =.=指定网卡-e
  1. root@Dis9Team:~# nmap 192.168.40.129 -e eth0
复制代码
增加测试级别-vv -dd 嗯 无敌模式,需要配合其他参数,扫描方式
  1. root@Dis9Team:~# nmap 192.168.40.129 -vv -dd
复制代码
只显示开放的端口–open 例如:
  1. root@Dis9Team:~# nmap 192.168.40.129 -vv -dd --open
复制代码



操千曲而后晓声,观千剑而后识器。
发表于 2015-10-8 15:45:38 | 显示全部楼层
好,又学习了。。非常感谢。。

代码区

GMT+8, 2020-10-1 21:30

Powered by Discuz! X2

© 2001-2018 Comsenz Inc.

回顶部