Search Exploit-DB for vulnerabilities from the CLI.
This project is managed with uv.
# Install dependencies and the package
uv pip install -e .
# Or run via the wrapper
./exploitdbsearch-wrapper# Search for exploits by keyword
exploitdbsearch "wordpress plugin"
# Search by CVE ID
exploitdbsearch --cve CVE-2021-44228
# Get specific exploit by EDB-ID
exploitdbsearch --edb-id 12345
# Show latest exploits
exploitdbsearch --latest
# Filter by platform and type
exploitdbsearch "sql injection" --platform php --type webapps
# Copy exploit URLs to clipboard
exploitdbsearch "log4j" --copy| Flag | Description |
|---|---|
query |
Search query (positional) |
-c, --cve |
Search by CVE ID |
-e, --edb-id |
Get specific exploit by EDB-ID |
-l, --limit |
Number of results (default: 10) |
-p, --platform |
Filter by platform (e.g., windows, linux, php) |
-t, --type |
Filter by exploit type (e.g., local, remote) |
--latest |
Show latest exploits |
--copy |
Copy URLs to clipboard |
-o, --output |
Save results to file |
- Python 3.10+
- requests
- beautifulsoup4
MIT