sanitize
D3v0o0Nu119/2/20261 min read
#web#htb#easy
sanitize
Platform: HackTheBox | Category: Web | Difficulty: Easy | 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 from the
htmltitle, let's 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.