mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-07 13:32:18 -07:00
made rpc pass configurable
This commit is contained in:
parent
bf4506a98a
commit
5a5a3e36ec
3 changed files with 9 additions and 4 deletions
|
@ -56,6 +56,9 @@ class ClientRequest(Request):
|
|||
if 'accept-encoding' in headers:
|
||||
headers['accept-encoding'] == 'identity'
|
||||
|
||||
if 'Strict-Transport-Security' in headers: #kill new hsts requests
|
||||
del headers['Strict-Transport-Security']
|
||||
|
||||
if 'if-modified-since' in headers:
|
||||
del headers['if-modified-since']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue