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.
Claribel
15 days agoFernanda
20 days agoAlexia
25 days agoFranchesca
1 month agoEvan
1 month agoBuffy
1 month agoArlie
2 months agoPura
2 months agoZona
2 months agoJaime
2 months agoBecky
2 months agoAlana
2 months agoSharen
3 months agoTy
3 months agoKimberely
4 months agoDenna
4 months agoHoney
4 months agoEliseo
4 months agoDarci
4 months ago