Spookifier
D3v0o0Nu119/2/20261 min read
#web#htb#very easy
Spookifier
Platform: HackTheBox | Category: Web | Difficulty: Very Easy | Author: D3v0o0Nu11 | Date: 2026-02-10
Description
There's a new trend of an application that generates a spooky name for you. Users of that application later discovered that their real names were also magically changed, causing havoc in their life. Could you help bring down this application?
Solution Approach
Core idea: Identify the weakness from source review or fingerprinting first. Iterate with incremental payloads instead of guessing.
Steps
-
Let's open the host given.
-
Let's input
Hallo. -
Notice our input displayed as the parameter value.
-
Let's try to input addition. | ${1+3}
-
Based from the result we got, we can suggest that the website is vuln to SSTI.
-
Let's input another payload.
${system('cat flag.txt')}
- Hmm.. try this one now:
php read-only • copy allowed${open('/flag.txt').read()}
- 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.