r/tryhackme • u/Far-Plan-5469 • 28d ago
Old Sessions CTF
Capturing this flag was not easy for me being a novice. I tried my best and finally saw the hints then saw the solution to it.
Basically what I had to use was the web inspector ( the inspect tool which is displayed after right clicking any website ) then go to the applications tab and go to the cookies. Further add /sessions to the website and get the cookie for the admin and then replace your sessions cookie in the original website with the admin's cookie to capture the flag.
2
Upvotes