mirror of
https://github.com/lgandx/Responder.git
synced 2025-07-05 20:41:22 -07:00
Determine already captured hash by username and client IP address
This commit is contained in:
parent
59337ab87d
commit
b96df7a5e8
1 changed files with 1 additions and 1 deletions
2
utils.py
2
utils.py
|
@ -148,7 +148,7 @@ def SaveToDb(result):
|
|||
|
||||
cursor = sqlite3.connect(settings.Config.DatabaseFile)
|
||||
cursor.text_factory = sqlite3.Binary # We add a text factory to support different charsets
|
||||
res = cursor.execute("SELECT COUNT(*) AS count FROM responder WHERE module=? AND type=? AND LOWER(user)=LOWER(?)", (result['module'], result['type'], result['user']))
|
||||
res = cursor.execute("SELECT COUNT(*) AS count FROM responder WHERE module=? AND type=? AND client=? AND LOWER(user)=LOWER(?)", (result['module'], result['type'], result['client'], result['user']))
|
||||
(count,) = res.fetchone()
|
||||
|
||||
if not count:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue