You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std_parser.add_argument("target", nargs="+"ifnot (module_parser.parse_known_args()[0].list_modulesormodule_parser.parse_known_args()[0].show_module_options) else"*", type=str, help="the target IP(s), range(s), CIDR(s), hostname(s), FQDN(s), file(s) containing a list of targets, NMap XML or .Nessus file(s)")
84
+
std_parser.add_argument("target", nargs="+"ifnot (module_parser.parse_known_args()[0].list_modulesormodule_parser.parse_known_args()[0].show_module_optionsorgeneric_parser.parse_known_args()[0].version) else"*", type=str, help="the target IP(s), range(s), CIDR(s), hostname(s), FQDN(s), file(s) containing a list of targets, NMap XML or .Nessus file(s)")
86
85
credential_group=std_parser.add_argument_group("Authentication", "Options for authenticating")
kerberos_group.add_argument("--use-kcache", action="store_true", help="Use Kerberos authentication from ccache file (KRB5CCNAME)")
100
99
kerberos_group.add_argument("--aesKey", metavar="AESKEY", nargs="+", help="AES key to use for Kerberos Authentication (128 or 256 bits)")
101
100
kerberos_group.add_argument("--kdcHost", metavar="KDCHOST", help="FQDN of the domain controller. If omitted it will use the domain part (FQDN) specified in the target parameter")
101
+
102
+
certificate_group=std_parser.add_argument_group("Certificate", "Options for certificate authentication")
103
+
certificate_group.add_argument("--pfx-cert", metavar="PFXCERT", help="Use certificate authentication from pfx file .pfx")
104
+
certificate_group.add_argument("--pfx-base64", metavar="PFXB64", help="Use certificate authentication from pfx file encoded in base64")
105
+
certificate_group.add_argument("--pfx-pass", metavar="PFXPASS", help="Password of the pfx certificate")
106
+
certificate_group.add_argument("--cert-pem", metavar="CERTPEM", help="Use certificate authentication from PEM file")
107
+
certificate_group.add_argument("--key-pem", metavar="KEYPEM", help="Private key for the PEM format")
102
108
103
109
server_group=std_parser.add_argument_group("Servers", "Options for nxc servers")
104
110
server_group.add_argument("--server", choices={"http", "https"}, default="https", help="use the selected server")
0 commit comments