Updated on 2017-07-18
Step
- 反编译 charles.jar。
- 搜索
Unregistered
,定位至gIbD.class
。 - 修改属性
PcqR
的值为true
。 - 修改方法
PcqR
的返回值为XhstormR
。
Code
iconst_1
putfield com/xk72/charles/gIbD/PcqR Z
ldc "XhstormR"
areturn
jar -cfM charles.jar -C charles/ .
java -noverify -jar charles.jar
Reference
- https://github.com/skylot/jadx
- https://github.com/pxb1988/dex2jar
- https://github.com/JesusFreke/smali
- https://github.com/iBotPeaches/Apktool
- https://github.com/deathmarine/Luyten
- https://github.com/java-decompiler/jd-gui
- https://github.com/Col-E/Recaf
- https://github.com/GraxCode/JByteMod-Beta
- https://github.com/Konloch/bytecode-viewer
- https://github.com/JetBrains/intellij-community/tree/master/plugins
- https://github.com/leibnitz27/cfr
- https://set.ee/jbe/
- 代码生成:
- Android:
jclasslib
----
java -cp i4jruntime.jar;jclasslib-browser.jar;jclasslib-library.jar;annotations-13.0.jar;kotlin-stdlib-1.1.50.jar;kotlinx.dom-0.0.10.jar;miglayout-core-5.0.jar;miglayout-swing-5.0.jar; org.gjt.jclasslib.browser.BrowserApplication
cfr
----
java -jar cfr_0_123.jar 123.jar --caseinsensitivefs true --outputdir 123