Skip to main content

Default passwords search tool supporting many open source databases

Project description

SearchPass

Get default passwords for network devices by vendor.

PyPi Python Versions Build Status Known Vulnerabilities License

This tool is similar to the Ruby implementation 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 allows to update references to exploits on your local machine.

It relies on :

  • tinyscript, for the CLI tool mechanics
  • pybots for abstracting robots that download from the sources of default credentials
  • sqlite3 for querying the underlying data using the --query option

Data from the different sources gets normalized into a SQLite DB when updating the tool. `searchpass´ package embeds a database updated end 2024.

$ pip install searchpass
[...]

$ searchpass --help
searchpass 2.0.0
Author   : Alexandre D'Hondt (alexandre.dhondt@gmail.com)
Copyright: © 2021-2024 A. D'Hondt
License  : GPLv3 (https://www.gnu.org/licenses/gpl-3.0.fr.html)
Source   : https://github.com/dhondta/searchpass

This tool aims to search for default passwords of common devices based on criteria like the vendor or the model.
It works by caching the whole lists of known default passwords downloaded from various sources (relying on pybots ;
 including CIRTnet, DataRecovery, PasswordDB, RouterPasswd or even SaynamWeb) to perform searches locally.

usage: searchpass [-e] [--passwords] [-q QUERY] [--usernames] [--reset] [--show] [--stats] [--update] [-h] [--help] [-v]

search options:
  -e, --empty           include empty username or password (default: False)
  --passwords           get passwords only (default: False)
  -q QUERY, --query QUERY
                        search query (default: None)
  --usernames           get usernames only (default: False)

action arguments:
  --reset     remove cached credentials databases
  --show      show records of credentials databases
  --stats     get statistics on credentials databases
  --update    update credentials databases

extra arguments:
  -h               show usage message and exit
  --help           show this help message and exit
  -v, --verbose    verbose mode (default: False)

Usage examples:
  searchpass --update
  searchpass --passwords
  searchpass --stats
  searchpass --query "username='user'
  searchpass --query "username LIKE \"Admin%%\"" --passwords

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

searchpass-2.0.0.tar.gz (306.8 kB view details)

Uploaded Source

Built Distribution

searchpass-2.0.0-py3-none-any.whl (294.8 kB view details)

Uploaded Python 3

File details

Details for the file searchpass-2.0.0.tar.gz.

File metadata

  • Download URL: searchpass-2.0.0.tar.gz
  • Upload date:
  • Size: 306.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for searchpass-2.0.0.tar.gz
Algorithm Hash digest
SHA256 f795529f38facf9d13883e323faa3f79252815ab341d65700721067f74b7cec7
MD5 81bbb7e0e556c5690d8380afa005838e
BLAKE2b-256 e1b00ac5eda50c2a9af83704aa5f420b2f9fff57fd82cc200ef641a80360305c

See more details on using hashes here.

File details

Details for the file searchpass-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: searchpass-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 294.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for searchpass-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fcd26eec755093630d248967b18198a30b5562255d5b1bfa097a3beb0a15e215
MD5 39a3323997cf014a4926c46f13b1ea71
BLAKE2b-256 f04b3918e315fddf987af4ea087c2b26ec0485661ee0d7b05bb3a4c5dbe0aad2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page