mirror of
https://github.com/lgandx/Responder.git
synced 2025-08-19 21:03:33 -07:00
Fixed duplicate entry in hash file for machine accounts
This commit is contained in:
parent
9cf3c72e3b
commit
4112b1cd5d
1 changed files with 2 additions and 1 deletions
|
@ -102,7 +102,7 @@ def WriteData(outfile,data, user):
|
||||||
outf.close()
|
outf.close()
|
||||||
if os.path.isfile(outfile) == True:
|
if os.path.isfile(outfile) == True:
|
||||||
with open(outfile,"r") as filestr:
|
with open(outfile,"r") as filestr:
|
||||||
if re.search(user, filestr.read()):
|
if re.search(user.encode('hex'), filestr.read().encode('hex')):
|
||||||
filestr.close()
|
filestr.close()
|
||||||
return None
|
return None
|
||||||
else:
|
else:
|
||||||
|
@ -1431,3 +1431,4 @@ if __name__ == '__main__':
|
||||||
raise
|
raise
|
||||||
raw_input()
|
raw_input()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue