mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-08 05:51:48 -07:00
fixed DHCP and ICMP spoofing calling wrong vars
This commit is contained in:
parent
b0fa2e010d
commit
ffdb4ff55c
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue