Look at the following SQL query.
SELECT * FROM product WHERE PCategory='computers' or 1=1--'
What will it return? Choose the best answer.
The 1=1 tells the SQL database to return everything, a simplified statement would be SELECT * FROM product WHERE 1=1 (which will always be true for all columns). Thus, this query will return all computers and everything else. The or 1=1 is a common test to see if a web application is vulnerable to a SQL attack.
Josefa
5 days agoDong
11 days agoTwana
16 days agoClaribel
2 months agoFernanda
2 months agoAlexia
2 months agoFranchesca
3 months agoEvan
3 months agoBuffy
3 months agoArlie
3 months agoPura
3 months agoZona
3 months agoJaime
4 months agoBecky
4 months agoAlana
4 months agoSharen
5 months agoTy
5 months agoKimberely
5 months agoDenna
5 months agoHoney
5 months agoEliseo
6 months agoDarci
6 months agoShannon
7 hours ago