Share
## https://sploitus.com/exploit?id=1B271B9C-3984-5B74-8222-26BBEAAE8575
# exploitdbsearch
Search Exploit-DB for vulnerabilities from the CLI.
## Installation
This project is managed with [uv](https://github.com/astral-sh/uv).
```bash
# Install dependencies and the package
uv pip install -e .
# Or run via the wrapper
./exploitdbsearch-wrapper
```
## Usage
```bash
# 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
```
## Options
| 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 |
## Requirements
- Python 3.10+
- requests
- beautifulsoup4
## License
MIT