js_packer

Decoder for Dean Edwards' JavaScript Packer

Usage

First call JSPacker() with your JS value

JSPacker jsPacker = JSPacker(eval); // add your eval js code

Use detect class to check your JS value format is correct

jsPacker.detect()

Use unpack class to get value

jsPacker.unpack()

Example


JSPacker jsPacker = JSPacker(eval); // add your value

if (jsPacker.detect()) {
    print(jsPacker.unpack());
} else {
    print("Not P.A.C.K.E.R. coded");
}

Libraries

js_packer