NetExec/nxc/protocols/ftp/proto_args.py

8 lines
453 B
Python
Raw Normal View History

def proto_args(parser, std_parser, module_parser):
2023-10-14 20:28:26 +00:00
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)")
2023-05-31 13:52:15 +00:00
cgroup = ftp_parser.add_argument_group("FTP Access", "Options for enumerating your access")
cgroup.add_argument("--ls", action="store_true", help="List files in the directory")
return parser