Skip to content

Commit 986435c

Browse files
committed
Fix typo
Typo found by @schierlm but mentioned after the commit of pull request rapid7#1187 Info: rapid7#1187 (comment)
1 parent b6011e6 commit 986435c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/msf/core/handler/reverse_http.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def initialize(info = {})
155155
OptString.new('MeterpreterUserAgent', [ false, 'The user-agent that the payload should use for communication', 'Mozilla/4.0 (compatible; MSIE 6.1; Windows NT)' ]),
156156
OptString.new('MeterpreterServerName', [ false, 'The server header that the handler will send in response to requests', 'Apache' ]),
157157
OptAddress.new('ReverseListenerBindAddress', [ false, 'The specific IP address to bind to on the local system']),
158-
OptString.new('HttpUknownRequestResponse', [ false, 'The returned HTML response body when the handler receives a request that is not from a payload', '<html><body><h1>It works!</h1></body></html>' ])
158+
OptString.new('HttpUnknownRequestResponse', [ false, 'The returned HTML response body when the handler receives a request that is not from a payload', '<html><body><h1>It works!</h1></body></html>' ])
159159
], Msf::Handler::ReverseHttp)
160160
end
161161

@@ -360,7 +360,7 @@ def on_request(cli, req, obj)
360360
print_status("#{cli.peerhost}:#{cli.peerport} Unknown request to #{uri_match} #{req.inspect}...")
361361
resp.code = 200
362362
resp.message = "OK"
363-
resp.body = datastore['HttpUknownRequestResponse'].to_s
363+
resp.body = datastore['HttpUnknownRequestResponse'].to_s
364364
end
365365

366366
cli.send_response(resp) if (resp)

0 commit comments

Comments
 (0)