Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@matt-
Last active October 5, 2017 20:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matt-/eda86fd247d3d33b025caec3880d0c1d to your computer and use it in GitHub Desktop.
Save matt-/eda86fd247d3d33b025caec3880d0c1d to your computer and use it in GitHub Desktop.
Node MD5Quine
x="q=String.fromCharCode(34);console.log(require('crypto').createHash('md5').update(`x=${q+x+q};${x}`).digest('hex'))";q=String.fromCharCode(34);console.log(require('crypto').createHash('md5').update(`x=${q+x+q};${x}`).digest('hex'))
(_=()=>{console.log(require("crypto").createHash("md5").update(`(_=${_})()`).digest("hex"))})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment