mirror of
https://github.com/lgandx/Responder.git
synced 2025-12-30 19:39:08 +00:00
Merge pull request #85 from mdeous/multirelay-exclude-user
[MultiRelay] allow to blacklist users
This commit is contained in:
@@ -130,7 +130,10 @@ def ParseHTTPHash(data, key, client, UserToRelay, Host, Pivoting):
|
||||
else:
|
||||
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":
|
||||
return User, Domain
|
||||
print "[+] Username: %s is whitelisted, forwarding credentials."%(User)
|
||||
|
||||
Reference in New Issue
Block a user