The JSidle Javascript packer
Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
metasploit
tools
LICENSE
README.textile
jsidle

README.textile

JSidle Javascript Packer

Blog post about the JSidle packer: http://relentless-coding.blogspot.com/2010/07/new-javascript-packer-jsidle.html

The concept of the JSidle packer is described in the Hack in the Box magazine, Volume 1, Issue 3.
Get it here: http://magazine.hitb.org

Usage

./jsidle [ -i file ] [ -o file ] [ opt1=val1 opt2=val2 ... ]
options: delay=<seconds>
         include_md5lib=true|false
         mode=web|pdf
         speed=<int>
         static=true|false
         strip_comments=true|false

Examples

Asssuming tools/benchmark.html showed a speed of 20000 and you want the delay to be 5 seconds in the target browser:


./jsidle -i exploit.js -o packed.js speed=20000 delay=5

Using the query string feature (the query string key will be printed to STDERR):


echo “alert(‘owned’)” | ./jsidle -o exploit.js speed=20000 delay=5 static=false

Packing Javascript for usage in PDF files:


./jsidle -i pdf-exploit.js -o packed.js mode=pdf speed=300