mirror of
https://github.com/Pennyw0rth/NetExec
synced 2026-06-06 16:34:30 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user