From 2d9adf4540d6c2a93ea8b44dcbf6fa1459eb9060 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 9 Oct 2014 18:23:00 +0800 Subject: [PATCH] --cmd does not work,it has a bug,fix it --- plugins/Spoof.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Spoof.py b/plugins/Spoof.py index 7df19ac..7660fee 100644 --- a/plugins/Spoof.py +++ b/plugins/Spoof.py @@ -39,7 +39,7 @@ class Spoof(Plugin): self.dhcp = options.dhcp self.dhcpcfg = "./config_files/dhcp.cfg" or options.dhcpcfg self.shellshock = options.shellshock - self.cmd = "echo 'pwned'" or options.cmd + self.cmd = options.cmd if options.cmd else "echo 'pwned'" self.gateway = options.gateway #self.summary = options.summary self.target = options.target