ShutdownRepo / pywhisker

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

Fixed Kerberos authentication error. #3

Closed TahiTi closed 2 years ago

TahiTi commented 2 years ago

Fixed a problem where when using Kerberos authentication, KDC machine name was being used to create the ldap binding, but not its ip address. If name resolution was not configured, ldap binding would not work, as the dns resolution could not be done.

Now the script checks if the -dc-ip option is configured, it uses the -dc-ip value to perform the ldap binding.