Eccouncil ECSAv10 Exam Material
By
Steve Gant,
in EC-Council Certified Security Analyst Exams
Prepare Eccouncil ECSAv10 Exam Questions
Question No 1:
A WHERE clause in SQL specifies that a SQL Data Manipulation Language (DML) statement should only affect rows that meet specified criteri a. The criteria are expressed in the form of predicates. WHERE clauses are not mandatory clauses of SQL DML statements, but can be used to limit the number of rows affected by a SQL DML statement or returned by a query. A pen tester is trying to gain access to a database by inserting exploited query statements with a WHERE clause. The pen tester wants to retrieve all the entries from the database using the WHERE clause from a particular table (e.g. StudentTable). What query does he need to write to retrieve the information?
A. EXTRACT* FROM StudentTable WHERE roll_number = 1 order by 1000
B. DUMP * FROM StudentTable WHERE roll_number = 1 AND 1=1—
C. SELECT * FROM StudentTable WHERE roll_number = '' or '1' = '1‘
D. RETRIVE * FROM StudentTable WHERE roll_number = 1'#
Answer: C
See More Questions
Information About Eccouncil ECSAv10 Exam
Vender: Eccouncil
Exam Code: ECSAv10
Exam Name: Certified Security Analyst (ECSA) v10
Number Of Questions: 201
Certification Name: EC-Council Certified Security Analyst
Exam Language: English
Questions Type: MCQs
Material Format: PDF & Web Practice Test Software