fix: ftp proto name
parent
cdc8bdbc77
commit
39b0ca68a3
|
@ -494,7 +494,7 @@ class NXCDBMenu(cmd.Cmd):
|
||||||
def help_proto():
|
def help_proto():
|
||||||
help_string = """
|
help_string = """
|
||||||
proto [smb|mssql|winrm]
|
proto [smb|mssql|winrm]
|
||||||
*unimplemented protocols: Ftp, rdp, ldap, ssh
|
*unimplemented protocols: ftp, rdp, ldap, ssh
|
||||||
Changes nxcdb to the specified protocol
|
Changes nxcdb to the specified protocol
|
||||||
"""
|
"""
|
||||||
print_help(help_string)
|
print_help(help_string)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
def proto_args(parser, std_parser, module_parser):
|
def proto_args(parser, std_parser, module_parser):
|
||||||
ftp_parser = parser.add_parser("Ftp", help="own stuff using FTP", parents=[std_parser, module_parser])
|
ftp_parser = parser.add_parser("ftp", help="own stuff using FTP", parents=[std_parser, module_parser])
|
||||||
ftp_parser.add_argument("--port", type=int, default=21, help="FTP port (default: 21)")
|
ftp_parser.add_argument("--port", type=int, default=21, help="FTP port (default: 21)")
|
||||||
|
|
||||||
cgroup = ftp_parser.add_argument_group("FTP Access", "Options for enumerating your access")
|
cgroup = ftp_parser.add_argument_group("FTP Access", "Options for enumerating your access")
|
||||||
|
|
Loading…
Reference in New Issue