utility / Red

SQL Injection Cheat Sheet

Reference for SQL injection payloads across MySQL, PostgreSQL, MSSQL, and Oracle.

Runs locally
LOCAL WORKBENCH
Input stays in this browser
SQL Injection Syntax Reference Matrix
100% Local
DatabaseVersion QueryCommentString Concat
MySQLSELECT @@version-- CONCAT(a,b)
PostgreSQLSELECT version()--a || b
Microsoft SQL ServerSELECT @@VERSION--a + b
SQLiteSELECT sqlite_version()--a || b

Continue the thread

Related utilities