mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-14 00:53:58 -07:00
This commit adds active packet filtering/modification to the framework (replicates etterfilter functionality)
by using netfilterqueue, you can pass a filter using the new -F option, (will be adding an example later) additionaly removed some deprecated attributes and the --manual-iptables option
This commit is contained in:
parent
0add358a57
commit
7ec9f7b395
17 changed files with 99 additions and 53 deletions
|
@ -50,6 +50,7 @@ class URLMonitor:
|
|||
self.faviconReplacement = False
|
||||
self.hsts = False
|
||||
self.app = False
|
||||
self.caching = False
|
||||
|
||||
@staticmethod
|
||||
def getInstance():
|
||||
|
@ -75,6 +76,9 @@ class URLMonitor:
|
|||
else:
|
||||
return 443
|
||||
|
||||
def setCaching(self, value):
|
||||
self.caching = value
|
||||
|
||||
def addRedirection(self, from_url, to_url):
|
||||
for s in self.redirects:
|
||||
if from_url in s:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue