Skip to content

Instantly share code, notes, and snippets.

@jmorenoamor
Last active October 7, 2015 00:17
Show Gist options
  • Save jmorenoamor/3075233 to your computer and use it in GitHub Desktop.
Save jmorenoamor/3075233 to your computer and use it in GitHub Desktop.
Decompile a JAR file
#!/bin/bash
JAR=$1.jar
unzip -d $JAR.tmp $JAR
pushd $JAR.tmp
for f in `find . -name '*.class'`; do
jad -d $(dirname $f) -s java -lnc $f
done
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment