How to do it...

  1. To view help, we type the following command:
    searchsploit -h

The following screenshot shows the output of the preceding command:

  1. We can perform a search by simply entering the keyword, and if want to copy the exploit into our working directory, we use this:
     searchsploit -m exploitdb-id

The following screenshot is an example of the preceding command: