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/PDFyarrow-up-right

Solution

The webapp seems to be making requests to URL, making a screenshot and saving it as PDF file.

PDFy.png

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

PDFy-1.png

Send the URL:

PDFy-2.png
circle-check

Last updated