rapid7/metasploit-framework — pull request #352 by TheJacksonBrownie (2012-04-28 07:44:38+00:00)
Title: first msf contribution! - shodan search with banners update

DESCRIPTION:
Adding ability to display banner information from Shodan search engine in metasploit. The current shodan_search.rb module does not display the banner data because the data does not print out well to the screen.

Despite the awkward output, I think the information is still useful if you print the results to an external file. It is then possible to use tools like grep and awk to filter down the output to something more manageable.

For this reason, I edited the shodan_search.rb file to allow the user to decide if they want to include the banner information or not in their search results. By default, I left this value as 'false' - since this is an option that would only be needed if deep inspection of the search results is required.

This commit allows the user to set the BANNER parameter in the module to true or false depending on whether they want the banner information to display or not.

You can find the module here: auxiliary/gather/shodan_search

NOTE:
*** This is my first contribution to the Metasploit Framework or to any open source project. I read over the info on git-hub about making commits, but the git world is still new to me. Please let me know if I missed something in submitting this change. Thx.