Skip to content

Instantly share code, notes, and snippets.

@0xdreadnaught
Last active February 19, 2020 16:34
Show Gist options
  • Select an option

  • Save 0xdreadnaught/ea99662ab1901be1d9aae6ecef71844e to your computer and use it in GitHub Desktop.

Select an option

Save 0xdreadnaught/ea99662ab1901be1d9aae6ecef71844e to your computer and use it in GitHub Desktop.
SMB Enumeration
Command Question
enum4linux <target-ip> Any share, user, domain info?
enum4linux -a <target-ip> Any share, user, domain info?, Password policy?
smbmap -H <target-ip> Any share info?, What are the permissions?
smbmap -H <target-ip> -R Able to list files?, Any files of interest?
smbmap -H <target-ip> -d <domain> -u <username> -p <passwqord> Any new rights?
smbmap -H <target-ip> -R -d <domain> -u <username> -p <password> Any new files?
smbclient -L //<target-ip> Any share, user, domain info?
nmap --script smb-enum-shares -p 139,445 <target-ip> Any share info?
nmap --script *smb*vuln* <target-ip> Any positive vuln results?
nmblookup -A <target-ip> Hostname returned?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment