Getsploit – Command line search and download tool for Vulners Database inspired by searchsploit. It allows you to search online for the exploits across all the most popular collections: Exploit-DB, Metasploit, Packetstorm and others. The most powerful feature is immediate exploit source download right in your working path.
Download Getsploit from Github :
git clone https://github.com/vulnersCom/getsploit.git
cd getsploit cd getsploit ./getsploit.py [application name with version] for eg : ./getsploit.py wordpress 4.7.6
Try out with the different options and find out the latest exploit, for better understand go with the visual method.