Skip to content

Instantly share code, notes, and snippets.

@madlordory
Forked from Oritz/charles.4.1.3.crack.sh
Created July 4, 2017 05:38
Show Gist options
  • Select an option

  • Save madlordory/68eae97afc10d9e50daaf605304e37bc to your computer and use it in GitHub Desktop.

Select an option

Save madlordory/68eae97afc10d9e50daaf605304e37bc to your computer and use it in GitHub Desktop.
Crack Charles Proxy 4.1.3
charles=/Applications/Charles.app/Contents/Java/charles.jar
dir=charleshack
mkdir $dir
cd $dir
cat >> psPJ.java <<EOF
package com.xk72.charles;
public final class psPJ {
public static boolean qIvM() { return true; }
public static String tCiz() { return "https://0x0d.im"; }
public static String qIvM(String name, String key) { return null; }
}
EOF
javac -encoding UTF-8 psPJ.java -d .&& jar -uvf $charles com/xk72/charles/psPJ.class
cd .. && rm -rf $dir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment