Skip to content

Instantly share code, notes, and snippets.

@hakatashi
Last active August 29, 2015 14:19
Show Gist options
  • Select an option

  • Save hakatashi/7db84cb7e8f1122d0bf9 to your computer and use it in GitHub Desktop.

Select an option

Save hakatashi/7db84cb7e8f1122d0bf9 to your computer and use it in GitHub Desktop.
Teaser CONFidence CTF 2015 - A PNG Tale
var fs = require('fs');
var hidden = fs.readFileSync('hidden.dat');
var ptr = 0;
for (var ptr = 0; ptr < hidden.length; ptr += 2401) {
process.stdout.write(hidden.readUInt8(ptr).toString());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment