nerdexam
GIAC

GCIH · Question #100

You work as a Network Penetration tester in the Secure Inc. Your company takes the projects to test the security of various companies. Recently, Secure Inc. has assigned you a project to test the secu

Sign in or unlock GCIH to reveal the answer and full explanation for question #100. The question stem and answer options stay visible for context.

Web Application Attacks & Post-Exploitation

Question

You work as a Network Penetration tester in the Secure Inc. Your company takes the projects to test the security of various companies. Recently, Secure Inc. has assigned you a project to test the security of a Web site. You go to the Web site login page and you run the following SQL query:

SELECT email, passwd, login_id, full_name FROM members WHERE email = '[email protected]'; DROP TABLE members; --' What task will the above SQL query perform?

Options

  • ADeletes the database in which members table resides.
  • BDeletes the rows of members table where email id is '[email protected]' given.
  • CPerforms the XSS attacks.
  • DDeletes the entire members table.

Unlock GCIH to see the answer

You've previewed enough free GCIH questions. Unlock GCIH for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#SQL injection#DROP TABLE#database attacks#web application security
Full GCIH Practice