Exploit research
Oct 24, 2026 · Reference
Goal
Once enumeration gives me a product and a version, how I check whether that version has a public exploit.
Related: Web Enumeration · Service Commands
The idea
Enumeration gives me software and versions (like Apache 1.3.20, mod_ssl 2.8.4, Samba 2.2.1a). The next step is searching for a known exploit for that exact version.
searchsploit
searchsploit is a local, offline copy of the Exploit-DB database, already on Kali.
| Command | What it does |
|---|---|
searchsploit <product> <version> | Search for exploits, for example searchsploit samba 2.2 |
searchsploit -x <path> | Show an exploit's code or notes |
searchsploit -m <path> | Copy an exploit into my current folder so I can use it |
Search the product and version plus the word "exploit", like mod_ssl 2.8.4 exploit or samba 2.2.1a exploit. Results usually point to Exploit-DB, GitHub, or a CVE (Common Vulnerabilities and Exposures) entry.
Reading the results
Exploit-DB tags each exploit by type:
| Type | What it means |
|---|---|
| remote | Triggered over the network with no prior access. Best for a first way in. |
| local | Needs access to the box already. More for privilege escalation. |
| webapps | A web application bug |
| dos | Denial of service, just crashes the service |
A remote buffer overflow that drops a shell is remote code execution. A CVE number (like CVE-2002-0082) is a stable ID I can search to read more about a flaw.
