Skip to content

Commit

Permalink
also fix nt hash extraction from password in addspn.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkjanm committed Dec 21, 2023
1 parent c8e8936 commit 4eb9c4f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions addspn.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
####################
#
# Copyright (c) 2019 Dirk-jan Mollema (@_dirkjan)
# Copyright (c) 2023 Dirk-jan Mollema (@_dirkjan)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand All @@ -27,7 +27,6 @@
####################
import sys
import argparse
import ldapdomaindump
import random
import string
import getpass
Expand Down Expand Up @@ -96,7 +95,7 @@ def main():
TGS = None
try:
# Hashes
lmhash, nthash = password.split(':')
lmhash, nthash = args.password.split(':')
assert len(nthash) == 32
password = ''
except:
Expand Down

0 comments on commit 4eb9c4f

Please sign in to comment.