lefayjey/linWinPwn

dc-host

sec13b opened this issue · 7 comments

bash linWinPwn.sh -t 10.70.8.100 -u user -p 'passwd123' --auto

image

image

image
bad luck

Hey!
You're using an older version of impacket that doesn't have the parameter -dc-host. Try again after updating impacket
Thanks

i dont know what impacket run ...., impacket from kali , impacket from python , but i dont think this run the impacket from netexec download

In the screenshot, the impacket version is v.0.9.24. The latest is v.0.11.0 (https://github.com/fortra/impacket)

image

I get a similar error with version 11 of impacket. any ideas why ?

i think the dc-host need be dc.github.local , simple dc dont work.

The parameter is present on their latest GitHub repo https://github.com/fortra/impacket/blob/master/examples/GetUserSPNs.py#L526

Try installing using pip3 install git+https://github.com/fortra/impacket or
pipx install git+https://github.com/fortra/impacket