Skip to content

Commit

Permalink
Update rbcd.py (#1738)
Browse files Browse the repository at this point in the history
Identified that rbcd failed with a "constrained violation" error when only using the NT hash. The solution was including the LM hash too, despite the fact that it was "blank". 
Added a line that'll set the LM hash to "aad3b435b51404eeaad3b435b51404ee" if one isn't provided.
  • Loading branch information
5yn authored May 3, 2024
1 parent 3997a5b commit 6bfe539
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/rbcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,8 @@ def parse_identity(args):

if args.hashes is not None:
lmhash, nthash = args.hashes.split(':')
if lmhash == '':
lmhash = 'aad3b435b51404eeaad3b435b51404ee'
else:
lmhash = ''
nthash = ''
Expand Down

0 comments on commit 6bfe539

Please sign in to comment.