312-50v12 Exam QuestionsBrowse all questions from this exam

312-50v12 Exam - Question 77


Ethical hacker Jane Smith is attempting to perform an SQL injection attack. She wants to test the response time of a true or false response and wants to use a second command to determine whether the database will return true or false results for user IDs.

Which two SQL injection types would give her the results she is looking for?

Show Answer
Correct Answer: D

To test the response time of a true or false response, Jane Smith would use time-based SQL injection, which causes the database to delay its response based on whether a condition is true or false. This allows her to measure the response time to infer the condition's result. Boolean-based SQL injection is utilized to inject statements that return a true or false response directly, helping her determine the database's behavior for user IDs based on boolean conditions. These two techniques together meet Jane's requirements effectively.

Discussion

13 comments
Sign in to comment
jeremy13Option: D
Oct 12, 2023

D. Time-based and boolean-based like 312-50V11 Q182

sausagemanOption: D
Oct 17, 2023

D. Time-based and boolean-based

victorfsOption: D
Nov 14, 2023

The correct option is D. D. Time-based and boolean-based

eli117Option: A
Oct 4, 2023

A. Out of band and boolean-based. Out of band SQL injection involves using an out-of-band (OOB) channel to communicate with the attacker's system. The attacker typically uses this method when the vulnerable application is unable to retrieve data from the database and display it on the web page. The OOB channel can be used to retrieve the data from the database and send it to the attacker's system. Boolean-based SQL injection involves using true or false conditions to infer information about the database. This method involves injecting SQL statements that force the database to return a true or false response, depending on whether the statement is correct or not. By analyzing the response, an attacker can determine whether the injected SQL statement was executed or not.

sTaTiKOption: D
Nov 1, 2023

Time-based cuz is blind and yes or no its boolean.

Muli_70
Nov 9, 2023

C. Time-based and union-based Time-based injection would allow her to test the response time of a true or false response. Union-based injection would allow her to use a second command to determine whether the database will return true or false results for user IDs.

Vincent_Lu
Dec 17, 2023

D. Time-based and boolean-based

581777aOption: D
Feb 5, 2024

Time-based SQL Injection: This technique involves causing the database to delay its response, allowing the attacker to infer information based on the response time. By injecting malicious SQL code that includes time-delay functions (such as WAITFOR DELAY in Microsoft SQL Server or SLEEP() in MySQL), the attacker can observe whether the web application's response time changes, indicating a successful injection. Union-based SQL Injection: This technique involves exploiting a vulnerability in the SQL query to manipulate the structure of the query and retrieve data from other database tables. The attacker uses the UNION SQL operator to combine the results of their malicious query with the original query, extracting data from different tables and columns. The attacker can use boolean conditions to test whether certain conditions are true or false.

insaniuntOption: D
Jun 26, 2024

D. Time-based and boolean-based

angellorv
Dec 27, 2023

Answer B (Union-based and error base - sub category of IN-BAND SQLinjection) https://www.acunetix.com/websitesecurity/sql-injection2/ Union-based SQLi: leverages the UNION SQL operator to combine the results of two or more SELECT statements into a single result which is then returned as part of the HTTP response

Shubh_shana
Sep 7, 2024

chat GPT says option C i am really confused . anyone pls correct that problem

Matthew_H
Dec 23, 2024

union based doesn't show true or false results, UNION sql injection allows you to do a SELECT command to retrieve other table within the same database

LordXanderOption: D
Sep 23, 2024

well...it has the time word and the true and false wards...there's only 1 option that has both

g_man_rap
Oct 27, 2024

D. Time-based and boolean-based: This option involves two techniques that are relevant to the described scenario. Time-based SQL injection is used to measure response time to determine true or false conditions, which fits Jane's requirements. Boolean-based SQL injection is used to send an SQL query that can be evaluated in a true or false context, which also matches what Jane is attempting to achieve.