Fixed output for --gpp-passwords option in http/s server

main
byt3bl33d3r 2015-12-11 00:29:47 -07:00
parent 3574bbe832
commit f5c8684876
1 changed files with 6 additions and 0 deletions

View File

@ -89,6 +89,12 @@ class MimikatzServer(BaseHTTPRequestHandler):
for line in buf:
print_att(line.strip())
elif settings.args.gpp_passwords and data:
print_succ('{} Get-GPPPasswords output:'.format(self.client_address[0]))
buf = StringIO(data.strip()).readlines()
for line in buf:
print_att(line.strip())
def http_server(port):
http_server = BaseHTTPServer.HTTPServer(('0.0.0.0', port), MimikatzServer)
t = Thread(name='http_server', target=http_server.serve_forever)