第5章 批量主机扫描 nmap、ncat
生活随笔
收集整理的這篇文章主要介紹了
第5章 批量主机扫描 nmap、ncat
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
第5章 批量主機掃描
批量主機服務掃描目的:1、批量主機存活掃描。2、針對主機服務掃描作用:1、能更方便快捷獲取網絡中主機的存活狀態。2、更加細致、智能獲取主機服務偵査情況。典型命令:nmap、ncatnmap命令的使用介紹
| 掃描類型? | 描述 | 特點 |
| ICMP協議類型(-P) | ping掃描 | 簡單、快速、有效 |
| TCP SYN 掃描(-sS) | TCP半開放掃描 | 1、高效 2、不易被檢測 3、通用 |
| TCP connect(掃描(-sT) | TCP全開放掃描 | 1、真實 2、結果可靠 |
| UDP掃描(-sU) | UDP協議掃描 | 有效透過防火墻策略 |
ncat工具使用
組合參數-W 設置的超時時間-z —個輸入輸出模式-ν 顯示命令執行過程方式一、基于tcp協議(默認)nc -v -z -w2 10.10.250.254 1-50方式二、基于udp協議-unc -v -u -z -w2 10.10.250.254 1-50[root@centos-6 ~]# nc -v -z -w2 10.0.1.10 1-100nc: connect to 10.0.1.10 port 1 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 2 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 3 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 4 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 5 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 6 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 7 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 8 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 9 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 10 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 11 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 12 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 13 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 14 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 15 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 16 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 17 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 18 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 19 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 20 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 21 (tcp) failed: Connection refusedConnection to 10.0.1.10 22 port [tcp/ssh] succeeded!nc: connect to 10.0.1.10 port 23 (tcp) failed: Connection refusednc: connect to 10.0.1.10 port 24 (tcp) failed: Connection refused[root@centos-6 ~]# nc -u -v -z -w2 10.0.1.10 1-100內核限制,單位時間不可達的數量總結
以上是生活随笔為你收集整理的第5章 批量主机扫描 nmap、ncat的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 开篇词 | 别说你没被安全困扰过
- 下一篇: 第2章 fping、hping应用