mirror of
https://github.com/Pennyw0rth/NetExec
synced 2026-06-06 16:34:30 +00:00
Fix format
This commit is contained in:
+2
-11
@@ -25,22 +25,13 @@ class ssh(connection):
|
||||
|
||||
@staticmethod
|
||||
def proto_args(parser, std_parser, module_parser):
|
||||
ssh_parser = parser.add_parser(
|
||||
"ssh",
|
||||
help="own stuff using SSH",
|
||||
parents=[std_parser, module_parser]
|
||||
)
|
||||
ssh_parser = parser.add_parser("ssh", help="own stuff using SSH", parents=[std_parser, module_parser])
|
||||
ssh_parser.add_argument(
|
||||
"--key-file",
|
||||
type=str,
|
||||
help=("Authenticate using the specified private key. Treats the password" " parameter as the key's passphrase."),
|
||||
)
|
||||
ssh_parser.add_argument(
|
||||
"--port",
|
||||
type=int,
|
||||
default=22,
|
||||
help="SSH port (default: 22)"
|
||||
)
|
||||
ssh_parser.add_argument("--port", type=int, default=22, help="SSH port (default: 22)")
|
||||
|
||||
cgroup = ssh_parser.add_argument_group("Command Execution", "Options for executing commands")
|
||||
cgroup.add_argument("--no-output", action="store_true", help="do not retrieve command output")
|
||||
|
||||
Reference in New Issue
Block a user