nmap的使用

  1. 一臺主機有哪些開啓了
    nmap <target_ip>
    nmap的使用
  2. 指定探測主機的指定端口是否開放
    -p
    nmap -p <port1>,<port2> <target_ip>

nmap的使用

  1. 掃描主機的操作系統和端口開發情況
    -O: Enable OS detection
    nmap -O <target_ip>
    nmap的使用

  2. 掃描主機ping是存活 (-P 代表的是ping的意思)
    -sP 是使用ICMP協議發送echo請求數據包
    nmap -sP <target_ip>
    nmap -sP <network address> </CIDR>

  3. 常組合參數
    -v 詳細信息
    -n 不dns反向解析

  4. 常用命令掃描
    -sV: Probe open ports to determine service/version info
    -Pn: Treat all hosts as online -- skip host discovery

nmap -sV -Pn -p1-65535 <target_ip> -v -n
nmap -sV -Pn -p1-65535 192.168.203.0/24 -n -v

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章