mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-08 05:51:48 -07:00
Fixed bug where Net-Creds wouldn't parse URL's and HTTP data when reading from pcap
Active packet filtering engine and proxy + servers are now mutually exclusive , you can only start one of them (iptable conflicts)
This commit is contained in:
parent
28fc081068
commit
986b2b851f
9 changed files with 179 additions and 160 deletions
|
@ -70,7 +70,7 @@ class Spoof(Plugin):
|
|||
|
||||
if options.dns:
|
||||
self.tree_info.append('DNS spoofing enabled')
|
||||
if iptables().dns is False:
|
||||
if iptables().dns is False and options.filter is False:
|
||||
iptables().DNS(self.config['MITMf']['DNS']['port'])
|
||||
|
||||
if not options.arp and not options.icmp and not options.dhcp and not options.dns:
|
||||
|
@ -78,7 +78,7 @@ class Spoof(Plugin):
|
|||
|
||||
set_ip_forwarding(1)
|
||||
|
||||
if iptables().http is False:
|
||||
if iptables().http is False and options.filter is False:
|
||||
iptables().HTTP(options.listen_port)
|
||||
|
||||
for protocol in self.protocol_instances:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue