diff --git a/modules/auxiliary/scanner/http/axis_login.rb b/modules/auxiliary/scanner/http/axis_login.rb index f3f59f405f..38389f05da 100644 --- a/modules/auxiliary/scanner/http/axis_login.rb +++ b/modules/auxiliary/scanner/http/axis_login.rb @@ -56,8 +56,9 @@ class Metasploit3 < Msf::Auxiliary 'method' => 'GET', 'uri' => datastore['URI'] }, 20) - rescue - print_error("The Axis2 login page does not exist at #{target_url}") + rescue => e + print_error("Failed to retrieve Axis2 login page at #{target_url}") + print_error("Error: #{e.class}: #{e}") return end