From f5c8684876950648f23ec1f05281067cf97af6cf Mon Sep 17 00:00:00 2001 From: byt3bl33d3r Date: Fri, 11 Dec 2015 00:29:47 -0700 Subject: [PATCH] Fixed output for --gpp-passwords option in http/s server --- core/servers/mimikatz.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/servers/mimikatz.py b/core/servers/mimikatz.py index ef7c7222..fe94a9cb 100644 --- a/core/servers/mimikatz.py +++ b/core/servers/mimikatz.py @@ -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)