Skip to content

Commit 63f2d69

Browse files
authored
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>
1 parent c838956 commit 63f2d69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/protocols/ldap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1418,8 +1418,8 @@ def bloodhound(self):
14181418
self.logger.highlight("Using kerberos auth without ccache, getting TGT")
14191419
auth.get_tgt()
14201420
if self.args.use_kcache:
1421-
auth.load_ccache()
14221421
self.logger.highlight("Using kerberos auth from ccache")
1422+
auth.load_ccache()
14231423

14241424
timestamp = datetime.now().strftime("%Y-%m-%d_%H%M%S") + "_"
14251425
bloodhound = BloodHound(ad, self.hostname, self.host, self.port)

0 commit comments

Comments
 (0)