Tries --:--:-- left
Next hack in --:--:--
Warm-up

Your first hack, in 60 seconds

Every Daily Hack works the same way: read the briefing, look at the evidence, type the answer. Try it here first - no XP, no pressure.

Mission briefing

Developers sometimes leave notes in a page's source code that visitors never see. This login page ships one. Read the source below and find the staff password.

Investigate
<form action="/login" method="post">
  <input name="user" placeholder="Username">
  <input name="pass" type="password" placeholder="Password">
  <!-- TODO: remove before launch - staff password is "sunrise" -->
  <button>Sign in</button>
</form>
Your answer
Daily Hack #117 First blood M2F14M3 Solved by Sypher joeyjoey CaveMagg0t cind3rvy IBSierra aliraza15

The header that skips the check

Web & API Security Difficulty Medium ~5 min +10 XP
Mission briefing

Mereton's internal console puts its login wall in Next.js middleware: every request to /admin is supposed to pass through it first. A researcher noticed the framework trusts a header it uses to talk to itself, and that nothing stops you from sending that header from the outside. The request to the admin dashboard is loaded in the editor. Make the middleware stand aside and read the admin API key the dashboard prints once you are in.

Investigate
Your answer

Play freely - sign up to submit your answer and earn XP.

Solved! +10 XP
First blood! You were first to crack today's hack.
How it works

Up next Pro
Play next hack

Nice one!

Sign up free to claim your +10 XP and start your series.

Claim +10 XP - sign up free
32,000+ Hackers Real labs Free
Start Hacking Free or solve today's hack, no account needed