Skip to main content

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

Metadata

Release files for searchpass 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for searchpass 2.0.1
File Size Uploaded
searchpass-2.0.1.tar.gz 306.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for searchpass 2.0.1
File Interpreter ABI Platform
searchpass-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 601.5 kB

Release files / searchpass-2.0.1.tar.gz

Download URL searchpass-2.0.1.tar.gz
Size 306.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5d2c6ede120fbe9716f7560da27b652b42cda965ba33391e3779c9e44a3f5d1d
BLAKE2b-256 checksum
How to use checksums
ccf29d7a1c01235df6a7f35c59e858662eef318f9901b4ba387ccb5cb4a9b046
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / searchpass-2.0.1-py3-none-any.whl

Download URL searchpass-2.0.1-py3-none-any.whl
Size 294.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07cd6c6a1fd96d923e5332c14a24861a4c4f7a6c65be1075fb817f944426c196
BLAKE2b-256 checksum
How to use checksums
f2a32e27fc4b31a69a956af97f9f9fd8b09c5be7dfca6a64c2c50e09ee4b4aa8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files

2.0.0

2 release files

1.0.5

2 release files

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page