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
<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; | |
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
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
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
function a2b(r) { | |
function utf(r) { | |
for (var t = "", e = 0, o = c1 = c2 = 0; e < r.length; ) o = r.charCodeAt(e), 128 > o ? (t += String.fromCharCode(o), | |
e++) :o > 191 && 224 > o ? (c2 = r.charCodeAt(e + 1), t += String.fromCharCode((31 & o) << 6 | 63 & c2), | |
e += 2) :(c2 = r.charCodeAt(e + 1), c3 = r.charCodeAt(e + 2), t += String.fromCharCode((15 & o) << 12 | (63 & c2) << 6 | 63 & c3), | |
e += 3); | |
return t; | |
} | |
var t, X = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", e, o, a, h, n = "", c = 0; | |
for (r = r.replace(/[^A-Za-z0-9\+\/\=]/g, ""); c < r.length; ) t = X.indexOf(r.charAt(c++)), |
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 lzw_encode(u) { | |
var r, a, n = {}, t = (u + "").split(""), e = [], i = t[0], o = 256; | |
for (a = 1; a < t.length; a++) r = t[a], null != n[i + r] ? i += r :(e.push(i.length > 1 ? n[i] :i.charCodeAt(0)), | |
n[i + r] = o, o++, i = r); | |
for (e.push(i.length > 1 ? n[i] :i.charCodeAt(0)), a = 0; a < e.length; a++) e[a] = String.fromCharCode(e[a]); | |
return e.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 bytez(n) { | |
return n = unescape(encodeURI(n)).length, ("" + n).split(/(?=(?:\d{3})+(?:\.|$))/g).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 testJS(n, r) { | |
r = window.open("about:blank", "", "width=999,height=666"); | |
r.document.write('\ | |
<title>WHAK.com</title>\ | |
<body>\ | |
<i>\ | |
<font size="2" color="blue">\ | |
<u title="Click here to demonstrate the code (blue text) used to change this textarea/text box. Might come in handy for replacing a alert or document.write when you want to see results from your script." onclick="test.value="Hello World";">\ | |
test.value="Hello World";\ | |
</u>\ |
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 decode_ascii85(a) { | |
var c, d, e, f, g, h = String, l = "length", w = 255, x = "charCodeAt", y = "slice", z = "replace"; | |
for ("<~" === a[y](0, 2) && "~>" === a[y](-2), a = a[y](2, -2)[z](/\s/g, "")[z]("z", "!!!!!"), | |
c = "uuuuu"[y](a[l] % 5 || 5), a += c, e = [], f = 0, g = a[l]; g > f; f += 5) d = 52200625 * (a[x](f) - 33) + 614125 * (a[x](f + 1) - 33) + 7225 * (a[x](f + 2) - 33) + 85 * (a[x](f + 3) - 33) + (a[x](f + 4) - 33), | |
e.push(w & d >> 24, w & d >> 16, w & d >> 8, w & d); | |
return function(a, b) { | |
for (var c = b; c > 0; c--) a.pop(); | |
}(e, c[l]), h.fromCharCode.apply(h, e); | |
} |