Discuz! Database Error

(0) It is not safe to do this query
REPLACE INTO common_cache SET `cachekey`='threadclasscount_72' , `cachevalue`='a:2:{s:6:\"typeid\";a:28:{i:90;s:2:\"85\";i:89;s:2:\"73\";i:94;s:1:\"4\";i:92;s:1:\"4\";i:91;s:1:\"2\";i:93;s:1:\"1\";s:3:\"89 \";s:2:\"40\";s:10:\"89 and 3=3\";s:2:\"40\";s:10:\"89 and 3=4\";s:2:\"40\";s:26:\"89\\\\\\\' and \\\\\\\'a\\\\\\\'=\\\\\\\'a\";s:2:\"40\";s:26:\"89\\\\\\\' and \\\\\\\'a\\\\\\\'=\\\\\\\'b\";s:2:\"40\";s:34:\"89%\\\\\\\' and 3=3 and \\\\\\\'%\\\\\\\'=\\\\\\\'\";s:2:\"40\";s:237:\"89 and(select 1 from(select count(*),concat((select (select concat(0x5e5e5e,unhex(Hex(cast(database() as char))),0x5e5e5e)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and 1=1\";s:2:\"40\";s:253:\"89\\\\\\\' and(select 1 from(select count(*),concat((select (select concat(0x5e5e5e,unhex(Hex(cast(database() as char))),0x5e5e5e)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and \\\\\\\'1\\\\\\\'=\\\\\\\'1\";s:2:\"40\";s:253:\"89%\\\\\\\' and(select 1 from(select count(*),concat((select (select concat(0x5e5e5e,unhex(Hex(cast(database() as char))),0x5e5e5e)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and \\\\\\\'%\\\\\\\'=\\\\\\\'\";s:2:\"40\";s:48:\"89+/v9 +ADw-script+AD4-alert(1)+ADw-/script+AD4-\";s:2:\"40\";s:6:\"89\\\\\\\'\";s:2:\"40\";s:5:\"89%27\";s:2:\"40\";s:9:\"89\\\\0\\\\\\\'\";s:2:\"40\";s:10:\"89\\\\\\\\\\\\\\\'\";s:2:\"40\";s:6:\"89JyI=\";s:2:\"40\";s:7:\"89¿\\\\\\'\";s:2:\"40\";s:3:\"89/\";s:2:\"40\";s:14:\"89alert(42873)\";s:2:\"40\";s:11:\"90index.php\";s:2:\"43\";i:108;s:2:\"14\";i:109;s:1:\"5\";i:110;s:1:\"0\";}s:6:\"sortid\";a:67:{i:46;s:1:\"7\";i:48;s:2:\"25\";s:3:\"48 \";s:2:\"14\";s:10:\"48 and 3=3\";s:2:\"14\";s:10:\"48 and 3=4\";s:2:\"14\";s:26:\"48\\\\\\\' and \\\\\\\'a\\\\\\\'=\\\\\\\'a\";s:2:\"14\";s:26:\"48\\\\\\\' and \\\\\\\'a\\\\\\\'=\\\\\\\'b\";s:2:\"14\";s:34:\"48%\\\\\\\' and 3=3 and \\\\\\\'%\\\\\\\'=\\\\\\\'\";s:2:\"14\";s:237:\"48 and(select 1 from(select count(*),concat((select (select concat(0x5e5e5e,unhex(Hex(cast(database() as char))),0x5e5e5e)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and 1=1\";s:2:\"14\";s:253:\"48\\\\\\\' and(select 1 from(select count(*),concat((select (select concat(0x5e5e5e,unhex(Hex(cast(database() as char))),0x5e5e5e)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and \\\\\\\'1\\\\\\\'=\\\\\\\'1\";s:2:\"14\";s:253:\"48%\\\\\\\' and(select 1 from(select count(*),concat((select (select concat(0x5e5e5e,unhex(Hex(cast(database() as char))),0x5e5e5e)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and \\\\\\\'%\\\\\\\'=\\\\\\\'\";s:2:\"14\";s:48:\"48+/v9 +ADw-script+AD4-alert(1)+ADw-/script+AD4-\";s:2:\"14\";s:6:\"48\\\\\\\'\";s:2:\"14\";s:5:\"48%27\";s:2:\"14\";s:9:\"48\\\\0\\\\\\\'\";s:2:\"14\";s:10:\"48\\\\\\\\\\\\\\\'\";s:2:\"14\";s:6:\"48JyI=\";s:2:\"14\";s:7:\"48¿\\\\\\'\";s:2:\"14\";s:3:\"48/\";s:2:\"14\";s:32:\"../../../../../../../../boot.ini\";s:2:\"64\";s:35:\"../../../../../../../../boot.ini\\\\0\";s:2:\"64\";s:56:\"À®À®À¯À®À®À¯À®À®À¯À®À®À¯À®À®À¯À®À®À¯À®À®À¯À®À®À¯boot.ini\";s:2:\"64\";s:39:\"../../../../../../../../boot.ini\\\\0.jpg\";s:2:\"64\";s:40:\"../../../../../../../../boot.ini\\\\0.html\";s:2:\"54\";s:75:\"/.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./boot.ini\";s:2:\"64\";s:14:\"C:\\\\\\\\boot.ini\";s:2:\"54\";s:56:\"..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\boot.ini\";s:2:\"64\";s:64:\"../..//../..//../..//../..//../..//../..//../..//../..//boot.ini\";s:2:\"64\";s:80:\"../.../.././../.../.././../.../.././../.../.././../.../.././../.../.././boot.ini\";s:2:\"64\";s:40:\"..À¯..À¯..À¯..À¯..À¯..À¯..À¯..À¯boot.ini\";s:2:\"54\";s:57:\"|..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\boot.ini\";s:2:\"54\";s:39:\"../../../../../../../../boot.ini\\\\0.htm\";s:2:\"64\";s:39:\"../../../../../../../../boot.ini\\\\0.txt\";s:2:\"54\";s:19:\"file:///c:/boot.ini\";s:2:\"64\";s:34:\"../../../../../../../../etc/passwd\";s:2:\"63\";s:37:\"../../../../../../../../etc/passwd\\\\0\";s:2:\"63\";s:37:\"\\\\0../../../../../../../../etc/passwd\";s:2:\"63\";s:42:\"../../../../../../../../etc/passwd\\\\0.html\";s:2:\"63\";s:41:\"../../../../../../../../etc/passwd\\\\0.jpg\";s:2:\"63\";s:76:\".\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./.\\\\\\\\\\\\\\\\./etc/passwd\";s:2:\"63\";s:11:\"/etc/passwd\";s:2:\"63\";s:25:\"/./././././././etc/passwd\";s:2:\"63\";s:58:\"..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\..\\\\\\\\etc/passwd\";s:2:\"54\";s:82:\"../.../.././../.../.././../.../.././../.../.././../.../.././../.../.././etc/passwd\";s:2:\"63\";s:42:\"..À¯..À¯..À¯..À¯..À¯..À¯..À¯..À¯etc/passwd\";s:2:\"63\";s:35:\"|../../../../../../../../etc/passwd\";s:2:\"54\";s:59:\"À®À®À¯À®À®À¯À®À®À¯À®À®À¯À®À®À¯À®À®À¯À®À®À¯À®À®À¯/etc/passwd\";s:2:\"63\";s:18:\"file:///etc/passwd\";s:2:\"63\";s:66:\"../..//../..//../..//../..//../..//../..//../..//../..//etc/passwd\";s:2:\"63\";s:70:\"http://some-inexistent-website.com/some_inexistent_file_with_long_name\";s:2:\"64\";s:36:\"/some_inexistent_file_with_long_name\";s:2:\"64\";s:43:\"\r\n SomeCustomInjectedHeader:injected_by_wvs\";s:2:\"64\";s:42:\"\n SomeCustomInjectedHeader:injected_by_wvs\";s:2:\"64\";s:3:\"dir\";s:2:\"64\";s:5:\"&dir&\";s:2:\"54\";s:4:\"|dir\";s:2:\"54\";s:4:\"&dir\";s:2:\"54\";s:4:\";dir\";s:2:\"54\";s:9:\"\\\\0dir\\\\0\";s:2:\"54\";s:25:\"http://bbs.webscan.360.cn\";s:2:\"64\";s:18:\"bbs.webscan.360.cn\";s:2:\"64\";s:46:\"+/v9 +ADw-script+AD4-alert(1)+ADw-/script+AD4-\";s:2:\"64\";s:14:\"48alert(42873)\";s:2:\"14\";i:56;s:1:\"7\";i:53;s:2:\"15\";i:66;s:1:\"1\";i:65;s:1:\"1\";}}'

PHP Debug

No.FileLineCode
1forum.php67require(%s)
2source/module/forum/forum_forumdisplay.php544threadclasscount(%s, %d, %s, %s)
3source/function/function_forumlist.php410discuz_table->insert(Array, false, true)
4source/class/discuz/discuz_table.php81discuz_database::insert(%s, Array, false, true, %s)
5source/class/discuz/discuz_database.php60discuz_database::query(%s, %s, %s, true)
6source/class/discuz/discuz_database.php140discuz_database::checkquery(%s)
7source/class/discuz/discuz_database.php177discuz_database_safecheck::checkquery(%s)
8source/class/discuz/discuz_database.php368break()
www.myxiangshui.com ÒѾ­½«´Ë³ö´íÐÅÏ¢Ïêϸ¼Ç¼, Óɴ˸øÄú´øÀ´µÄ·ÃÎʲ»±ãÎÒÃÇÉî¸ÐǸÒâ.