From e54b90aa7b36980b77c2198c0249648bdba06cba Mon Sep 17 00:00:00 2001 From: byt3bl33d3r Date: Wed, 2 Sep 2015 12:02:56 +0200 Subject: [PATCH] fixes #182, iptables rules weren't being set --- plugins/spoof.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/spoof.py b/plugins/spoof.py index 9d03718..0206bf7 100644 --- a/plugins/spoof.py +++ b/plugins/spoof.py @@ -70,7 +70,7 @@ class Spoof(Plugin): if options.dns: self.tree_info.append('DNS spoofing enabled') - if iptables().dns is False and options.filter is False: + if iptables().dns is False and options.filter is None: 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 and options.filter is False: + if iptables().http is False and options.filter is None: iptables().HTTP(options.listen_port) for protocol in self.protocol_instances: