mirror of
https://github.com/lgandx/Responder.git
synced 2025-07-10 15:22:45 -07:00
Some fixes
This commit is contained in:
parent
38969832ce
commit
8923016cbc
2 changed files with 32 additions and 12 deletions
|
@ -68,7 +68,7 @@ def InjectData(data, client, req_uri):
|
|||
Headers = Headers.replace("Content-Length: "+Len, "Content-Length: "+ str(len(Content)))
|
||||
|
||||
if "content-encoding: gzip" in Headers.lower():
|
||||
Content = zlib.compress(lContent)
|
||||
Content = zlib.compress(Content)
|
||||
|
||||
data = Headers +'\r\n'+ Content
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue