mirror of
https://github.com/lgandx/Responder.git
synced 2025-08-13 18:17:11 -07:00
Fixed potential disruption on Proxy-Auth
This commit is contained in:
parent
fe58475c63
commit
c51251db5f
1 changed files with 4 additions and 3 deletions
|
@ -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...
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue