Skip to content

Instantly share code, notes, and snippets.

@caiqiqi
Created July 1, 2017 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caiqiqi/de53e81a1f4184aa875e0c0d0f7792c4 to your computer and use it in GitHub Desktop.
Save caiqiqi/de53e81a1f4184aa875e0c0d0f7792c4 to your computer and use it in GitHub Desktop.
扫描内网中的ntp服务器
nmap -sU -pU:123 -Pn -n 202.202.32.0/20 > ntp_server.txt
# -sU Udp scan(sU)
# -pU:123 -p是指定端口,-pU是指定UDP端口,-pU:123是指定UDP123端口
# -Pn 如果远程主机有防火墙,IDS和IPS系统,你可以使用-Pn命令来确保不ping远程主机,因为有时候防火墙会组织掉ping请求.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment