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:
byt3bl33d3r 2015-09-01 14:15:21 +02:00
parent 28fc081068
commit 986b2b851f
9 changed files with 179 additions and 160 deletions

View file

@ -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: