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
10
DumpHash.py
10
DumpHash.py
|
@ -28,14 +28,20 @@ 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():
|
||||||
Output += '{0}'.format(row[0])+'\n'
|
if "$" in row[0]:
|
||||||
|
pass
|
||||||
|
else:
|
||||||
|
Output += '{0}'.format(row[0])+'\n'
|
||||||
return Output
|
return Output
|
||||||
|
|
||||||
def GetResponderCompleteNTLMv1Hash(cursor):
|
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():
|
||||||
Output += '{0}'.format(row[0])+'\n'
|
if "$" in row[0]:
|
||||||
|
pass
|
||||||
|
else:
|
||||||
|
Output += '{0}'.format(row[0])+'\n'
|
||||||
return Output
|
return Output
|
||||||
|
|
||||||
cursor = DbConnect()
|
cursor = DbConnect()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue