Time-Based and Boolean-Based SQL Injection Techniques
Short answer
D Jane Smith uses Time-based and Boolean-based SQL injection to determine true or false results without direct data output.
Question
Key Takeaways
The question tests the ability to distinguish blind SQLi techniques based on observable feedback mechanisms like time delays and true/false conditions.
This page explains how ethical hackers use Time-Based and Boolean-based SQL injection to infer database truth values through response delays or UI changes.
Common mistake: Candidates often confuse Union-based SQLi with blind techniques, overlooking that Union requires visible data output rather than just true/false inference.
Expert Analysis
Why the Answer Is Correct
Correct answer: D — The scenario describes a blind SQL injection context where the attacker cannot see direct query results but must infer truthfulness. Time-based injection relies on measuring server response latency (e.g., via SLEEP commands) to deduce if a condition is true. Boolean-based (or inferential) injection relies on observing differences in application behavior or content between true and false responses. Together, these are the two primary methods for extracting data when no direct error messages or result sets are returned.
Why the Other Options Are Wrong
Union-based injection (Options B and C) requires the target application to display combined results from multiple SELECT statements, which contradicts the "true or false" inference constraint. Error-based injection (Option B) relies on database error messages being displayed to the user, which is not mentioned as a mechanism here. Out-of-band injection (Option A) uses secondary channels like DNS or HTTP requests to exfiltrate data, which does not fit the description of testing response time or boolean logic within the main request.
Community Comment Notes
Community consensus strongly supports Option D, with users noting that "time-based" corresponds to the response time test and "boolean-based" corresponds to the true/false selection. Comments highlight that these two techniques are specifically designed for blind scenarios where direct output is unavailable.
Exam Strategy
When analyzing SQL injection questions, look for keywords indicating 'blind' access (no direct output). If the attacker measures time, it's Time-Based. If they observe content/behavior changes, it's Boolean-Based. Avoid Union/Error unless explicit data display or errors are mentioned.
Frequently Asked Questions
Why isn't Union-based SQL injection correct here?
What is the difference between Boolean and Time-based SQLi?
Community Votes
100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 4 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 4
-
KiranYS 👍 2 Answered DJane Smith can use Time-Based Blind SQL Injection and Boolean-Based Blind SQL Injection to achieve her goal.
-
MHafizC 👍 2 Answered DThe explanations are more towards time-based (response time) and boolean (selection).
-
getaseadsss 👍 2 Answered DIs time-basd and boolean. correct answer is D
-
Dogeo 👍 1 Answered DBoth time-based and boolean-based injection techniques are useful for determining true or false conditions, making them the correct combination for Jane Smith's goal.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.