This file contains hidden or 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
function b2a(r) { | |
function utf(r) { | |
var t, e, o; | |
for (r = r.replace(/\r\n/g, "\n"), t = "", e = 0; e < r.length; e++) o = r.charCodeAt(e), | |
128 > o ? t += String.fromCharCode(o) :o > 127 && 2048 > o ? (t += String.fromCharCode(192 | o >> 6), | |
t += String.fromCharCode(128 | 63 & o)) :(t += String.fromCharCode(224 | o >> 12), | |
t += String.fromCharCode(128 | 63 & o >> 6), t += String.fromCharCode(128 | 63 & o)); | |
return t; | |
} | |
var t, a, h, e, o, c, n = "", C = 0, i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; |
This file contains hidden or 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
var WHAK= | |
'var C="charCodeAt",G=eval,'+ | |
'I="indexOf",Q="charAt",U=32768,M=G('+ | |
'"Math.pow");_$={_:"WHAK+com/PaCker=BDEFGIJL'+ | |
'MNOQRSTUVXYZbdfghijlnpqstuvwxyz0123456789",_f:Str'+ | |
'ing.fromCharCode,$:function(r){if(null==r)return"";v'+ | |
'ar a,e,t,o,h,c,f="",n=0,i=0,d=_$._f;for(r=r.replace(/[^A-'+ | |
'Za-z0-9+/=]/g,"");i<r.length;)e=_$._[I](r[Q](i++)),t=_$._[I]('+ | |
'r[Q](i++)),h=_$._[I](r[Q](i++)),c=_$._[I](r[Q](i++)),e=e<<2|t>>4,'+ | |
't=(15&t)<<4|h>>2,o=(3&h)<<6|c,0==n%2?(a=e<<8,64!=h&&(f+=d(a|t)),64!'+ |
This file contains hidden or 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
var W,H,A,K; | |
H ="& < > " '"[$="split"](" "); | |
A ="&<>\"\n'";W='<script>alert("www.WHAK.com");<\/script>'; | |
K =0;for(K in A)W=W[$](A[K]).join(H[K]);alert(W); |
This file contains hidden or 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
<div id="wct_embed_counts"> | |
<textarea id="wct_embed_input_text" rows="12">www.WHAK.com</textarea> | |
<div id="wct_embed_result">www.WHAK.com</div> | |
<div id="wct_powered_by">www.WHAK.com</div> | |
<script type="text/javascript">function wct_getWordStats(e) { | |
var r, a, _, c, d, s, u, t = [], n = e.trim(); | |
t.num_character = e.trim().length; | |
r = n.split(/\s+/).join(""); | |
t.num_character_wo_spaces = r.length, t.num_paragraph = 0, n.length > 0 && (t.num_paragraph = n.split(/\n+/).length); | |
a = n.replace(/(\w)[-_'](\w)/gi, "$10$2"); |
This file contains hidden or 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
var W,H,A,K; | |
W = '123456'[$='split'](''); | |
H = 'test this WHAK com www for'[$](' '); | |
A = '2 is a 1 (1ed 6 3 2, 1 6 3 that), 1ing 6 5.3.4'; | |
K = 0; for(K in W)A=A[$](W[K]).join(H[K]); | |
document['write'](A); | |
// this is a test (tested for WHAK this, test for WHAK that), testing for www.WHAK.com |
This file contains hidden or 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
<textarea id=loader rows=11 cols=77></textarea> | |
<script> | |
function encodeHTMLentities(w){return w.replace(/[^]/g,function(w){return '&#'+w.charCodeAt(0)+';'})} | |
loader.value=encodeHTMLentities(document.body.innerHTML) | |
</script> |
This file contains hidden or 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
<!DOCTYPE html><meta charset="utf-8"> | |
<body><!-- We compressed 147 KB https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js to 48 KB on | |
http://www.scriptcompress.com then embedded JavaScript into HTML file with working demo under 70KB --> | |
<script>var WHAK_com =atob('QlpoOTFBWSZTWRx4Tl4AsOhfgFAAf////7////+/////YOJd9D1r6UABW7A9nr3Gz7lD330ds\ | |
t97PiSx3t4G75u6+rRqocUtb1iuqUdd3uym2LrKqr1pHpou7j6d5i+2qVSSRSh9kwYFKhIDzdz3vLZYAfTd6FKSq0+7rpHPW+2PTu\ | |
G+2B9u+15Q3d1WexfV8OHvPc++0Qz7nOnTd3XHOabOji5GqoKWbQAPs9kM9s3bXo92vYN1l2c3Du7PTkPIW1ADvvvvj7fZ9AHz7LN\ | |
ki9srlD7Hoy0bYAAoANr1uMtKPWdT2He7e3uO2syzfd7zPdV3ambYpTSWhfGAHuYe7h1CqK5NBCj3twUCgXsa0rbPd3ZQXjyu2ts8\ | |
y1t1d12d267Wt3TdtrOq67bL3B0LYave940DbdHe527e5i9zqDbw+6wPu6S+vfM77nbTNzh1ueOJ7PLPfJCgyWvvoMPoL2F3eqUa+\ | |
ju305fU68OcJ2W3t29u9VLx8dXsbD4sfWtrtJ7w+u+rPcKz299oPdeFzUemXvXXN7723222D66JWhq+9szc+K+XnDN7goHIBfLzVt\ | |
nO3O9b65699t99ut5253W3dfHN4WYqNDffYCrwm623Trzt3NUdw97b3qngAKDPU03OGtmGjuOFdCSsuZ3vdFWd7nueoWus2AATVho\ |
This file contains hidden or 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
function guid(t) { | |
var a, r = [], e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", n = e.length; | |
for (t = t || 32, a = 0; t > a; a++) { | |
r[a] = e.charAt(Math.floor(Math.random() * n)); | |
} | |
return r.join(""); | |
} |
This file contains hidden or 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
function humanizer(e) { | |
if (e % 100 >= 11 && 13 >= e % 100) { | |
return e + "th"; | |
} | |
switch (e % 10) { | |
case 1: | |
return e + "st"; | |
case 2: | |
return e + "nd"; |
This file contains hidden or 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
function strip(e) { | |
return e.trim ? e.trim() : e.replace(/^\s+/, "").replace(/\s+$/, ""); | |
} |