Skip to content

Latest commit

 

History

History

Impacket

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Impacket Tools

Impacket SMBServer

$sudo python3 impacket-smbserver -u <username> -p <password> <name of share> <location of share>
$sudo python3 impacket-smbserver -smb2support -u <username> -p <password> <name of share> <location of share>
$sudo impacket-smbserver -smb2support <name of share> `pwd`
$sudo python3 smbserver.py -smb2support files $(pwd) -username test -password test

Sample Usage: $python3 impacket-smbserver -u myusername -p secretpassword myshare $(pwd)
Tip: use $(pwd) for the current working  directory

PSExec

$python3 psexec.py username@<ip address>
Sample Usage: $python3 psexec.py Administrator@10.10.10.10 (enter password when prompted)

MSSQLClient

$python3 mssqlclient.py -port 1433 -db volume -windows-auth <username>@<ip address>

WMIExec

$python3 wmiexec.py <username@hostname>
$python3 wmiexec.py <username:password@hostname>

LookupSID

$python3 lookupsid.py <domain/username@hostname>
$python3 lookupsid.py <domain/username:password@hostname>

SecretsDumping

python3 secretsdump.py -just-dc-ntlm <domain>/<username>@10.10.236.46 (when prompted enter password)