$ cat writeup.md…
$ cat writeup.md…
hackthebox
Task: Interactive text game requiring automated responses to scenarios (GORGE→STOP, PHREAK→DROP, FIRE→ROLL). Solution: Used pwntools for interactive connection and regex parsing to extract scenarios and send correct responses.
$ cat /etc/rate-limit
Rate limit reached (20 reads/hour per IP). Showing preview only — full content returns at the next hour roll-over.
An interactive HackTheBox challenge featuring a text-based game "The Fray: The Video Game". The player must respond to various scenarios with the correct actions:
| Scenario | Action |
|---|---|
| GORGE | STOP |
| PHREAK | DROP |
| FIRE | ROLL |
When multiple scenarios are presented together (e.g., "GORGE, FIRE, PHREAK"), the response should be "STOP-ROLL-DROP" (actions joined by hyphens).
nc 94.237.120.233 51681
Upon connection, we receive a prompt to start the game:
Welcome to The Fray: The Video Game!
We will present you with various scenarios that you must react to.
If you have any questions, please direct them to the organisers.
Do you want to start? (y/n):
After sending 'y', the game starts with an endless stream of scenarios:
What do you do?
GORGE
Your response:
Key observations:
#!/usr/bin/env python3 """ HTB - Stop Drop and Roll Interactive challenge solution using pwntools. The challenge simulates a video game where the player must respond to scenarios with correct actions: - GORGE → STOP - PHREAK → DROP - FIRE → ROLL """ ...
$ grep --similar