NetExec
SSH
./nxc ssh targets.txt -u james -p password123
./nxc ssh targets.txt -u balthazar -p 'password123'
./nxc ssh targets.txt -u root -p asdfghjkl./nxc ssh 172.16.1.0/24 -u james -p password123WINRM
./nxc winrm targets.txt -u balthazar -p 'abc123!!!'
# domain authentication
./nxc winrm targets.txt -u 'HTB.local\balthazar' -p 'abc123!!!'
./nxc winrm targets.txt -u 'HTB.local\james' -p password123./nxc winrm targets.txt -d HTB.local -u blake -H 12f18eteb6f8187fa52f3f729896bbb7
./nxc winrm targets.txt -u Administrator -H b99ed3c3d34c4576bcd33c76420be934./nxc winrm 172.16.1.101 -u dan.hard -p 172.16.1.101/passwordlist.txt SMB
MSSQL
Put file
LDAP
Execution of Commands
mmcexec Execution
atexec Scheduled task execution
smbexec command execution
wmiexec command execution
Last updated