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
Maintained as an open source project by @NeffIsBack, @MJHallenbeck, @_zblurx
@@ -98,12 +100,13 @@ def gen_cli_args():
98
100
kerberos_group.add_argument("--use-kcache", action="store_true", help="Use Kerberos authentication from ccache file (KRB5CCNAME)")
99
101
kerberos_group.add_argument("--aesKey", metavar="AESKEY", nargs="+", help="AES key to use for Kerberos Authentication (128 or 256 bits)")
100
102
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
-
server_group=std_parser.add_argument_group("Servers", "Options for nxc servers")
103
-
server_group.add_argument("--server", choices={"http", "https"}, default="https", help="use the selected server")
104
-
server_group.add_argument("--server-host", type=str, default="0.0.0.0", metavar="HOST", help="IP to bind the server to")
105
-
server_group.add_argument("--server-port", metavar="PORT", type=int, help="start the server on the specified port")
106
-
server_group.add_argument("--connectback-host", type=str, metavar="CHOST", help="IP for the remote system to connect back to")
103
+
104
+
certificate_group=std_parser.add_argument_group("Certificate", "Options for certificate authentication")
105
+
certificate_group.add_argument("--pfx-cert", metavar="PFXCERT", help="Use certificate authentication from pfx file .pfx")
106
+
certificate_group.add_argument("--pfx-base64", metavar="PFXB64", help="Use certificate authentication from pfx file encoded in base64")
107
+
certificate_group.add_argument("--pfx-pass", metavar="PFXPASS", help="Password of the pfx certificate")
108
+
certificate_group.add_argument("--pem-cert", metavar="PEMCERT", help="Use certificate authentication from PEM file")
109
+
certificate_group.add_argument("--pem-key", metavar="PEMKEY", help="Private key for the PEM format")
107
110
108
111
p_loader=ProtocolLoader()
109
112
protocols=p_loader.get_protocols()
@@ -115,15 +118,15 @@ def gen_cli_args():
115
118
exceptExceptionase:
116
119
nxc_logger.exception(f"Error loading proto_args from proto_args.py file in protocol folder: {protocol} - {e}")
0 commit comments