smbclient-ng

Awesome tool to interact with SMB shares

Connect to a machine via SMB

smbclient-ng -d north.sevenkingdoms.local -u samwell.tarly -p Heartsbane --host winterfell

Connect with Kerberos

smbclientng --kdcHost=dc.domain.com -d dc.domain.com -u user-you-have-ccache-for --host victim.domain.com -k --no-pass

List shares

shares

Connect to a share

use sysvol

Use ls plus tab completion

Tail the contents of a file

tail somefile.txt

Remove a file

rm ScheduledTasks.xml