From cd9182c77fa61848a27def2bd0faf54ff71626ab Mon Sep 17 00:00:00 2001 From: Tod Beardsley Date: Mon, 24 Mar 2014 12:03:12 -0500 Subject: [PATCH] Msftidy warning fix on Joomla module. Pre-commit hooks people. --- modules/auxiliary/gather/joomla_weblinks_sqli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auxiliary/gather/joomla_weblinks_sqli.rb b/modules/auxiliary/gather/joomla_weblinks_sqli.rb index e41ebb2c88..f987e4a68c 100644 --- a/modules/auxiliary/gather/joomla_weblinks_sqli.rb +++ b/modules/auxiliary/gather/joomla_weblinks_sqli.rb @@ -84,7 +84,7 @@ class Metasploit3 < Msf::Auxiliary file = datastore['FILEPATH'].unpack("H*")[0] catid = datastore['CATEGORYID'] - payload = catid.to_s + payload = catid.to_s payload << ") UNION ALL SELECT CONCAT(0x#{front_marker.unpack('H*')[0]}" payload << ",IFNULL(CAST(HEX(LOAD_FILE(" payload << "0x#{file})) AS CHAR),0x20),0x#{back_marker.unpack('H*')[0]})#"