Service Enumeration
SMB Scanning Tools
smbclient -L //TARGET_IP
# Lists SMB shares on the target.
smbclient //TARGET_IP/share
# Connects to a specific SMB share.
smbclient -U username //TARGET_IP/share
# Connects with a specific username.
smbclient //TARGET_IP/share -I TARGET_IP
# Connects when NetBIOS names won’t resolve.
smbclient //TARGET_IP/share -c 'ls'
# Lists contents of a share.
smbclient -N -L //TARGET_IP:
# Lists SMB shares on the target without asking for a password (-N flag).
smbclient //TARGET_IP/IPC$ -U username%password:
# Connects to the IPC$ share with specified username and password.
smbclient //TARGET_IP/share -c 'recurse; ls':
# Recursively lists the contents of a share.
smbclient //TARGET_IP/share -Tc backup.tar:
# Creates a tarball of the share's contents.
smbclient -g -L //TARGET_IP:
# Lists shares in a grep-able format.SNMP Scanning Tools
DNS Scanning Tools
SMTP Service Scanning
Database Service Scanning
LDAP Service Scanning
Kerberos Service Scanning
Last updated