fix: ftp proto name

main
Marshall Hallenbeck 2023-10-14 16:28:26 -04:00
parent cdc8bdbc77
commit 39b0ca68a3
2 changed files with 2 additions and 2 deletions

View File

@ -494,7 +494,7 @@ class NXCDBMenu(cmd.Cmd):
def help_proto():
help_string = """
proto [smb|mssql|winrm]
*unimplemented protocols: Ftp, rdp, ldap, ssh
*unimplemented protocols: ftp, rdp, ldap, ssh
Changes nxcdb to the specified protocol
"""
print_help(help_string)

View File

@ -1,5 +1,5 @@
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)")
cgroup = ftp_parser.add_argument_group("FTP Access", "Options for enumerating your access")