Skip to content

Instantly share code, notes, and snippets.

@volpino
Created December 7, 2014 11:49
Show Gist options
  • Save volpino/031959a2873beb6c65f3 to your computer and use it in GitHub Desktop.
Save volpino/031959a2873beb6c65f3 to your computer and use it in GitHub Desktop.
SECCON js puzzle
"use strict";
({"function" :function(){
this[ "null" ] = (new Function( "return" + "/*^_^*/" + "this" ))();
var pattern = "^[w]$";
var r = new RegExp( pattern );
this[ r[ "exec" ]( pattern ) ][ "alert" ]( 1 );
}})[ "Function"[ "toLowerCase" ]() ]();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment