sanitize
XESXOR8/23/20261 min read
#web#htb#n/a
sanitize
Platform: HackTheBox | Category: Web | Difficulty: N/A | Author: D3v0o0Nu11 | Date: 2026-02-10
Description
Can you escape the query context and log in as admin at my super secure login page?
Solution Approach
Core idea: Identify the weakness from source review or fingerprinting first. Iterate with incremental payloads instead of guessing.
Steps
-
First, open the host given.
-
Based on the
htmltitle, Try to inject simple SQLi payload. -
Input the username as
admin'--and the password asadmin'--. -
Got the flag!
Flag
REDACTED
Lessons Learned
- Identify the weakness from source review or fingerprinting first.
- Iterate with incremental payloads instead of guessing.
- Reuse the same pattern in future engagements.