From 2e86c0b663cd3ee6715c8e0a3e938db349ba29dd Mon Sep 17 00:00:00 2001 From: byt3bl33d3r Date: Thu, 9 Oct 2014 20:00:13 +0200 Subject: [PATCH] fixed --cmd argument --- plugins/Spoof.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/Spoof.py b/plugins/Spoof.py index 7df19ac..69284b8 100644 --- a/plugins/Spoof.py +++ b/plugins/Spoof.py @@ -35,11 +35,11 @@ class Spoof(Plugin): self.arp = options.arp self.icmp = options.icmp self.dns = options.dns - self.dnscfg = "./config_files/dns.cfg" or options.dnscfg + self.dnscfg = options.dnscfg or "./config_files/dns.cfg" self.dhcp = options.dhcp - self.dhcpcfg = "./config_files/dhcp.cfg" or options.dhcpcfg + self.dhcpcfg = options.dhcpcfg or "./config_files/dhcp.cfg" self.shellshock = options.shellshock - self.cmd = "echo 'pwned'" or options.cmd + self.cmd = options.cmd or "echo 'pwned'" self.gateway = options.gateway #self.summary = options.summary self.target = options.target