mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-08-14 02:37:06 -07:00
fixes #182, iptables rules weren't being set
This commit is contained in:
parent
54c27ddade
commit
e54b90aa7b
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue