mirror of
https://github.com/lgandx/Responder.git
synced 2025-08-20 13:23:38 -07:00
Merge branch 'lgandx:master' into smbv1ScanWorkAgain
This commit is contained in:
commit
3aaaaf1c7f
1 changed files with 8 additions and 2 deletions
|
@ -28,6 +28,9 @@ def GetResponderCompleteNTLMv2Hash(cursor):
|
||||||
res = cursor.execute("SELECT fullhash FROM Responder WHERE type LIKE '%v2%' AND UPPER(user) in (SELECT DISTINCT UPPER(user) FROM Responder)")
|
res = cursor.execute("SELECT fullhash FROM Responder WHERE type LIKE '%v2%' AND UPPER(user) in (SELECT DISTINCT UPPER(user) FROM Responder)")
|
||||||
Output = ""
|
Output = ""
|
||||||
for row in res.fetchall():
|
for row in res.fetchall():
|
||||||
|
if "$" in row[0]:
|
||||||
|
pass
|
||||||
|
else:
|
||||||
Output += '{0}'.format(row[0])+'\n'
|
Output += '{0}'.format(row[0])+'\n'
|
||||||
return Output
|
return Output
|
||||||
|
|
||||||
|
@ -35,6 +38,9 @@ def GetResponderCompleteNTLMv1Hash(cursor):
|
||||||
res = cursor.execute("SELECT fullhash FROM Responder WHERE type LIKE '%v1%' AND UPPER(user) in (SELECT DISTINCT UPPER(user) FROM Responder)")
|
res = cursor.execute("SELECT fullhash FROM Responder WHERE type LIKE '%v1%' AND UPPER(user) in (SELECT DISTINCT UPPER(user) FROM Responder)")
|
||||||
Output = ""
|
Output = ""
|
||||||
for row in res.fetchall():
|
for row in res.fetchall():
|
||||||
|
if "$" in row[0]:
|
||||||
|
pass
|
||||||
|
else:
|
||||||
Output += '{0}'.format(row[0])+'\n'
|
Output += '{0}'.format(row[0])+'\n'
|
||||||
return Output
|
return Output
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue