mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-14 00:53:58 -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'
|
||||
implements = []
|
||||
has_opts = True
|
||||
log_level = logging.DEBUG
|
||||
|
||||
def initialize(self,options):
|
||||
'''Called if plugin is enabled, passed the options namespace'''
|
||||
|
@ -33,7 +32,7 @@ class ArpSpoof(Plugin):
|
|||
if self.interface == None or self.routerip == None:
|
||||
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:
|
||||
print '[*] Setting up ip_forward and iptables'
|
||||
file = open('/proc/sys/net/ipv4/ip_forward', 'w')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue