webmedium

Dark Runes

hackthebox

Task: Read /flag.txt from a Node.js web app with PDF generation capabilities. Solution: Register as "admin" (no admin user pre-created), brute-force a 4-digit access code on the unsanitized debug export endpoint, and use PhantomJS file:// protocol via iframe in the PDF payload to read the local flag file.

$ ls tags/ techniques/
admin_registration_bypassaccess_code_brute_forcephantomjs_file_readssrf_via_pdf_generationiframe_file_protocol

🔒

Permission denied (requires tier.pro)

Sign in to access full writeups

Create a free account with GitHub, then upgrade to Pro.

$ssh [email protected]