for all intents and purposes, their website is now offline, adding source files that may not be available anywhere else any more

This commit is contained in:
Conor Horan-Kates 2018-05-22 21:52:20 -07:00
parent 4e0b5b87a9
commit 2f46c5cf59
3 changed files with 38 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="" href="" spec="1.0+">
<information>
<title>WiFi Device API</title>
<vendor>Tri Cascade Inc.</vendor>
</information>
<resources>
<j2se href="http://java.sun.com/products/autodl/j2se" version="1.7.0_51+" />
<jar href="WiFiDeviceAPI.jar" main="true" version="1.4.2" />
<property name="jnlp.versionEnabled" value="true" />
</resources>
<applet-desc height="1" main-class="com.insnergy.wifi.applet.WiFiDeviceAPI" name="WiFi Device API" width="1" />
<update check="always" policy="always" />
<security>
<all-permissions />
</security>
</jnlp>

21
i-Bright7x/decompile.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/bash
## decompile.sh - find .class files and decompile them
DIR=$1
IB_JAR="./WiFiDeviceAPI.jar"
CFR_JAR="./cfr_0_129.jar"
if [ ! -f ${CFR_JAR} ]; then
echo "could not find cfr JAR[${CFR_JAR}]"
exit 1
fi
7z x ${IB_JAR}
for f in $(find ${DIR} -iname '*.class'); do
NEW_F=`echo ${f} | sed -e "s/class/java/"`
echo "${f} -> ${NEW_F}"
java -jar ${CFR_JAR} ${f} > ${NEW_F}
done