File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 2
2
3
3
module Msf
4
4
5
- class Plugin ::HTTPRequest < Msf ::Plugin
5
+ class Plugin ::HTTPRequests < Msf ::Plugin
6
6
7
7
class ConsoleCommandDispatcher
8
8
include Msf ::Ui ::Console ::CommandDispatcher
9
9
10
10
def name
11
- 'Request '
11
+ 'HTTP Requests '
12
12
end
13
13
14
14
def commands
@@ -75,10 +75,10 @@ def parse_args(args)
75
75
name , _ , value = val . partition ( ':' )
76
76
options [ :headers ] [ name ] = value . strip
77
77
when '-i'
78
- options [ :print_headers ] = true
78
+ options [ :print_headers ] = true
79
79
when '-I'
80
- options [ :print_headers ] = true
81
- options [ :print_body ] = false
80
+ options [ :print_headers ] = true
81
+ options [ :print_body ] = false
82
82
options [ :method ] ||= 'HEAD'
83
83
when '-o'
84
84
options [ :output_file ] = File . expand_path ( val )
@@ -199,11 +199,11 @@ def initialize(framework, opts)
199
199
end
200
200
201
201
def cleanup
202
- remove_console_dispatcher ( 'HTTP Request ' )
202
+ remove_console_dispatcher ( 'HTTP Requests ' )
203
203
end
204
204
205
205
def name
206
- 'Requests'
206
+ 'HTTP Requests'
207
207
end
208
208
209
209
def desc
You can’t perform that action at this time.
0 commit comments