Skip to content

Commit 6bfe539

Browse files
authored
Update rbcd.py (#1738)
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.
1 parent 3997a5b commit 6bfe539

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/rbcd.py

+2
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,8 @@ def parse_identity(args):
459459

460460
if args.hashes is not None:
461461
lmhash, nthash = args.hashes.split(':')
462+
if lmhash == '':
463+
lmhash = 'aad3b435b51404eeaad3b435b51404ee'
462464
else:
463465
lmhash = ''
464466
nthash = ''

0 commit comments

Comments
 (0)