Which payload is most effective for testing time-based blind SQL injection?
A.
AND 1=0 UNION ALL SELECT ' admin ' , ' admin
B.
UNION SELECT NULL, NULL, NULL --
C.
OR ' 1 ' = ' 1 ' ;
D.
AND BENCHMARK(5000000,ENCODE( ' test ' , ' test ' ))
The Answer Is:
D
This question includes an explanation.
Explanation:
Time-based blind SQL injection is used when applications suppress error messages and do not display query results. According to CEH v13, attackers rely on response time delays to infer whether injected SQL statements are executed.
The BENCHMARK() function forces the database to perform a CPU-intensive operation repeatedly, causing a noticeable delay if the injected condition is executed successfully. Option D explicitly introduces such a delay and is a textbook time-based blind SQL injection payload.
Options A, B, and C are used for union-based or boolean-based SQL injection and rely on visible output or content changes, which are ineffective in blind scenarios.
CEH v13 clearly states that time-delay functions such as SLEEP(), WAITFOR DELAY, and BENCHMARK() are the primary indicators for time-based blind SQL injection testing. Hence, Option D is correct.
312-50v13 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"