I am trying to bypass a filter on a black-box SQL injection CTF that likely looks like /or/i
. I suspect the filter is in a WAF somewhere in between me and the target.
To get the OR
keyword, I use ||
.
Instead of using the ORD()
function, I use ASCII()
.
But the DBMS is MySQL, how can I use INFORMATION_SCHEMA
which contains "OR" as a substring as part of a statement such as SELECT ... FROM INFORMATION_SCHEMA.tables
?
I tried bypassing the WAF via other ways but without success:
- URL-encoding
- Double URL-encoding
- UTF-8 encoding