diff --git a/modules/exploits/multi/http/tomcat_mgr_deploy.rb b/modules/exploits/multi/http/tomcat_mgr_deploy.rb index 2757cb6e13..2828a899e6 100644 --- a/modules/exploits/multi/http/tomcat_mgr_deploy.rb +++ b/modules/exploits/multi/http/tomcat_mgr_deploy.rb @@ -248,9 +248,9 @@ class Metasploit3 < Msf::Exploit::Remote 'method' => 'GET' }, 20) if (! res) - print_warning("WARNING: Undeployment failed on #{path} [No Response]") + print_warning("WARNING: Undeployment failed on #{path_tmp} [No Response]") elsif (res.code < 200 or res.code >= 300) - print_warning("Deletion failed on #{path} [#{res.code} #{res.message}]") + print_warning("Deletion failed on #{path_tmp} [#{res.code} #{res.message}]") end handler