Mercure’s Signature Dish Writeup

Published on 20 Sep 2020
1 min read
DOMECTF2020

Story

Hotel Me.Mercure is an online secret food ordering platform. Find a way to order their signature dishes!

Solution

A URL is provided, which leads to a login page. The challenger has to login using username and password, but as we know the password is not given (username is provided).

After logging in, you can find a PDF file, which is also protected by a password. Inside the PDF, the flag is hidden. You have to find out the password to login and also you have to crack the password of the pdf file.

1. Brute force the login page using rockyou.txt file to crack the login page password.

dish 1

2. After login there will be a PDF file, which is also protected by password.

dish 2

3. Use “John the Ripper” to crack the password for this file, and the flag will be hidden in the PDF. A simple text hiding method was used to hide the flag.

dish 3
Jishnu Vijayan
Written by
Security Engineer

As a dedicated Security Engineer, Jishnu brings a wealth of expertise and a vigilant approach to protecting digital environments from relentless cyber threats. With a keen analytical mind and a strong background in cybersecurity, he serves as a vigilant guardian of data and systems. Jishnu's commitment to staying ahead of the ever-evolving threat landscape and his expertise in securing digital assets make him an essential asset in the ongoing battle against cybercrime.

Experience the Beagle Security platform
Unlock one full penetration test and all Advanced plan features free for 14 days
4.8 on G2 • ISO 27001 certified
See How Beagle Security Works
No credit card • No setup required
Launch interactive demo