lefayjey / linWinPwn

linWinPwn is a bash script that streamlines the use of a number of Active Directory tools
MIT License
1.81k stars 265 forks source link

dc-host #23

Closed sec13b closed 6 months ago

sec13b commented 6 months ago

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

image

image

sec13b commented 6 months ago

image bad luck

lefayjey commented 6 months ago

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

sec13b commented 6 months ago

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

lefayjey commented 6 months ago

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

protrading104 commented 6 months ago

image

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

sec13b commented 6 months ago

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

lefayjey commented 6 months ago

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