Home CTFs | AmateursCTF2023 | Web | Waiting an Eternity
Post
Cancel

CTFs | AmateursCTF2023 | Web | Waiting an Eternity

Statement

statement

Resolution

On the home page, there is just this message. Nothing else.

home

In the response of the main page, there is a “refresh” header with a url inside.

response_header

On this new page, there is this message.

secret-site

There is a “time” cookie set.

time_header

If I set the value of the cookie to 0 and refresh the page, the message changes.

change_time_header

Since we have to wait for an “eternity”, I set the “time” cookie to a high negative value (-1e1000000) and refresh the page.

We get the flag !!

flag

This challenge is an introduction to the concept of headers and cookies. I hope you have learned something with this writeup 😊.

This post is licensed under CC BY 4.0 by the author.