Expanding the title and desc for external_ip

Also allowing the capitalization on "via" to be small.
unstable
Tod Beardsley 2013-03-20 14:42:09 -05:00
parent 52df05c42d
commit fd20eba35e
2 changed files with 9 additions and 3 deletions

View File

@ -17,8 +17,14 @@ class Metasploit3 < Msf::Auxiliary
def initialize
super(
'Name' => 'External IP',
'Description' => 'This module checks for the public source IP address of the current route to the RHOST',
'Name' => 'Discover External IP via Ifconfig.me',
'Description' => %q{
This module checks for the public source IP address of the current
route to the RHOST by querying the public web application at ifconfig.me.
It should be noted this module will register activity on ifconfig.me,
which is not affiliated with Metasploit.
}
,
'Author' => ['RageLtMan'],
'License' => MSF_LICENSE,
'References' =>

View File

@ -277,7 +277,7 @@ class Msftidy
if @source =~ /'Name'[[:space:]]*=>[[:space:]]*['"](.+)['"],*$/
words = $1.split
words.each do |word|
if %w{and or the for to in of as with a an on at}.include?(word)
if %w{and or the for to in of as with a an on at via}.include?(word)
next
elsif %w{pbot}.include?(word)
elsif word =~ /^[a-z]+$/