$NetBSD$ - Use RESOURCES_DIR instead of picking up ssh_keys in ${PWD} (and mostly likely failing) Patch shared upstream via: --- routersploit/modules/exploits/generic/ssh_auth_keys.py.orig 2018-10-17 17:30:53.000000000 +0000 +++ routersploit/modules/exploits/generic/ssh_auth_keys.py @@ -51,7 +51,7 @@ class Exploit(SSHClient): self.valid = None self.private_keys = [] - ssh_keys_path = "./routersploit/resources/ssh_keys" + ssh_keys_path = os.path.join(utils.RESOURCES_DIR, "ssh_keys") ssh_keys = [".".join(filename.split(".")[:-1]) for filename in os.listdir(ssh_keys_path) if filename.endswith(".json")] for ssh_key in ssh_keys: