Advertisement
metalx1000

NMAP to scan for Windows Share folders

Nov 17th, 2014
573
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.27 KB | None | 0 0
  1. nmap --script smb-enum-shares.nse -p445 <host>
  2. sudo nmap -sU -sS --script smb-enum-shares.nse -p U:137,T:139 <host>
  3.  
  4. #try user name and password
  5. sudo nmap -sU -sS --script smb-enum-shares.nse -p U:137,T:139 --script-args smbusername=<user>,smbpassword=<password> --open <host>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement