Skip to content

Commit 59f40d7

Browse files
committed
Rename the requests plugin to http_requests
1 parent 2070934 commit 59f40d7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

plugins/requests.rb renamed to plugins/http_requests.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
module Msf
44

5-
class Plugin::HTTPRequest < Msf::Plugin
5+
class Plugin::HTTPRequests < Msf::Plugin
66

77
class ConsoleCommandDispatcher
88
include Msf::Ui::Console::CommandDispatcher
99

1010
def name
11-
'Request'
11+
'HTTP Requests'
1212
end
1313

1414
def commands
@@ -75,10 +75,10 @@ def parse_args(args)
7575
name, _, value = val.partition(':')
7676
options[:headers][name] = value.strip
7777
when '-i'
78-
options[:print_headers] = true
78+
options[:print_headers] = true
7979
when '-I'
80-
options[:print_headers] = true
81-
options[:print_body] = false
80+
options[:print_headers] = true
81+
options[:print_body] = false
8282
options[:method] ||= 'HEAD'
8383
when '-o'
8484
options[:output_file] = File.expand_path(val)
@@ -199,11 +199,11 @@ def initialize(framework, opts)
199199
end
200200

201201
def cleanup
202-
remove_console_dispatcher('HTTP Request')
202+
remove_console_dispatcher('HTTP Requests')
203203
end
204204

205205
def name
206-
'Requests'
206+
'HTTP Requests'
207207
end
208208

209209
def desc

0 commit comments

Comments
 (0)