mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-14 09:03:49 -07:00
removed unused variable
This commit is contained in:
parent
95645e3700
commit
b16becd65f
1 changed files with 1 additions and 2 deletions
|
@ -12,7 +12,6 @@ class ArpSpoof(Plugin):
|
||||||
desc = 'Redirect traffic using arp-spoofing'
|
desc = 'Redirect traffic using arp-spoofing'
|
||||||
implements = []
|
implements = []
|
||||||
has_opts = True
|
has_opts = True
|
||||||
log_level = logging.DEBUG
|
|
||||||
|
|
||||||
def initialize(self,options):
|
def initialize(self,options):
|
||||||
'''Called if plugin is enabled, passed the options namespace'''
|
'''Called if plugin is enabled, passed the options namespace'''
|
||||||
|
@ -33,7 +32,7 @@ class ArpSpoof(Plugin):
|
||||||
if self.interface == None or self.routerip == None:
|
if self.interface == None or self.routerip == None:
|
||||||
sys.exit("[-] %s plugin requires --routerip and --interface" % self.name)
|
sys.exit("[-] %s plugin requires --routerip and --interface" % self.name)
|
||||||
|
|
||||||
print "[*] %s plugin online" % name
|
print "[*] %s plugin online" % self.name
|
||||||
if self.setup == True:
|
if self.setup == True:
|
||||||
print '[*] Setting up ip_forward and iptables'
|
print '[*] Setting up ip_forward and iptables'
|
||||||
file = open('/proc/sys/net/ipv4/ip_forward', 'w')
|
file = open('/proc/sys/net/ipv4/ip_forward', 'w')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue