Skip to content

Instantly share code, notes, and snippets.

@tobyjsullivan
Created June 1, 2016 00:57
Show Gist options
  • Save tobyjsullivan/b853c937a2a8c562d4216b5d30bde246 to your computer and use it in GitHub Desktop.
Save tobyjsullivan/b853c937a2a8c562d4216b5d30bde246 to your computer and use it in GitHub Desktop.
Thintel
Taken from: https://www.google.com/js/th/xcoWlAKVx6cl2goeDVagdx3OJQvQ3hwXRwBhFWqI9A0.js
/* Anti-spam. Questions? Write to (rot13) guvagvary-dhrfgvbaf@tbbtyr.pbz */(function(){eval('var D=function(t,Z,Y){if(Z=typeof t,"object"==Z)if(t){if(t instanceof Array)return"array";if(t instanceof Object)return Z;if(Y=Object.prototype.toString.call(t),"[object Window]"==Y)return"object";if("[object Array]"==Y||"number"==typeof t.length&&"undefined"!=typeof t.splice&&"undefined"!=typeof t.propertyIsEnumerable&&!t.propertyIsEnumerable("splice"))return"array";if("[object Function]"==Y||"undefined"!=typeof t.call&&"undefined"!=typeof t.propertyIsEnumerable&&!t.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==Z&&"undefined"==typeof t.call)return"object";return Z},A=function(t,Z,Y,n,T){Y=t.split("."),n=z,Y[0]in n||!n.execScript||n.execScript("var "+Y[0]);for(;Y.length&&(T=Y.shift());)Y.length||void 0===Z?n=n[T]?n[T]:n[T]={}:n[T]=Z},w=function(t,Z,Y){return 2>=arguments.length?Array.prototype.slice.call(t,Z):Array.prototype.slice.call(t,Z,Y)},z=this,K,R=(new function(){},function(t,Z){t.Z=[],J(t,t.h,0),J(t,t.I,0),J(t,t.Y,0),J(t,t.i,0),J(t,t.g,{}),J(t,t.V,P(4)),J(t,t.T,[t.p6,0,0]),J(t,t.Sg,"object"==typeof window?window:z),J(t,t.t$,t),t.L=true,J(t,t.a,2048),J(t,t.G,0),J(t,t.N,t.N),J(t,t.v,[]),J(t,t.K,[]),J(t,t.c,0),J(t,25,function(){}),J(t,97,function(Y){a(Y,2)}),J(t,60,function(Y,t,T,Z){t=k(Y),T=k(Y),Z=Y.S(k(Y)),T=Y.S(T),J(Y,t,v(Y,T,Z))}),J(t,37,function(Y,t,T){t=k(Y),T=k(Y),t=Y.S(t),J(Y,T,D(t))}),J(t,124,function(Y){S(Y,1)}),J(t,70,function(Y){a(Y,1)}),J(t,44,function(Y,t,T,Z){t=k(Y),T=k(Y),Z=k(Y),Y.S(t)>Y.S(T)&&J(Y,Z,Y.S(Z)+1)}),J(t,32,function(Y,t,T,Z,Q){for(t=k(Y),T=N(Y),Z=Array(T),Q=0;Q<T;Q++)Z[Q]=k(Y);J(Y,t,Z)}),J(t,84,function(Y,t,T,Z){t=k(Y),T=k(Y),Z=k(Y),T=Y.S(T),t=Y.S(t),J(Y,Z,t[T])}),J(t,78,function(){}),J(t,63,function(Y){I(Y,4)}),J(t,109,function(Y,t,Z,x){t=k(Y),Z=k(Y),x=k(Y),Y.S(t)[Y.S(Z)]=Y.S(x)}),J(t,2,function(Y,t,Z,x){t=k(Y),Z=k(Y),x=k(Y),J(Y,x,(Y.S(t)in Y.S(Z))+0)}),J(t,74,function(t,Z,T,x){Z=k(t),T=k(t),x=k(t),J(t,x,t.S(Z)<<T)}),J(t,67,function(t,Z){Z=e(t),J(t,Z.s,Z.J.apply(Z.B,Z.o))}),J(t,61,function(t){I(t,0)}),J(t,101,function(t,Z,T){Z=k(t),T=k(t),J(t,T,t.S(T)-t.S(Z))}),J(t,24,function(t,Z,T,x){if(Z=t.D.pop()){for(T=k(t);0<T;T--)x=k(t),Z[x]=t.Z[x];Z[t.K]=t.Z[t.K],t.Z=Z}else J(t,t.h,t.m.length)}),J(t,39,function(t,Z,T){Z=k(t),T=k(t),J(t,T,t.S(T)*t.S(Z))}),J(t,118,function(t,Z,T){Z=k(t),T=k(t),J(t,T,""+t.S(Z))}),J(t,19,function(t,Z,T){Z=k(t),T=k(t),J(t,T,function(t){return eval(t)}(t.S(Z)))}),J(t,8,function(t,Z,T){Z=k(t),T=k(t),J(t,T,t.S(T)%t.S(Z))}),J(t,89,function(){}),J(t,90,function(t,Z,T){Z=k(t),T=k(t),0!=t.S(Z)&&J(t,t.h,t.S(T))}),J(t,100,function(t){a(t,4)}),J(t,125,function(t,Z,T,x,Q,B){if(Z=k(t),T=k(t),x=k(t),Q=k(t),Z=t.S(Z),T=t.S(T),x=t.S(x),t=t.S(Q),"object"==D(Z)){for(B in Q=[],Z)Q.push(B);Z=Q}for(B=Z.length,Q=0;Q<B;Q+=x)T(Z.slice(Q,Q+x),t)}),J(t,114,function(t,Z,T,x){Z=k(t),T=k(t),x=k(t),J(t,x,t.S(Z)||t.S(T))}),J(t,55,function(t,Z,T,x,Q,B,d){Z=e(t),T=Z.o,x=Z.B,Q=Z.J,d=T.length,0==d?B=new x[Q]:1==d?B=new x[Q](T[0]):2==d?B=new x[Q](T[0],T[1]):3==d?B=new x[Q](T[0],T[1],T[2]):4==d?B=new x[Q](T[0],T[1],T[2],T[3]):t.w(t.C),J(t,Z.s,B)}),J(t,22,function(){}),J(t,86,function(t,Z,T){Z=k(t),T=k(t),Z=t.Z[Z]&&t.S(Z),J(t,T,Z)}),J(t,81,function(t){I(t,3)}),J(t,66,function(t){S(t,4)}),J(t,91,function(t,Z){Z=t.S(k(t)),f(t,Z)}),J(t,122,function(t,Z){Z=k(t),t=t.S(Z),t[0].removeEventListener(t[1],t[2],false)}),J(t,12,function(t){S(t,2)}),J(t,50,function(t){I(t,7)}),J(t,113,function(t,Z,T,x,Q){Z=k(t),T=k(t),x=k(t),Z=t.S(Z),Q=t.S(k(t)),T=t.S(T),x=t.S(x),0!==Z&&(x=v(t,x,Q,Z),Z.addEventListener(T,x,false),J(t,t.c,[Z,T,x]))}),J(t,27,function(t,Z,T,x){Z=k(t),T=k(t),x=k(t),J(t,x,t.S(Z)>>T)}),J(t,110,function(t,Z,T,x){Z=k(t),T=k(t),x=k(t),J(t,x,t.S(Z)|t.S(T))}),J(t,65,function(t,Z,T,x,Q,B,d,r,C,l){if(Z=k(t),T=N(t),x="",void 0!=t.Z[t.j])for(Q=t.S(t.j),d=Q.length,B=0;T--;)B=(B+N(t))%d,x+=Q[B];else{for(x=Array(T),Q=0;Q<T;Q++)x[Q]=k(t);for(T=[],B=Q=0;Q<x.length;)d=x[Q++],128>d?T[B++]=String.fromCharCode(d):191<d&&224>d?(r=x[Q++],T[B++]=String.fromCharCode((d&31)<<6|r&63)):239<d&&365>d?(r=x[Q++],C=x[Q++],l=x[Q++],d=((d&7)<<18|(r&63)<<12|(C&63)<<6|l&63)-65536,T[B++]=String.fromCharCode(55296+(d>>10)),T[B++]=String.fromCharCode(56320+(d&1023))):(r=x[Q++],C=x[Q++],T[B++]=String.fromCharCode((d&15)<<12|(r&63)<<6|C&63));x=T.join("")}J(t,Z,x)}),J(t,87,function(t,Z,T){Z=k(t),T=k(t),J(t,T,t.S(T)+t.S(Z))}),J(t,72,function(t,Z,T,x){Z=k(t),T=k(t),x=k(t),t.S(Z)==t.S(T)&&J(t,x,t.S(x)+1)}),u(),Z&&","==Z.charAt(0)?t.f=Z:(t.m=window.atob?O(window.atob(Z)):null,t.m&&t.m.length?(t.D=[],t.M()):t.w(t.H))}),b=function(t,Z,Y,n,T){for(Z=[],n=Y=0;n<t.length;n++)T=t.charCodeAt(n),128>T?Z[Y++]=T:(2048>T?Z[Y++]=T>>6|192:(55296==(T&64512)&&n+1<t.length&&56320==(t.charCodeAt(n+1)&64512)?(T=65536+((T&1023)<<10)+(t.charCodeAt(++n)&1023),Z[Y++]=T>>18|240,Z[Y++]=T>>12&63|128):Z[Y++]=T>>12|224,Z[Y++]=T>>6&63|128),Z[Y++]=T&63|128);return Z},L=function(t,Z,Y,n,T,x,Q,B,d){return Y=function(t,C,l){for(t=n[T.U],C=t===Z,t=t&&t[T.U],l=0;t&&t!=x&&t!=Q&&t!=B&&t!=d&&20>l;)l++,t=t[T.U];return Y[T.wR+C+!(!t+(l+3>>3))]},n=function(){return Y()},T=g.prototype,x=T.M,Q=T.l,d=T.w,B=g,n[T.F]=function(t){Y[T.A]=t},n[T.F](t),t=n},q=function(t,Z,Y,n,T,x){for(T=t.S(Z),Z=Z==t.V?function(Z,Y,n,x){if(Y=T.length,n=Y-4>>3,T.ay!=n){T.ay=n,n=(n<<3)-4,x=[0,0,0,t.S(t.G)];try{T.VG=V(h(T,n),h(T,n+4),x)}catch(C){throw C;}}T.push(T.VG[Y&7]^Z)}:function(t){T.push(t)},n&&Z(n&255),n=Y.length,x=0;x<n;x++)Z(Y[x])},k=function(t,Z,Y){if(Z=t.S(t.h),!(Z in t.m))throw t.w(t.R),t.X;return void 0==t.P&&(t.P=h(t.m,Z-4),t.$=void 0),t.$!=Z>>3&&(t.$=Z>>3,Y=[0,0,0,t.S(t.i)],t.Ny=V(t.P,t.$,Y)),J(t,t.h,Z+1),t.m[Z]^t.Ny[Z%8]},J=function(t,Z,Y){if(Z==t.h||Z==t.I)if(t.Z[Z])t.Z[Z][t.F](Y);else t.Z[Z]=m(t,Y);else if(Z!=t.T&&Z!=t.V&&Z!=t.K||!t.Z[Z])t.Z[Z]=L(Y,t.S);Z==t.i&&(t.P=void 0,J(t,t.h,t.S(t.h)+4))},e=function(t,Z,Y,n,T,x){for(Z={},Y=k(t),Z.s=k(t),Z.o=[],n=k(t)-1,T=k(t),x=0;x<n;x++)Z.o.push(k(t));for(Z.J=t.S(Y),Z.B=t.S(T);n--;)Z.o[n]=t.S(Z.o[n]);return Z},V=function(t,Z,Y,n){try{for(n=0;76138654048!=n;)t+=(Z<<4^Z>>>5)+Z^n+Y[n&3],n+=2379332939,Z+=(t<<4^t>>>5)+t^n+Y[n>>>11&3];return[t>>>24,t>>16&255,t>>8&255,t&255,Z>>>24,Z>>16&255,Z>>8&255,Z&255]}catch(T){throw T;}},G=function(t,Z,Y,n){return Y=t.S(t.h),t.m&&Y<t.m.length?(J(t,t.h,t.m.length),f(t,Z)):J(t,t.h,Z),n=t.M(),J(t,t.h,Y),n},c=function(t,Z,Y,n){if(8192>=t.length)return String.fromCharCode.apply(null,t);for(Z="",Y=0;Y<t.length;Y+=8192)n=w(t,Y,Y+8192),Z+=String.fromCharCode.apply(null,n);return Z},O=function(t,Z,Y,n,T){for(Z=[],n=Y=0;n<t.length;n++){for(T=t.charCodeAt(n);255<T;)Z[Y++]=T&255,T>>=8;Z[Y++]=T}return Z},m=function(t,Z,Y,n){return Y=function(){return n()},n=function(){return Z},Y[t.F]=function(t){Z=t},Y},F=function(t,Z,Y,n){for(n=Z-1,Y=[];0<=n;n--)Y[Z-1-n]=t>>8*n&255;return Y},v=function(t,Z,Y,n){return function(){if(!n||t.L)return J(t,t.h$,arguments),J(t,t.g,Y),G(t,Z)}},f=function(t,Z){t.D.push(t.Z.slice()),t.Z[t.h]=void 0,J(t,t.h,Z)},h=function(t,Z){return t[Z]<<24|t[Z+1]<<16|t[Z+2]<<8|t[Z+3]},P=function(t,Z){for(Z=Array(t);t--;)Z[t]=255*Math.random()|0;return Z},N=function(t,Z){return Z=k(t),Z&128&&(Z=Z&127|k(t)<<7),Z},U=function(t,Z){t.f=("E:"+Z.message+":"+Z.stack).slice(0,2048)},g=function(t){try{R(this,t)}catch(Z){U(this,Z)}},u=(g.prototype.w=function(t,Z,Y,n){n=this.S(this.I),t=[t,n>>8&255,n&255],void 0!=Y&&t.push(Y),0==this.S(this.K).length&&(this.Z[this.K]=void 0,J(this,this.K,t)),Y="",Z&&(Z.message&&(Y+=Z.message),Z.stack&&(Y+=":"+Z.stack)),Z=this.S(this.a),3<Z&&(Y=Y.slice(0,Z-3),Z-=Y.length+3,Y=b(Y.replace(/\\r\\n/g,"\\n")),q(this,this.V,F(Y.length,2).concat(Y),this.Th)),J(this,this.a,Z)},g.prototype.zh=function(t,Z){Z.push(t[0]<<24|t[1]<<16|t[2]<<8|t[3]),Z.push(t[4]<<24|t[5]<<16|t[6]<<8|t[7]),Z.push(t[8]<<24|t[9]<<16|t[10]<<8|t[11])},g.prototype.f6=function(t,Z,Y,n){if(3==t.length){for(Y=0;3>Y;Y++)Z[Y]+=t[Y];for(n=[13,8,13,12,16,5,3,10,15],Y=0;9>Y;Y++)Z[3](Z,Y%3,n[Y])}},g.prototype.dR=function(t,Z,Y,n){try{n=t[(Z+2)%3],t[Z]=t[Z]-t[(Z+1)%3]-n^(1==Z?n<<Y:n>>>Y)}catch(T){throw T;}},g.prototype.S=function(t,Z){if(Z=this.Z[t],void 0===Z)throw this.w(this.b,0,t),this.X;return Z()},function(t){for(t=0;64>t;++t);}),I=(K=g.prototype,K.g=158,K.K=182,K.i=188,K.j=174,K.v=225,K.N=210,K.I=208,K.T=154,K.Y=254,K.Sg=178,K.h=222,K.h$=173,K.V=179,K.G=129,K.c=202,K.O=184,K.a=247,K.t$=199,K.ZF=253,K.Th=254,K.mB=248,K.rR=107,K.p6=87,K.H=17,K.W=21,K.C=22,K.b=30,K.R=31,K.u=33,K.X={},K.U="caller",K.F="toString",K.wR=34,K.A=36,K.K6=false,K=g.prototype,K.Iy=function(t){return(t=window.performance)&&t.now?function(){return t.now()|0}:function(){return+new Date}}(),K.l=function(t,Z,Y,n,T,x,Q,B,d,r,C){if(this.f)return this.f;try{if(this.L=false,Z=this.S(this.T).length,Y=this.S(this.V).length,n=this.S(this.a),this.Z[this.O]&&G(this,this.S(this.O)),T=F(this.S(this.T).length+2,2),x=this.S(this.K),0<x.length&&q(this,this.T,F(x.length,2).concat(x),this.ZF),Q=this.S(this.Y)&511,Q-=this.S(this.T).length+5,B=this.S(this.V),4<B.length&&(Q-=B.length+3),0<Q&&q(this,this.T,F(Q,2).concat(P(Q)),this.mB),4<B.length&&q(this,this.T,F(B.length,2).concat(B),this.rR),d=P(2).concat(this.S(this.T)),d[1]=d[0]^241,d[3]=d[1]^T[0],d[4]=d[1]^T[1],r=window.btoa?window.btoa(c(d)).replace(/\\+/g,"-").replace(/\\//g,"_").replace(/=/g,""):void 0,r)r=","+r;else for(r="",T=0;T<d.length;T++)C=d[T][this.F](16),1==C.length&&(C="0"+C),r+=C;this.S(this.T).length=Z,this.S(this.V).length=Y,J(this,this.a,n),this.L=true,t=r}catch(l){U(this,l),t=this.f}return t},K.M=function(t,Z,Y,n,T,x){try{for(t=this.m.length,Y=void 0,Z=5001,n=0;(--Z||this.K6)&&(n=this.S(this.h))<t;)try{J(this,this.I,n),T=k(this),(Y=this.S(T))&&Y.call?Y(this):this.w(this.W,0,T)}catch(Q){Q!=this.X&&(x=this.S(this.N),x!=this.N?(J(this,x,Q),J(this,this.N,this.N)):this.w(this.C,Q))}Z||this.w(this.u)}catch(Q){try{this.w(this.C,Q)}catch(B){U(this,B)}}return this.S(this.g)},K.yG=function(t,Z,Y,n,T){for(T=n=0;T<t.length;T++)n+=t.charCodeAt(T),n+=n<<10,n^=n>>6;return n+=n<<3,n^=n>>11,t=n+(n<<15)>>>0,n=new Number(t&(1<<Z)-1),n[0]=(t>>>Z)%Y,n},function(t,Z,Y,n,T,x){Y=Z&4,n=Z&3,T=k(t),x=k(t),T=t.S(T),Y&&(T=b((""+T).replace(/\\r\\n/g,"\\n"))),n&&q(t,x,F(T.length,2)),q(t,x,T)}),a=(K.QG=function(t,Z,Y,n,T,x){for(Y=[],x=n=0;x<t.length;x++)for(T=T<<Z|t[x],n+=Z;7<n;)n-=8,Y.push(T>>n&255);return Y},K.oy=function(t,Z,Y){return Z^=Z<<13,Z^=Z>>17,(Z=(Z^Z<<5)&Y)||(Z=1),t^Z},function(t,Z,Y,n){for(Y=k(t),n=0;0<Z;Z--)n=n<<8|k(t);J(t,Y,n)}),S=function(t,Z,Y,n){Y=k(t),n=k(t),q(t,n,F(t.S(Y),Z))};K.FM=function(t,Z){return Z=this.l(),t&&t(Z),Z};try{window.addEventListener("unload",function(){},false)}catch(t){}A("thintinel.th",g),A("thintinel.th.prototype.exec",g.prototype.FM);')})()
@monokrome
Copy link

monokrome commented Nov 29, 2021

@tobyjsullivan Ever figure out what this is?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment