Created
February 14, 2018 19:12
-
-
Save He1my/57d8820a717252cb26261659bccb31fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
charles=/usr/lib/charles-proxy/charles.jar | |
dir=charleshack | |
mkdir $dir | |
cd $dir | |
cat >> oFTR.java <<EOF | |
package com.xk72.charles; | |
public final class oFTR { | |
public static boolean Yuaz() { return true; } | |
public static String lktV() { return "Administrator"; } | |
public static String Yuaz(String name, String key) { return null; } | |
} | |
EOF | |
javac -encoding UTF-8 oFTR.java -d .&& jar -uvf $charles com/xk72/charles/oFTR.class | |
cd .. && rm -rf $dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment