Andres Diaz

andres@diaz:~$ whoami

Andres Diaz

Defect Reproduction Engineer at Filevine

andresdiaztech@gmail.com

LinkedIn GitHub Blog



andres@diaz:~/notes$ cat exploit-research.md

cd ..

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.

CommandWhat 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

Google

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:

TypeWhat it means
remoteTriggered over the network with no prior access. Best for a first way in.
localNeeds access to the box already. More for privilege escalation.
webappsA web application bug
dosDenial 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.