mirror of
https://github.com/lgandx/Responder.git
synced 2025-07-15 01:22:52 -07:00
allow to blacklist users
This commit is contained in:
parent
a256355468
commit
4e70e95a8e
1 changed files with 4 additions and 1 deletions
|
@ -130,7 +130,10 @@ def ParseHTTPHash(data, key, client, UserToRelay, Host, Pivoting):
|
||||||
else:
|
else:
|
||||||
print "[+] Received NTLMv1 hash from: %s %s"%(client, ShowSmallResults((client,445)))
|
print "[+] Received NTLMv1 hash from: %s %s"%(client, ShowSmallResults((client,445)))
|
||||||
|
|
||||||
if User in UserToRelay or "ALL" in UserToRelay:
|
if ('!' + User) in UserToRelay:
|
||||||
|
print "[+] Username: %s is blacklisted, dropping connection." % User
|
||||||
|
return None, None
|
||||||
|
elif User in UserToRelay or "ALL" in UserToRelay:
|
||||||
if Pivoting[0] == "1":
|
if Pivoting[0] == "1":
|
||||||
return User, Domain
|
return User, Domain
|
||||||
print "[+] Username: %s is whitelisted, forwarding credentials."%(User)
|
print "[+] Username: %s is whitelisted, forwarding credentials."%(User)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue