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:
![](https://static.packt-cdn.com/products/9781789952308/graphics/assets/8db15c31-2838-4a94-9b85-85850e07f2ab.png)
- We can perform a search by entering any keyword:
![](https://static.packt-cdn.com/products/9781789952308/graphics/assets/528bf095-4720-44d9-baa7-c0812fe3cbd5.png)
- 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.