SQL Queries

Begin Learning Cyber Security for FREE Now!

Already a Member Login Here

Background: Bob works as a Network Penetration tester. His workgroup has multiple projects for security testing the websites of several companies. Working with one of these company websites, Bob visits to the login page of the website and runs the below SQL query:

1. SELECT email, passwd, login_id, full_nameFROM membersWHERE email =’attacker@somehwere.com‘; DROP TABLE members;–‘

Q: What task will Bob’s SQL query complete?

a. It will delete the members table in its entirety.

b. It will deletes rows of members table when email id is given as ‘attacker@somehwere.com’

c. It will delete all databases storing this members table.

d. It will launch XSS attacks.

View Topics

Our Revolution

We believe Cyber Security training should accessible for everyone, everywhere. Everyone deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is the world's largest community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

We recommend always using caution when following any link

Are you sure you want to continue?