Skip to content

Commit fbfbcc3

Browse files
authored
added get, puf file flags
Signed-off-by: termanix <50464194+termanix@users.noreply.github.com>
1 parent 79ecfa8 commit fbfbcc3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

nxc/protocols/nfs/proto_args.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ def proto_args(parser, parents):
66
dgroup = nfs_parser.add_argument_group("NFS Mapping/Enumeration", "Options for Mapping/Enumerating NFS")
77
dgroup.add_argument("--shares", action="store_true", help="List NFS shares")
88
dgroup.add_argument("--enum-shares", nargs="?", type=int, const=3, help="Authenticate and enumerate exposed shares recursively (default depth: %(const)s)")
9+
dgroup.add_argument("--get-file", nargs=2, metavar="FILE", help="Download remote NFS file.\n--get-file remote_file local_file")
10+
dgroup.add_argument("--put-file", nargs=2, metavar="FILE", help="Upload remote NFS file.\n--put-file local_file remote_file")
911

1012
return parser

0 commit comments

Comments
 (0)