{"id":25608240,"url":"https://github.com/dhondta/searchpass","last_synced_at":"2025-02-21T20:19:51.769Z","repository":{"id":59189955,"uuid":"535867085","full_name":"dhondta/searchpass","owner":"dhondta","description":"Tinyscript tool for searching for default passwords on various open source databases based on pybots ","archived":false,"fork":false,"pushed_at":"2024-11-09T13:54:02.000Z","size":292,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-14T06:21:13.712Z","etag":null,"topics":["cybersecurity-tool","default-credentials","default-password","network-device","password","pentest-tool","search-tool","security-testing","tinyscript"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dhondta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-12T22:07:58.000Z","updated_at":"2024-11-09T13:54:05.000Z","dependencies_parsed_at":"2023-10-11T01:12:29.320Z","dependency_job_id":"7a398b45-23f4-4654-a716-d9d1a44ce4a8","html_url":"https://github.com/dhondta/searchpass","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"ca1ba999221c58f1972c836e07416ad1b73cffa3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhondta%2Fsearchpass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhondta%2Fsearchpass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhondta%2Fsearchpass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhondta%2Fsearchpass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhondta","download_url":"https://codeload.github.com/dhondta/searchpass/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240080241,"owners_count":19744840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cybersecurity-tool","default-credentials","default-password","network-device","password","pentest-tool","search-tool","security-testing","tinyscript"],"created_at":"2025-02-21T20:19:51.205Z","updated_at":"2025-02-21T20:19:51.764Z","avatar_url":"https://github.com/dhondta.png","language":"Python","readme":"\u003ch1 align=\"center\"\u003eSearchPass\u003c/h1\u003e\r\n\u003ch3 align=\"center\"\u003eGet default passwords for network devices by vendor.\u003c/h3\u003e\r\n\r\n[![PyPi](https://img.shields.io/pypi/v/searchpass.svg)](https://pypi.python.org/pypi/searchpass/)\r\n[![Python Versions](https://img.shields.io/pypi/pyversions/searchpass.svg)](https://pypi.python.org/pypi/searchpass/)\r\n[![Build Status](https://github.com/dhondta/searchpass/actions/workflows/python-package.yml/badge.svg)](https://github.com/dhondta/searchpass/actions/workflows/python-package.yml)\r\n[![Known Vulnerabilities](https://snyk.io/test/github/dhondta/searchpass/badge.svg?targetFile=requirements.txt)](https://snyk.io/test/github/dhondta/searchpass?targetFile=requirements.txt)\r\n[![License](https://img.shields.io/pypi/l/searchpass.svg)](https://pypi.python.org/pypi/searchpass/)\r\n\r\nThis tool is similar to the Ruby implementation [SearchPass](https://github.com/michenriksen/searchpass) *for offline searching of default credentials for network devices, web applications and more*. The present tool expands its capabilities to **more databases of credentials** and allows to **update the local database**, a bit like [SearchSploit](https://www.exploit-db.com/searchsploit) allows to update references to exploits on your local machine.\r\n\r\nIt relies on :\r\n- [`tinyscript`](https://github.com/dhondta/python-tinyscript), for the CLI tool mechanics\r\n- [`pybots`](https://github.com/dhondta/python-pybots) for abstracting robots that download from the sources of default credentials\r\n- [`sqlite3`](https://docs.python.org/3/library/sqlite3.html) for querying the underlying data using the `--query` option\r\n\r\nData from the different sources gets normalized into a SQLite DB when updating the tool. [`searchpass´](https://github.com/dhondta/searchpass) package embeds a database updated end 2024.\r\n\r\n```session\r\n$ pip install searchpass\r\n[...]\r\n\r\n$ searchpass --help\r\nsearchpass 2.0.0\r\nAuthor   : Alexandre D'Hondt (alexandre.dhondt@gmail.com)\r\nCopyright: © 2021-2024 A. D'Hondt\r\nLicense  : GPLv3 (https://www.gnu.org/licenses/gpl-3.0.fr.html)\r\nSource   : https://github.com/dhondta/searchpass\r\n\r\nThis tool aims to search for default passwords of common devices based on criteria like the vendor or the model.\r\nIt works by caching the whole lists of known default passwords downloaded from various sources (relying on pybots ;\r\n including CIRTnet, DataRecovery, PasswordDB, RouterPasswd or even SaynamWeb) to perform searches locally.\r\n\r\nusage: searchpass [-e] [--passwords] [-q QUERY] [--usernames] [--reset] [--show] [--stats] [--update] [-h] [--help] [-v]\r\n\r\nsearch options:\r\n  -e, --empty           include empty username or password (default: False)\r\n  --passwords           get passwords only (default: False)\r\n  -q QUERY, --query QUERY\r\n                        search query (default: None)\r\n  --usernames           get usernames only (default: False)\r\n\r\naction arguments:\r\n  --reset     remove cached credentials databases\r\n  --show      show records of credentials databases\r\n  --stats     get statistics on credentials databases\r\n  --update    update credentials databases\r\n\r\nextra arguments:\r\n  -h               show usage message and exit\r\n  --help           show this help message and exit\r\n  -v, --verbose    verbose mode (default: False)\r\n\r\nUsage examples:\r\n  searchpass --update\r\n  searchpass --passwords\r\n  searchpass --stats\r\n  searchpass --query \"username='user'\r\n  searchpass --query \"username LIKE \\\"Admin%%\\\"\" --passwords\r\n```\r\n\r\n\r\n## :clap:  Supporters\r\n\r\n[![Stargazers repo roster for @dhondta/searchpass](https://reporoster.com/stars/dark/dhondta/searchpass)](https://github.com/dhondta/searchpass/stargazers)\r\n\r\n[![Forkers repo roster for @dhondta/searchpass](https://reporoster.com/forks/dark/dhondta/searchpass)](https://github.com/dhondta/searchpass/network/members)\r\n\r\n\u003cp align=\"center\"\u003e\u003ca href=\"#\"\u003e\u003cimg src=\"https://img.shields.io/badge/Back%20to%20top--lightgrey?style=social\" alt=\"Back to top\" height=\"20\"/\u003e\u003c/a\u003e\u003c/p\u003e\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhondta%2Fsearchpass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhondta%2Fsearchpass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhondta%2Fsearchpass/lists"}