Skip to content

Commit 2e8e350

Browse files
committed
Rename the http_requests plugin and command to httpr
1 parent 59f40d7 commit 2e8e350

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/http_requests.rb renamed to plugins/httpr.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ def name
1313

1414
def commands
1515
{
16-
'http_request' => 'Make an HTTP request'
16+
'httpr' => 'Make an HTTP request'
1717
}
1818
end
1919

2020
def parse_args(args)
21-
help_line = 'Usage: http_request [options] uri'
21+
help_line = 'Usage: httpr [options] uri'
2222
opt_parser = Rex::Parser::Arguments.new(
2323
'-0' => [ false, 'Use HTTP 1.0' ],
2424
'-1' => [ false, 'Use TLSv1 (SSL)' ],
@@ -118,7 +118,7 @@ def output_line(opts, line)
118118
end
119119
end
120120

121-
def cmd_http_request(*args)
121+
def cmd_httpr(*args)
122122
opts = parse_args(args)
123123
return unless opts
124124

0 commit comments

Comments
 (0)