SMB 139, 445

SAMBA

Help to list commands in smbclient

Enumeration

Auto enum: enum4linux {ip}

Connect to share

smbclient //{ip}/home

Operations

smbclient -U alice --password=aliceishere //127.0.0.1/Users -p 7799

list:
smbclient -L //10.11.1.31
smbclient //10.11.1.31/wwwroot 

**windows use \\
smbclient -U 'hutch.offsec\fmcsorley' \\\\192.168.222.122\\SYSVOL

list:
crackmapexec smb 192.168.222.122 -u fmcsorley -p CrabSharkJellyfish192 --shares

Version

tap0 tun0 interface depends on ip a current lab connection

Last updated