1.發現開放smb協議的windows系統,  --script=smb-os-discovery.nse
nmap --script smb-os-discovery -p 445 192.168.1.1/24 


OS: Windows 10 Home China 10586 (Windows 10 Home China 6.3)
2.掃描windows系統smb協議是否有漏洞
由於從NMAP 6.49beta6開始,smb-check-vulns.nse指令碼被取消了。它被分為smb-vuln-conficker、•smb-vuln-cve2009-3103、smb-vuln-ms06-025、smb-vuln-ms07-029、smb-vuln-regsvc-dos、smb-vuln-ms08-067這六個指令碼。使用者根據需要選擇對應的指令碼。如果不確定執行哪一個,可以使用smb-vuln-*.nse來指定所有的指令碼檔案,進行全掃描。




Sudo nmap –sS xx.xxx.xx.xx | grep open | cat >>results.txt
## to list all lines include "open"



In this video we will identify computers affected by the MS17-010 vulnerability. 
We will use the NMAP utility for scanning.
 ====================================================== 
Scanning with NMAP command example: nmap -v -p445 --script smb-vuln-ms17-010 192.168.254.0/24
 ======================================================

留言

此網誌的熱門文章

GIMP磨皮小试-圖層,高斯模糊

Gamma校正

Tmux 用法