From ffdb4ff55ca8341103e0a9f13b0548cf3621f50f Mon Sep 17 00:00:00 2001 From: byt3bl33d3r Date: Fri, 5 Jun 2015 21:06:20 +0200 Subject: [PATCH] fixed DHCP and ICMP spoofing calling wrong vars --- plugins/Spoof.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Spoof.py b/plugins/Spoof.py index 24b4f78..b35b2ef 100644 --- a/plugins/Spoof.py +++ b/plugins/Spoof.py @@ -77,7 +77,7 @@ class Spoof(Plugin): if not options.targets: shutdown("[-] --icmp argument requires --targets") - icmp = ICMPpoisoner(options.interface, options.targets, options.gateway, options.ip_address) + icmp = ICMPpoisoner(options.interface, options.targets, options.gateway, self.myip) icmp.debug = debug self.protocolInstances.append(icmp) @@ -87,7 +87,7 @@ class Spoof(Plugin): if options.targets: shutdown("[-] --targets argument invalid when DCHP spoofing") - dhcp = DHCPServer(options.interface, self.dhcpcfg, options.ip_address, options.mac_address) + dhcp = DHCPServer(options.interface, self.dhcpcfg, self.myip, self.mymac) dhcp.shellshock = options.shellshock dhcp.debug = debug self.protocolInstances.append(dhcp)