Created
October 8, 2018 17:20
-
-
Save colehocking/823d80e7fbd934d199db40dba9388485 to your computer and use it in GitHub Desktop.
Grab smb Nmap vulns with NSE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| TARGET="$1" | |
| nmap -n -sV -Pn -pT:138,U:137 --script=smb-enum-shares,smb-enum-domains,smb-enum-domains,smb-os-discovery,smb-vuln* ${TARGET} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment