SMB Protocol

Install

git clone https://github.com/SecureAuthCorp/impacket.git
cd impacket
sudo pip install -r requirements.txt
sudo python3 setup.py install

SMB Server

$ locate whoami.exe
/usr/share/windows-resources/binaries/whoami.exe

$ smbserver.py a /usr/share/windows-binaries/

SMB Client

$ \\<ip_server>\a\whoami.exe

Last updated