Hacking challenges › Web › The Forgotten .env

Web · Easy · 10 pts · 10 min

The forgotten .env

KOI publishes a map of “streets under redevelopment” that's really the list of streets it's going to erase. Read the code the website sends you and find the config file someone left in plain sight.

🩸 First blood up for grabs · 0 people have solved it

⚠ For educational purposes only. A simulation for strictly educational purposes. Everything happens in your browser against made-up machines: it doesn't connect to any real system. Using these techniques against computers or networks without their owner's written permission is a crime (articles 197 bis and 264 of the Spanish Criminal Code). Learn in order to defend.

// OPERATOR NODE · THE FORGOTTEN .ENV
main terminal · operador@paralela
operador@paralela:~$
secure channel · CIPHER
target monitor
network traffic
system
visual signal
</>CIPHER · online
mission status
Milestones0/0
Time00:00
Commands0
Hints0/3
Loot10 pts

    Type help to see the commands and man COMANDO for help on one. pista if you get stuck (the first is free; the rest, 5 credits). When you've got it: submit PARALELA{…}.

    What you learn

    Reading a website's source code (HTML and JavaScript), why comments reach the browser and what happens if a .env file or a .git folder is left inside the public folder.

    Solution explained

    It unlocks when you solve the challenge. If you open it before, you still learn, but this challenge won't give you any points.

    Next challenge on the route: Role Cookie →

    FAQ

    What is “The Forgotten .env” challenge about?

    KOI publishes a map of “streets under redevelopment” that's really the list of streets it's going to erase. Read the code the website sends you and find the config file someone left in plain sight. It's a challenge on the Web route, easy difficulty, in the Cyberpunks España Hacklab.

    How do you solve it?

    By typing commands into the simulated terminal until you find the PARALELA{…} flag and handing it in with submit. There are progressive hints (the first is free) and an explained solution.

    Is it legal to practise with this challenge?

    Yes: it all happens in your browser against a made-up system. Using these techniques against real systems without permission is a crime; here you learn in order to defend, and the end of the challenge explains how.

    More questions about Cyberpunks España →