Skip to content

Commit 888c718

Browse files
author
HD Moore
committed
Fix two typos
1 parent ea54696 commit 888c718

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/metasploit/framework/login_scanner/http.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def configure_http_client(http_client)
286286
# Set the parameter only if it is not nil
287287
possible_params.each_pair do |k,v|
288288
next if v.nil?
289-
http_client.set_config(k,v)
289+
http_client.set_config(k => v)
290290
end
291291

292292
http_client

lib/msf/core/exploit/http/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def configure_http_login_scanner(conf)
219219
{
220220
host: rhost,
221221
port: rport,
222-
ssl: dossl,
222+
ssl: ssl,
223223
ssl_version: ssl_version,
224224
proxies: datastore['PROXIES'],
225225
framework: framework,

0 commit comments

Comments
 (0)