mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-14 00:53:58 -07:00
fixed error when loading the css of some websites when using the bypass-hsts option, added some better error handling on plugins
This commit is contained in:
parent
1c3e0554fd
commit
e2132a6ca9
6 changed files with 42 additions and 20 deletions
|
@ -100,6 +100,9 @@ class ServerConnection(HTTPClient):
|
|||
if (value.find('gzip') != -1):
|
||||
logging.debug("Response is compressed...")
|
||||
self.isCompressed = True
|
||||
if (key.lower() == 'strict-transport-security'):
|
||||
value = 'max-age=0'
|
||||
|
||||
elif (key.lower() == 'content-length'):
|
||||
self.contentLength = value
|
||||
elif (key.lower() == 'set-cookie'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue