Friday, August 10, 2018

Utilizing WMI to execute Windows commands remotely at Kali Linux

Usage:
/usr/share/doc/python-impacket/examples/wmiexec.py "USERNAME":"PASSWORD"@IPADDRESS "COMMAND"
Example:
/usr/share/doc/python-impacket/examples/wmiexec.py "administrator":"test123"@192.168.0.68 "netstat -anb"