Use the proper function for verbose prints

This commit is contained in:
sinn3r 2012-01-27 12:50:01 -06:00
parent a2d20e25d3
commit 7b866eee86
1 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ class Metasploit3 < Msf::Exploit::Remote
#Default target
my_target = target
print_status("User-Agent: #{request.headers['User-Agent']}") if datastore['VERBOSE']
vprint_status("User-Agent: #{request.headers['User-Agent']}")
if target.name == 'Automatic'
agent = request.headers['User-Agent']
@ -126,12 +126,12 @@ class Metasploit3 < Msf::Exploit::Remote
#Pick the right target
my_target = get_target(cli, request)
if my_target.nil?
print_error("Target not supported") if datastore['VERBOSE']
vprint_error("Target not supported")
send_not_found(cli)
return
end
print_status("URL: #{request.uri.to_s}") if datastore['VERBOSE']
vprint_status("URL: #{request.uri.to_s}")
#Send the trigger file upon request
if request.uri.match(/\.amv/)