Linux command
searchsploit 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Search for exploits by keywords
searchsploit [apache] [struts]
Search in titles only
searchsploit -t [oracle] [windows]
Perform exact match search
searchsploit -e "[Microsoft IIS 6.0]"
Search by CVE ID
searchsploit --cve [2021-44228]
Copy exploit to current directory
searchsploit -m [39446]
Examine/display exploit content
searchsploit -x [39446]
Show the full path to an exploit and copy to clipboard
searchsploit -p [39446]
Output results as JSON
searchsploit -j [linux kernel] [3.2]
Show Exploit-DB.com URLs instead of local paths
searchsploit -w [apache] [remote]
Exclude terms from results
searchsploit [linux kernel] --exclude="(PoC)|/dos/"
Search using Nmap XML output
searchsploit --nmap [scan_results.xml]
Update the database
searchsploit -u
说明
searchsploit is a command-line tool for searching the Exploit Database (exploit-db.com) archive locally. It provides offline access to thousands of public exploits, shellcodes, papers, and vulnerability information maintained by Offensive Security. The tool searches both exploit titles and file paths by default. Multiple search terms are combined with AND logic—all terms must match. Use quotes for exact phrases and exclude patterns with --exclude. Results show the exploit title and local path. Once an exploit is found, use -m to copy it to your current directory or -x to view its content. The --cve option searches by CVE identifier for known vulnerabilities. The database requires periodic updates with -u.
参数
- -c, --case
- Case-sensitive search
- -e, --exact
- Exact match search
- -s, --strict
- Strict search; disable fuzzy version matching
- -t, --title
- Search exploit titles only (default: title and path)
- --exclude _TERM_
- Exclude results containing term
- -p, --path
- Show full path to exploit file
- -m, --mirror _ID_
- Copy exploit to current directory
- -x, --examine _ID_
- Display exploit content
- -j, --json
- Output in JSON format
- -w, --www
- Show Exploit-DB.com URLs instead of local paths
- --cve _ID_
- Search by CVE identifier
- --id
- Display EDB-ID rather than local path
- --nmap _FILE_
- Search using Nmap XML service version output
- -o, --overflow
- Allow title overflow in columns
- -v, --verbose
- Display extended information
- --colour
- Disable color highlighting in search results
- -u, --update
- Update local database
- -h, --help
- Display help
FAQ
What is the searchsploit command used for?
searchsploit is a command-line tool for searching the Exploit Database (exploit-db.com) archive locally. It provides offline access to thousands of public exploits, shellcodes, papers, and vulnerability information maintained by Offensive Security. The tool searches both exploit titles and file paths by default. Multiple search terms are combined with AND logic—all terms must match. Use quotes for exact phrases and exclude patterns with --exclude. Results show the exploit title and local path. Once an exploit is found, use -m to copy it to your current directory or -x to view its content. The --cve option searches by CVE identifier for known vulnerabilities. The database requires periodic updates with -u.
How do I run a basic searchsploit example?
Run `searchsploit [apache] [struts]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c, --case do in searchsploit?
Case-sensitive search