mirror of
https://github.com/lgandx/Responder.git
synced 2025-12-10 09:49:06 +00:00
Fixed potential disruption on Proxy-Auth
This commit is contained in:
@@ -69,9 +69,10 @@ def PacketSequence(data, client, Challenge):
|
|||||||
GrabUserAgent(data)
|
GrabUserAgent(data)
|
||||||
GrabCookie(data)
|
GrabCookie(data)
|
||||||
GrabHost(data)
|
GrabHost(data)
|
||||||
Buffer = IIS_Auth_Granted(Payload=settings.Config.HtmlToInject) #While at it, grab some SMB hashes...
|
#Buffer = IIS_Auth_Granted(Payload=settings.Config.HtmlToInject) #While at it, grab some SMB hashes...
|
||||||
Buffer.calculate()
|
#Buffer.calculate()
|
||||||
return Buffer
|
#Return a TCP RST, so the client uses direct connection and avoids disruption.
|
||||||
|
return RST
|
||||||
else:
|
else:
|
||||||
return IIS_Auth_Granted(Payload=settings.Config.HtmlToInject)# Didn't work? no worry, let's grab hashes via SMB...
|
return IIS_Auth_Granted(Payload=settings.Config.HtmlToInject)# Didn't work? no worry, let's grab hashes via SMB...
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user