sshmitm.commands.check_publickey module

class sshmitm.commands.check_publickey.CheckPublickey(name, subcommand)

Bases: SubCommand

checks a username and publickey against a server

classmethod config_section()
Return type:

Optional[str]

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