Searchsploit

Installing searchsploit (Already in Kali)

apt update && apt install exploitdb

Install binsploits

binsploits contains a set of compiled binaries that are tied to exploits in the exploitdb database. Installing this package will take some time depending on your network connection.

apt update && apt install exploitdb-bin-sploits 

updating searchsploit

searchsploit -u 

Basic Searching:

searchsploit <version #> etc 
searchsploit -t php windows 

Exclude unwanted results

searchsploit linux kernel 5.2 --exclude="Poc" 

View exploits from Searchsploit

searchsploit 9542 --examine 
searchsploit -x window/remote/42031.py 

Copy exploit to current working directory

searchsploit -m 

Access Exploits from Exploit-DB website:

searchsploit vsftpd 2.3.4 -w 

Run an nmap scan result through searchsploit:

nmap -Pn 172.21.0.0 -oX results.xml
searchsploit -x --nmap results.xml

References:

https://www.exploit-db.com/documentation/Offsec-SearchSploit.pdf

Last updated