Skip to content

Instantly share code, notes, and snippets.

@colehocking
Created October 8, 2018 17:20
Show Gist options
  • Select an option

  • Save colehocking/823d80e7fbd934d199db40dba9388485 to your computer and use it in GitHub Desktop.

Select an option

Save colehocking/823d80e7fbd934d199db40dba9388485 to your computer and use it in GitHub Desktop.
Grab smb Nmap vulns with NSE
#!/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