Flagvent 2025 (Medium) — pink, Santa’s Wishlist, Christmas M... #1726
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
This post is a set of technical writeups for Flagvent 2025 “medium” challenges. It includes multiple actionable techniques: APNG frame extraction plus pixel-count steganography, DOM XSS via window.name abuse with an admin Playwright bot, hex-in-metadata decoding, and modem/FSK decoding plus CSS unicode-range data extraction.
FV25.05 – “pink” (APNG pixel-count steganography)
🔧 Technical Details
APNG frame-based steganography via pixel-count deltas: If a “PNG” is actually an APNG, confirm via metadata (e.g., ExifTool) and extract frames with
ffmpeg -i file.png -vsync 0 frames/frame_%03d.png. Then compute per-frame color histograms (e.g., Pillowimg.getcolors()) and interpret a chosen color’s pixel count as data (ASCII viachr(count)) across frames to reconstruct a message.DOM XSS via implicit global
name→window.name: Referencing/assigning tonamewithoutlet/const/varcan bind towindow.name. If application logic later consumesnameunsafely, an attacker can pre-set the browsing-context name usingiframe.nameorwindow.open(url, targetName, ...), enabling script execution in the victim origin.Admin/bot exploitation pattern (seed secret → visit attacker URL → exfiltrate): ...
🤖 Agent Actions
Updated HackTricks with new stego and XSS techniques from the blog:
pentesting-web/xss-cross-site-scripting/dom-xss.md, plus references.stego/images/README.mdwith APNG pixel-count extraction workflow (detection, ffmpeg frame dump, Pillow color counting) and references.stego/audio/README.md.unicode-rangebyte extraction technique and added references tostego/text/README.md.All updated files now include a references section citing the source blog.
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.