Exploitationexploitssearchdownloadcommand-linevulnerability

Getsploit

Command line utility for searching and downloading exploits from popular collections like Exploit-DB, Metasploit, and Packetstorm. Allows immediate download of exploit source code to the working directory.

Description

Getsploit is a command line tool inspired by searchsploit that combines exploit searching and downloading capabilities. It enables users to query exploits across major online collections including Exploit-DB, Metasploit, and Packetstorm, streamlining the process of finding relevant exploit code during security assessments.

The tool's key strength is its ability to download exploit source code directly to the current working path, facilitating quick access for testing and analysis. This makes it particularly useful for penetration testers and security researchers who need to rapidly locate and retrieve exploits without manual browsing.

Getsploit supports local database searches and updates, along with options for JSON output and API key configuration for enhanced functionality.

How It Works

Getsploit searches online exploit databases such as Exploit-DB, Metasploit, and Packetstorm via HTTP requests using python3-httpx. Results are processed with python3-orjson and displayed in tabular format via python3-texttable. The --mirror option downloads exploit source code copies to the current working directory. Local searches use the getsploit.db database, which can be updated with --update. Vulners API integration is supported via --api-key for additional exploit data.

Installation

bash
sudo apt install getsploit

Flags

-j, --jsonShow result in JSON format
-m, --mirrorMirror (aka copies) exploits to the current working directory
-l, --localPerform search in the local database instead of searching online
-u, --updateUpdate getsploit.db database
-s, --set-keySet vulners API key
-k, --api-key TEXTVulners API key

Examples

Display usage information and available options for the tool
getsploit --help
Search online for exploits matching the given query across popular collections
getsploit QUERY
Search for exploits and mirror/download them to the current working directory
getsploit --mirror QUERY
Search for exploits and show results in JSON format
getsploit --json QUERY
Perform exploit search using the local getsploit.db database instead of online sources
getsploit --local QUERY
Update the local getsploit.db database with latest exploit data
getsploit --update
Interactively set the Vulners API key for enhanced search capabilities
getsploit --set-key
Search exploits using a specified Vulners API key
getsploit -k APIKEY QUERY
Updated 2026-04-16kali.org ↗