Skip to content

Commit

Permalink
[ssh] Marshall review I
Browse files Browse the repository at this point in the history
Signed-off-by: XiaoliChan <2209553467@qq.com>
  • Loading branch information
XiaoliChan committed Oct 20, 2023
1 parent 78ed508 commit fa7c594
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nxc/protocols/ssh/proto_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def proto_args(parser, std_parser, module_parser):
cgroup = ssh_parser.add_argument_group("Command Execution", "Options for executing commands")
cgroup.add_argument("--codec", default="utf-8",
help="Set encoding used (codec) from the target's output (default "
"\"utf-8\"). If errors are detected, run chcp.com at the target, "
"'utf-8'). If errors are detected, run chcp.com at the target, "
"map the result with "
"https://docs.python.org/3/library/codecs.html#standard-encodings and then execute "
"again with --codec and the corresponding codec")
Expand Down
2 changes: 1 addition & 1 deletion nxc/protocols/winrm/proto_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def proto_args(parser, std_parser, module_parser):
cgroup = winrm_parser.add_argument_group("Command Execution", "Options for executing commands")
cgroup.add_argument("--codec", default="utf-8",
help="Set encoding used (codec) from the target's output (default "
"'utf-8'). If errors are detected, run chcp.com at the target, "
"\"utf-8\"). If errors are detected, run chcp.com at the target, "
"map the result with "
"https://docs.python.org/3/library/codecs.html#standard-encodings and then execute "
"again with --codec and the corresponding codec")
Expand Down

0 comments on commit fa7c594

Please sign in to comment.