After IEND
Base64 data is appended after the end of the PNG and ignored by image viewers.
Image viewers stop reading when they hit the <code>IEND</code> chunk. Anything after it is not displayed, but it stays inside the file. Someone took advantage of that.
ObjectiveFind the data after the end of the PNG and decode it until the flag appears.
Useful tools
stringsbinwalkbase64Python
Files
appended.png
DownloadHints
Hint 1
Download
appended.png. Run strings appended.png | tail or binwalk appended.png. Look for the --NORDVIK-- marker.Hint 2
After the marker there is a base64 string. Take only that string, then decode it with
base64 -d. Do not decode the whole PNG file.Hint 3
The decoded result is the flag. Python alternative:
data = open("appended.png","rb").read(); print(base64.b64decode(data.split(b"--NORDVIK--")[1]).decode().strip()).