diff --git a/4.2.8/README.md b/4.2.8/README.md new file mode 100644 index 0000000..ded7961 --- /dev/null +++ b/4.2.8/README.md @@ -0,0 +1,256 @@ +# Usage + +- Download [charles.jar](charles.jar), replace the official `charles.jar`. +- **Or** +- Hack with the below script by yourself. + +# Hack Script + +``` +export JAVA_HOME=`/usr/libexec/java_home -v 1.8` +charles=/Applications/Charles.app/Contents/Java/charles.jar +dir=charleshack + +mkdir $dir +cd $dir +cat >> qHTb.java <>> 29; + } + return i; + } + + private static final int twLa(long paramLong) + { + long l = 0L; + for (int i = 56; i >= 0; i -= 8) { + l ^= paramLong >>> i & 0xFF; + } + return Math.abs((int)(l & 0xFF)); + } + + private byte[] twLa(byte[] paramArrayOfByte) + { + return null; + } + + private byte[] gbef(byte[] paramArrayOfByte) + { + byte[] arrayOfByte = new byte[paramArrayOfByte.length]; + int i = paramArrayOfByte.length; + int j = 0; + long l = 0L; + for (int k = 0; k < i; k++) + { + l = l <<= 8 | paramArrayOfByte[k] & 0xFF; + j++; + } + return arrayOfByte; + } + + static {} +} +EOF +javac -encoding UTF-8 qHTb.java -d .&& jar -uvf $charles com/xk72/charles/qHTb.class +cd .. && rm -rf $dir +``` + +# Official Download Link + +- [Windows 64 bit](https://www.charlesproxy.com/assets/release/4.2.8/charles-proxy-4.2.8-win64.msi) +- [Windows 32 bit](https://www.charlesproxy.com/assets/release/4.2.8/charles-proxy-4.2.8-win32.msi) +- [macOS](https://www.charlesproxy.com/assets/release/4.2.8/charles-proxy-4.2.8.dmg) +- [Linux 64/32 bit](https://www.charlesproxy.com/assets/release/4.2.8/charles-proxy-4.2.8.tar.gz) + +Credit: + +R. Kürşat Vuruşan diff --git a/4.2.8/charles.jar b/4.2.8/charles.jar new file mode 100644 index 0000000..7a76e8e Binary files /dev/null and b/4.2.8/charles.jar differ