ShutdownRepo / pywhisker

Python version of the C# tool for "Shadow Credentials" attacks
GNU General Public License v3.0
603 stars 74 forks source link

return hostname + FQDN when using -dc-ip #4

Closed mitchmoser closed 2 years ago

mitchmoser commented 2 years ago

Experiencing similar issues as outlined in #2 and #3 In my case, using -dc-ip with -k was causing an error due to the DC hostname not containing the FQDN to match my kerberos ticket. Followed Impacket implementations of similar get_machine_name() methods to return the hostname with the FQDN:

ShutdownRepo commented 2 years ago

Awesome, merging... Thank you for this contribution!! Closing #2 as well