Searchsploit is a command-line tool that allows us to search and browse all the exploits that are available at the exploit database.
Exploring Searchsploit
How to do it...
Let's perform the following steps:
- To view help, type the following command:
searchsploit -h
The following screenshot shows the output of the preceding command:

- We can perform a search by entering any keyword:

- If you want to copy the exploit into your working directory, use the following command:
searchsploit -m exploitdb-id
In the next recipe, we will look at routersploit.