Naming of follow method

bug/bundler_fix
Meatballs 2014-02-04 15:25:51 +00:00
parent f5fa3fb5ce
commit 26c506da42
No known key found for this signature in database
GPG Key ID: 5380EAF01F2F8B38
2 changed files with 2 additions and 2 deletions

View File

@ -292,7 +292,7 @@ module Exploit::Remote::HttpClient
# The +opts+ will be updated to the updated location and +opts['redirect_uri']+
# will contain the full URI.
#
def send_request_cgi_follow_redirect(opts={}, timeout = 20, redirect_depth = 1)
def send_request_cgi!(opts={}, timeout = 20, redirect_depth = 1)
response = send_request_cgi(opts, timeout)
if response && redirect_depth > 0

View File

@ -118,7 +118,7 @@ class Metasploit3 < Msf::Exploit::Remote
opts = { 'uri' => normalize_uri(uri, 'index.php') }
response = send_request_cgi_follow_redirect(opts)
response = send_request_cgi!(opts)
if opts['redirect_uri']
vprint_status("Redirected to #{opts['redirect_uri']}.")