CyberTalents, Web Challenge: The Restricted Sessions

Nouf
2 min readApr 10, 2020

--

Flag is restricted to logged users only , can you be one of them.

By visiting the website, I got this!

So this is a hint that we have to deal with cookies, I visited the source code and I got this great information

so the source code gave me that

the cookie name: PHPSESSID

value: [^;]+)/

just putting these in the cookie’ browser (web developer extension)

I got this

Go to the directory gave me these three session’s values

I tried to test them as a value and I got this

So I went to the buirp suite and try to send the cookie in the body, the result of this gave me the valid user name which is mary

Sending the new cookie’s user & value gave me the flag

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Nouf
Nouf

Written by Nouf

PenTester & Challenges Solver

No responses yet

Write a response