{"tool":"searchsploit","name":"SearchSploit","description":"The command-line search for a local copy of Exploit-DB — find, examine and copy exploits by product, version or CVE.","tags":["exploits","search","offline"],"homepage":"https://www.exploit-db.com/searchsploit","docs":"https://www.exploit-db.com/searchsploit","install":{"apt":"sudo apt install exploitdb","brew":"brew install exploitdb"},"related":["exploitdb","metasploit","nmap"],"total_commands":60,"commands":[{"id":1,"category":"Help and Updates","command":"searchsploit --help","example":"searchsploit --help","explanation":"Displays the main help menu and lists all available options and flags"},{"id":2,"category":"Help and Updates","command":"searchsploit -u","example":"searchsploit -u","explanation":"Updates the local Exploit Database repository to the latest version"},{"id":3,"category":"Basic Keyword Search","command":"searchsploit apache","example":"searchsploit apache","explanation":"Searches for any exploits containing the term apache in the title or path"},{"id":4,"category":"Basic Keyword Search","command":"searchsploit wordpress","example":"searchsploit wordpress","explanation":"Finds exploits related to the WordPress content management system"},{"id":5,"category":"Basic Keyword Search","command":"searchsploit smb","example":"searchsploit smb","explanation":"Locates exploits targeting the Server Message Block protocol"},{"id":6,"category":"Multi Keyword Search","command":"searchsploit linux kernel","example":"searchsploit linux kernel","explanation":"Searches for exploits matching both 'linux' and 'kernel' terms"},{"id":7,"category":"Multi Keyword Search","command":"searchsploit windows smb remote","example":"searchsploit windows smb remote","explanation":"Finds Windows SMB exploits that function remotely by combining keywords"},{"id":8,"category":"Multi Keyword Search","command":"searchsploit apache 2.4","example":"searchsploit apache 2.4","explanation":"Narrows search results to specific software versions using the version number"},{"id":9,"category":"Title Based Search","command":"searchsploit -t oracle","example":"searchsploit -t oracle","explanation":"Restricts the search strictly to the exploit titles, ignoring file paths"},{"id":10,"category":"Title Based Search","command":"searchsploit -t \"windows 10\"","example":"searchsploit -t \"windows 10\"","explanation":"Searches specifically for 'windows 10' within exploit titles only"},{"id":11,"category":"Exact Match Search","command":"searchsploit -e \"WordPress Core 4.7\"","example":"searchsploit -e \"WordPress Core 4.7\"","explanation":"Performs a strict exact match search for the specified string"},{"id":12,"category":"Exact Match Search","command":"searchsploit -e \"ProFTPD 1.3.5\"","example":"searchsploit -e \"ProFTPD 1.3.5\"","explanation":"Finds exploits matching exactly the specified ProFTPD version string"},{"id":13,"category":"Case Sensitivity","command":"searchsploit -c OpenSSH","example":"searchsploit -c OpenSSH","explanation":"Performs a case-sensitive search distinguishing between 'OpenSSH' and 'openssh'"},{"id":14,"category":"Case Sensitivity","command":"searchsploit -c MySQL","example":"searchsploit -c MySQL","explanation":"Ensures the search respects the capitalization of the term MySQL"},{"id":15,"category":"ID Based Search","command":"searchsploit 39446","example":"searchsploit 39446","explanation":"Retrieves the specific exploit associated with Exploit-DB ID 39446"},{"id":16,"category":"CVE Based Search","command":"searchsploit CVE-2021-44228","example":"searchsploit CVE-2021-44228","explanation":"Searches the database for exploits referencing the Log4Shell CVE ID"},{"id":17,"category":"Platform Filtering","command":"searchsploit --platform windows","example":"searchsploit --platform windows","explanation":"Lists all available exploits targeting the Windows operating system"},{"id":18,"category":"Platform Filtering","command":"searchsploit --platform linux","example":"searchsploit --platform linux","explanation":"Filters the database to show only exploits designed for Linux systems"},{"id":19,"category":"Platform Filtering","command":"searchsploit --platform android","example":"searchsploit --platform android","explanation":"Shows exploits targeting the Android mobile platform"},{"id":20,"category":"Type Filtering","command":"searchsploit --type webapps","example":"searchsploit --type webapps","explanation":"Filters results to show only web application based vulnerabilities"},{"id":21,"category":"Type Filtering","command":"searchsploit --type local","example":"searchsploit --type local","explanation":"Restricts results to local privilege escalation or local exploits"},{"id":22,"category":"Type Filtering","command":"searchsploit --type remote","example":"searchsploit --type remote","explanation":"Limits the output to remote code execution and remote exploits"},{"id":23,"category":"Type Filtering","command":"searchsploit --type shellcode","example":"searchsploit --type shellcode","explanation":"Searches specifically for shellcode entries rather than full exploit scripts"},{"id":24,"category":"Type Filtering","command":"searchsploit --type dos","example":"searchsploit --type dos","explanation":"Filters for Denial of Service (DoS) proof of concept scripts"},{"id":25,"category":"Combined Filtering","command":"searchsploit --platform windows --type local","example":"searchsploit --platform windows --type local","explanation":"Combines filters to find local privilege escalation exploits for Windows"},{"id":26,"category":"Combined Filtering","command":"searchsploit apache --platform linux --type remote","example":"searchsploit apache --platform linux --type remote","explanation":"Finds remote Apache exploits specifically for Linux platforms"},{"id":27,"category":"Excluding Terms","command":"searchsploit wordpress --exclude=\"dos\"","example":"searchsploit wordpress --exclude=\"dos\"","explanation":"Searches for WordPress exploits while removing Denial of Service results"},{"id":28,"category":"Excluding Terms","command":"searchsploit apache --exclude=\"dos|poisoning\"","example":"searchsploit apache --exclude=\"dos|poisoning\"","explanation":"Uses pipe syntax to exclude multiple terms like DoS and poisoning from results"},{"id":29,"category":"File Operations","command":"searchsploit -p 39446","example":"searchsploit -p 39446","explanation":"Displays the full local path to the exploit file with ID 39446"},{"id":30,"category":"File Operations","command":"searchsploit -m 39446","example":"searchsploit -m 39446","explanation":"Copies the exploit file 39446 to the current working directory"},{"id":31,"category":"File Operations","command":"searchsploit -m 42031 42032","example":"searchsploit -m 42031 42032","explanation":"Mirrors multiple exploit files to the current directory in a single command"},{"id":32,"category":"File Operations","command":"searchsploit -x 39446","example":"searchsploit -x 39446","explanation":"Opens the specified exploit file in the default terminal pager or editor"},{"id":33,"category":"Online Integration","command":"searchsploit -w apache","example":"searchsploit -w apache","explanation":"Provides URLs to the Exploit-DB website for the search results"},{"id":34,"category":"Online Integration","command":"searchsploit -w 39446","example":"searchsploit -w 39446","explanation":"Generates the direct web link for the specific exploit ID 39446"},{"id":35,"category":"Output Formatting","command":"searchsploit --id","example":"searchsploit --id","explanation":"Displays the EDB-ID explicitly in the search results columns"},{"id":36,"category":"Output Formatting","command":"searchsploit --color","example":"searchsploit --color","explanation":"Forces colored output even when piping results to other commands"},{"id":37,"category":"Output Formatting","command":"searchsploit --no-color","example":"searchsploit --no-color","explanation":"Disables color codes in output for easier parsing or logging"},{"id":38,"category":"Output Formatting","command":"searchsploit -o apache","example":"searchsploit -o apache","explanation":"Allows overflow of columns to prevent description truncation"},{"id":39,"category":"Output Formatting","command":"searchsploit -v apache","example":"searchsploit -v apache","explanation":"Enables verbose mode to show more details about the search process"},{"id":40,"category":"JSON Output","command":"searchsploit -j apache","example":"searchsploit -j apache","explanation":"Outputs the search results in JSON format for programmatic processing"},{"id":41,"category":"JSON Output","command":"searchsploit --json wordpress","example":"searchsploit --json wordpress","explanation":"Uses the long-form flag to generate machine-readable JSON output"},{"id":42,"category":"Strict Mode","command":"searchsploit -s \"linux kernel\"","example":"searchsploit -s \"linux kernel\"","explanation":"Enables strict searching which may filter out loose matches"},{"id":43,"category":"Advanced Workflow","command":"searchsploit tomcat --platform windows --type remote --id","example":"searchsploit tomcat --platform windows --type remote --id","explanation":"Combines ID display with platform and type filters for precise targeting"},{"id":44,"category":"Advanced Workflow","command":"searchsploit joomla --exclude=\"(SQLi|XSS)\"","example":"searchsploit joomla --exclude=\"(SQLi|XSS)\"","explanation":"Uses regex-style exclusion to filter out common SQLi and XSS vulnerabilities"},{"id":45,"category":"Advanced Workflow","command":"searchsploit --cve 2020","example":"searchsploit --cve 2020","explanation":"Searches specifically for CVEs assigned in the year 2020"},{"id":46,"category":"Advanced Workflow","command":"searchsploit privilege --platform linux --type local -t","example":"searchsploit privilege --platform linux --type local -t","explanation":"Searches titles only for privilege escalation on local Linux systems"},{"id":47,"category":"Automation and Scripting","command":"searchsploit -j nginx > nginx_exploits.json","example":"searchsploit -j nginx > nginx_exploits.json","explanation":"Redirects JSON output to a file for use in automated pipelines"},{"id":48,"category":"Automation and Scripting","command":"searchsploit -p 44228 | xargs grep \"Usage\"","example":"searchsploit -p 44228 | xargs grep \"Usage\"","explanation":"Finds the path and pipes it to grep to check usage instructions"},{"id":49,"category":"Automation and Scripting","command":"searchsploit struts --json | jq .","example":"searchsploit struts --json | jq .","explanation":"Pipes JSON output to jq for pretty-printing and parsing"},{"id":50,"category":"Red Team Discovery","command":"searchsploit \"authenticated remote\" --platform php","example":"searchsploit \"authenticated remote\" --platform php","explanation":"Searches for PHP exploits requiring authentication for remote execution"},{"id":51,"category":"Red Team Discovery","command":"searchsploit \"unauthenticated RCE\"","example":"searchsploit \"unauthenticated RCE\"","explanation":"Hunts for critical unauthenticated remote code execution vulnerabilities"},{"id":52,"category":"Blue Team Research","command":"searchsploit --author \"Google Security\"","example":"searchsploit --author \"Google Security\"","explanation":"Filters exploits by specific security researchers or organizations"},{"id":53,"category":"Blue Team Research","command":"searchsploit --type webapps --exclude=\"cms\"","example":"searchsploit --type webapps --exclude=\"cms\"","explanation":"Looks for web app vulnerabilities excluding generic CMS results"},{"id":54,"category":"Nmap Integration","command":"searchsploit --nmap file.xml","example":"searchsploit --nmap file.xml","explanation":"Parses an Nmap XML output file to automatically suggest exploits"},{"id":55,"category":"Nmap Integration","command":"searchsploit -v --nmap scan_result.xml","example":"searchsploit -v --nmap scan_result.xml","explanation":"Parses Nmap XML in verbose mode to see how services are matched"},{"id":56,"category":"Complex Regex","command":"searchsploit -t \"(buffer|heap) overflow\"","example":"searchsploit -t \"(buffer|heap) overflow\"","explanation":"Uses regex in title search to find buffer or heap overflows"},{"id":57,"category":"Exploit Mirroring","command":"searchsploit -m $(searchsploit wordpress -w -t --id | awk '{print $1}')","example":"searchsploit -m $(searchsploit wordpress -w -t --id | awk '{print $1}')","explanation":"Advanced subshell usage to mirror all found exploits (use with caution)"},{"id":58,"category":"Shellcode Analysis","command":"searchsploit linux/x86 --type shellcode","example":"searchsploit linux/x86 --type shellcode","explanation":"Searches specifically for x86 architecture shellcode for Linux"},{"id":59,"category":"Maintenance","command":"searchsploit --update","example":"searchsploit --update","explanation":"Alternative long-flag syntax to update the exploit database"},{"id":60,"category":"Full Path Output","command":"searchsploit --fullpath apache","example":"searchsploit --fullpath apache","explanation":"Displays the complete system path to the exploit files in results"}],"slug":"searchsploit","category":"exploitation","url":"https://terminal.rokibulroni.com/tool/exploitation/searchsploit","markdown":"https://terminal.rokibulroni.com/api/v1/tools/exploitation/searchsploit.md"}