From f1228174cd053ec1ed59ac79c326e0bec2af8874 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 16 Aug 2019 08:58:26 -0500 Subject: [PATCH] Update winrm.py Closes https://github.com/byt3bl33d3r/CrackMapExec/issues/310 --- cme/protocols/winrm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cme/protocols/winrm.py b/cme/protocols/winrm.py index 18da4b8c..d1ff8d22 100644 --- a/cme/protocols/winrm.py +++ b/cme/protocols/winrm.py @@ -24,6 +24,7 @@ class winrm(connection): @staticmethod def proto_args(parser, std_parser, module_parser): winrm_parser = parser.add_parser('winrm', help="own stuff using WINRM", parents=[std_parser, module_parser]) + winrm_parser.add_argument("-H", '--hash', metavar="HASH", dest='hash', nargs='+', default=[], help='NTLM hash(es) or file(s) containing NTLM hashes') dgroup = winrm_parser.add_mutually_exclusive_group() dgroup.add_argument("-d", metavar="DOMAIN", dest='domain', type=str, default=None, help="domain to authenticate to") dgroup.add_argument("--local-auth", action='store_true', help='authenticate locally to each target')