nmap vpn

Title:  scan host with vpn
Author: Nixawk

Only ethernet devices can be used for raw scans on Windows, and "ppp0" is not an ethernet device. Use the --unprivileged option for this scan. QUITTING! 
====================================================
Platform:
    windows 7

Methods:
    nmap -iflist
    nmap -v -e ppp0 -n -T4 -Pn --unprivileged x.x.x.x    # ppp0 is your interface.
====================================================
References:
http://seclists.org/nmap-dev/2009/q3/617

  • 扫描指定IP所开放的端口:nmap -sS -p 1-65535 -v XXX.XXX.XXX.XXX
  • 扫描C段存活主机:nmap -sP XXX.XXX.XXX.XXX/24
  • 指定端口扫描:nmap -p 80,1433,22,1521 XXX.XXX.XXX.XXX
  • 探测主机操作系统:nmap -o XXX.XXX.XXX.XXX
  • 全面的系统探测:nmap -v -A XXX.XXX.XXX.XXX(Nmap默认扫描主机1000个高危端口)
  • 探测指定网段:nmap XXX.XXX.XXX.XXX-XXX
  • 穿透防火墙进行扫描:nmap -Pn -A XXX.XXX.XXX.XXX(XXX.XXX.XXX.XXX禁止用ping的)
  • 使用脚本,扫描Web敏感目录:nmap -p 80 –script=http-enum.nse XXX.XXX.XXX.XXX

Leave a Reply

Your email address will not be published. Required fields are marked *