Last active
August 29, 2015 14:21
-
-
Save JavaScript-Packer/8a764e677b2d0e005fd0 to your computer and use it in GitHub Desktop.
Made an unpacker (still have to make the JavaScript Packer to compress to this format) that does not need to have assigned character list to match the mapped layout, instead it uses the number of replacement. Made this a while ago, but not long until you are using 2 bytes or more per replacement. The packer will do this with only repeated words …
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='0("1 11 10.12");2("3 11 10.12");4("5 11 10.12");6.7="8 9 11 10.12";';H=13; | |
A='alert,HERE,prompt,THERE,confirm,EVERYWHERE,test,value,HELLO,WORLD,WHAK,From,com'[W='split'](','); | |
while(H--){if(K[H]){K=K[W](H).join(A[H])}}eval(K); | |
//unpacked | |
/* | |
alert("HERE From WHAK.com"); | |
prompt("THERE From WHAK.com"); | |
confirm("EVERYWHERE From WHAK.com"); | |
test.value="HELLO WORLD From WHAK.com"; | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment