Created
March 31, 2017 16:13
-
-
Save ConorOBrien-Foxx/fb720c7aa3487fed0f0bb23c3ebce687 to your computer and use it in GitHub Desktop.
obfuscation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// only works in browser JS, since node has weird scoping thing | |
(e=x=>{try{return[,(i=eval)(x)][+[]]}catch(e){return{};}})``;a= | |
v=>q=>i(v+"="+q+"("+v+")");P=(O=Object).defineProperty;for([w]= | |
[t,q]=("And they joined it to a very large, circular window"+"" | |
.strip+"Hello, hello!").split([]+[][+[]]);e(t);t=t[T="slice"](+ | |
!t[+q||T](++[[]][+[]]/+[])));a`t``i`;"".split``.__proto__[w[T]( | |
9,O=52>>1+!+"")]=function(o=""){[...this].map(e=>c+=e+o,c="");c | |
+=1;return c.slice(0,~o.length);};d=([x],...y)=>y.map(_=>x[_])+ | |
[];D=f=>(_,...[n,...m])=>i(f+"`"+n+m.map(e=>`\${${e}}`)+"`");I= | |
D`d`;P(t,(!+{}+[])[+[]],{value:q});console.log([][w[T](9,O?O:O) | |
].call(new Set(t)).replace(/[hl]/g,e=>[,"ll",I`${w}${w.length-= | |
6}${o=10}${o+1*('0x'+o)}${29}${'0b'+o<<0}`][++A],A=0)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment