Skip to content

Samba

Samba username and password authentication and shares enumeration.

Name Description
smb Authentication wordlist attack / bruteforcing.
smb.shares Shares enumeration.

Examples

Password authentication wordlist attack:

legba smb \
    --target share.company.com \
    --username admin \
    --password data/passwords.txt

Enumerate SMB shares using the default names:

legba smb.shares --target share.company.com

Enumerate SMB shares using a custom wordlist:

legba smb.shares --target share.company.com --payloads wordlist.txt