Skip to content

Commit 1f6bd3e

Browse files
committed
Updated to new ruby hash syntax and removed <> from title
1 parent 518e286 commit 1f6bd3e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/auxiliary/scanner/http/title.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Metasploit3 < Msf::Auxiliary
1313

1414
def initialize
1515
super(
16-
'Name' => 'HTTP HTML <title> tag content grabber',
16+
'Name' => 'HTTP HTML Title tag content grabber',
1717
'Description' => %q{
1818
Generates a GET request to the webservers provided and returns the server header,
1919
HTML title attribute and location header (if set). Useful for rapidly identifying
@@ -45,8 +45,8 @@ def run_host(target_host)
4545
begin
4646
# Send a normal GET request
4747
res = send_request_cgi(
48-
'uri' => '/',
49-
'method' => 'GET'
48+
'uri': '/',
49+
'method': 'GET'
5050
)
5151

5252
# If no response, quit now

0 commit comments

Comments
 (0)