PDFy
Description
Welcome to PDFy, the exciting challenge where you turn your favorite web pages into portable PDF documents! It's your chance to capture, share, and preserve the best of the internet with precision and creativity. Join us and transform the way we save and cherish web content!
NOTE: Leak /etc/passwd to get the flag!
URL: https://app.hackthebox.com/challenges/PDFy
Solution
The webapp seems to be making requests to URL, making a screenshot and saving it as PDF file.

Unfortunately meta tag redirect doesn't work for file:// protocol
But we can always create our own server. Simply add redirection to /etc/passwd and serve.
To expose your server you can use something like ngrok for simplicity

Send the URL:

Flag: HTB{pdF_g3n3r4t1on_g03s_brrr!}
Last updated