Skip to content

Instantly share code, notes, and snippets.

View domedfd's full-sized avatar

Domenico Delvalle domedfd

View GitHub Profile
@volpino
volpino / jspuzzle.js
Created December 7, 2014 11:49
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" ]() ]();