SQLi - fundamentals

test' OR 1=1; -- #where 1 is the admin user id number in the db

DEFENSE:

https://cheatsheetseries.owasp.org/cheatsheets/Injection_Prevention_Cheat_Sheet.html https://cheatsheetseries.owasp.org/cheatsheets/SQL_Injection_Prevention_Cheat_Sheet.html

SQL Injection payloads:

'OR 1 OR'

'1 OR 1=1; --

Last updated