Skip to content

Instantly share code, notes, and snippets.

@domedfd
Forked from volpino/jspuzzle.js
Created May 23, 2018 14:13
Show Gist options
  • Save domedfd/018a774fa8395795fcf5c1de13bf6c9c to your computer and use it in GitHub Desktop.
Save domedfd/018a774fa8395795fcf5c1de13bf6c9c 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