Skip to content

Commit 2922c04

Browse files
committed
fix: corrected bad variable name
1 parent f3e60e5 commit 2922c04

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

nxc/protocols/ldap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ def asreproast(self):
981981
hash_asreproast.write(f"{hash_TGT}\n")
982982

983983
def kerberoasting(self):
984-
if self.args.no_preauth_user:
984+
if self.args.no_preauth:
985985
if not self.args.username:
986986
self.logger.fail("Use -u/--username to supply a list of usernames or SPNs (file or comma-separated list)")
987987
return
@@ -1005,7 +1005,7 @@ def kerberoasting(self):
10051005
continue
10061006

10071007
hashline = KerberosAttacks(self).get_tgs_no_preauth(
1008-
self.args.no_preauth_user,
1008+
self.args.no_preauth,
10091009
spn
10101010
)
10111011
if hashline:

0 commit comments

Comments
 (0)