Skip to content

Instantly share code, notes, and snippets.

@tyage
Created October 25, 2014 09:25
Show Gist options
  • Save tyage/af2ee9f59e7db3b67f8b to your computer and use it in GitHub Desktop.
Save tyage/af2ee9f59e7db3b67f8b to your computer and use it in GitHub Desktop.
writeup for Dalton's Corporate Security Safe for Business

Run it from the JavaScript console many times!

texts = {}
array = []
CanvasRenderingContext2D.prototype.fillText = function(a, x, y) {
  texts[x] = a
}
eval(document.querySelector('script').innerText)
for (x in texts) array.push(texts[x])
document.querySelector('input[name="solution"]').value = array.join('')
document.querySelector('form').submit()

FLAG :D :D fef9565c97c3a62fe10d2a0084a9e8179d72f4a05084997cb80e900d1a77a42e3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment