sshmitm.commands.check_publickey module
- class sshmitm.commands.check_publickey.CheckPublickey(name, subcommand, module_parser=None)
Bases:
SubCommandchecks a username and publickey against a server
- classmethod config_section()
- Return type:
str|None
- execute(args)
This function is used to check the validity of a public key file by using the PublicKeyEnumerator.
- Parameters:
args (
Namespace) – Namespace object that contains the necessary parameters.- Return type:
None
- static print_valid_keys(valid_keys)
- Parameters:
valid_keys (
dict[str,list[str]])- Return type:
None
- register_arguments()
- Return type:
None