Update ldap.py

swapped the execution&logging lines. For if there is an error on auth file

Signed-off-by: termanix <50464194+termanix@users.noreply.github.com>
This commit is contained in:
termanix
2024-07-02 17:23:07 +03:00
committed by GitHub
parent c83895697f
commit 63f2d6943d
+1 -1
View File
@@ -1418,8 +1418,8 @@ class ldap(connection):
self.logger.highlight("Using kerberos auth without ccache, getting TGT")
auth.get_tgt()
if self.args.use_kcache:
auth.load_ccache()
self.logger.highlight("Using kerberos auth from ccache")
auth.load_ccache()
timestamp = datetime.now().strftime("%Y-%m-%d_%H%M%S") + "_"
bloodhound = BloodHound(ad, self.hostname, self.host, self.port)