Skip to content
Katabench
Try free

LIKE Wildcard Escape

Medium About 15 min Katabench Pro

Escape LIKE wildcards so a search term cannot match everything.

The full brief is part of Katabench Pro

Pro opens this kata's brief, its starter code and its grader. To see how the track works first, try Block Private Hosts (SSRF), which is free.

How it is graded

Functional tests and adversarial payloads both have to pass before the solution is accepted.

C# secure coding exercises →

What it practices

SQL injection
Keep untrusted input out of SQL grammar with parameters, quoting and allowlisted identifiers.

Related katas