Run Searchsploit
run_searchsploitSearch a local Exploit-DB database for exploits and shellcodes by keyword, CVE, or Nmap service results, then inspect or retrieve matching files for penetration testing.
Instructions
Search for exploits and shellcodes in the local Exploit-DB database. Tags: security, exploitation, pentest, vulnerability, exploit-db, reconnaissance, enumeration
Usage Guide:
Basic Search (mode="search"): Search for exploits using keywords in
query. Usetitle_onlyto ignore file paths,exact_matchfor precise title strings, orcase_sensitivefor specific product names.CVE Search: Use the
cve_idparameter to find exploits linked to specific vulnerability identifiers.Filtering: Use
exclude_patternto remove unwanted results (e.g., DoS or PoC files) from your search.File Operations: Use
mode="mirror"to copy an exploit viaedb_id,mode="examine"to view source code, ormode="path"to get the absolute file system path.Automation: Use
nmap_xml_fileto automatically find exploits for services detected in an Nmap scan.Maintenance: Set
update_db=Trueto update the local exploit database repository.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run_searchsploit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Operation mode: "search" (default), "mirror", "examine", "path". | search |
| query | No | Search keywords or terms (used in search mode). | |
| cve_id | No | Common Vulnerabilities and Exposures ID (e.g., 2021-44228). | 2021-44228 |
| edb_id | No | The Exploit-DB ID number (required for mirror, examine, and path modes). | |
| show_urls | No | Display Exploit-DB web URLs instead of local paths. | |
| update_db | No | Update the local exploit database. | |
| title_only | No | Search only the exploit title (ignores path). | |
| exact_match | No | Perform an exact, order-sensitive match on the title. | |
| json_output | No | Return results in JSON format for parsing. | |
| nmap_xml_file | No | Path to an Nmap XML output file for automated version matching. | |
| case_sensitive | No | Perform a case-sensitive search. | |
| exclude_pattern | No | Regex pattern of terms to remove from results. | (PoC)|/dos/ |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |