adding jd-gui

This commit is contained in:
Yan 2016-10-11 02:46:10 -07:00
parent 57df3ea00f
commit af7e3b4b45
4 changed files with 19 additions and 0 deletions

View file

@ -84,6 +84,7 @@ Installers for the following tools are included:
| android | [apktool](https://ibotpeaches.github.io/Apktool/) | Dissect, dis-assemble, and re-pack Android APKs | <!--tool--><!--test-->
| android | [android-sdk](http://developer.android.com/sdk) | The android SDK (adb, emulator, etc). | <!--tool--><!--no-test-->
| misc | [z3](https://github.com/Z3Prover/z3) | Theorem prover from Microsoft Research. | <!--tool--><!--times-out-->
| misc | [jdgui](http://jd.benow.ca/) | Java decompiler. | <!--tool--><!--test-->
There are also some installers for non-CTF stuff to break the monotony!

10
jdgui/install Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash -e
[ -e jd-gui-1.4.0.jar ] || wget https://github.com/java-decompiler/jd-gui/releases/download/v1.4.0/jd-gui-1.4.0.jar
mkdir -p bin
cat <<END > bin/jd-gui
#/bin/bash -e
java -jar $PWD/jd-gui-1.4.0.jar "\$@"
END
chmod 755 bin/jd-gui

4
jdgui/install-root-archlinux Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
pacman -Syu --noconfirm --needed jre7-openjdk

4
jdgui/install-root-debian Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eu -o pipefail
apt-get -y install openjdk-7-jre