nerdexam
GIAC

GPEN · Question #102

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 GPEN to reveal the answer and full explanation for question #102. The question stem and answer options stay visible for context.

Web Application Penetration Testing

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

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

Unlock GPEN to see the answer

You've previewed enough free GPEN questions. Unlock GPEN 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 manipulation#web attack
Full GPEN Practice