Skip to content

Instantly share code, notes, and snippets.

@impasse
Last active September 15, 2017 06:19
Show Gist options
  • Save impasse/a93740136b4d92c5d7124cb59dfdaf20 to your computer and use it in GitHub Desktop.
Save impasse/a93740136b4d92c5d7124cb59dfdaf20 to your computer and use it in GitHub Desktop.
Charles 4.1.3 Crack on MacOS
#!/bin/bash
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 "shyling"; }
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