Last active
February 24, 2021 16:05
-
-
Save vnea/3c8b3d43cf89440b1a2cea0d6de417cd to your computer and use it in GitHub Desktop.
Java
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
## Decompile | |
Download CFR : http://www.benf.org/other/cfr/ | |
# One .class to stdout | |
java -jar cfr.jar javaclasstodecompiles.class | |
# One .class to .java | |
java -jar cfr.jar javaclasstodecompiles.class > javaclasstodecompiles.java | |
# Whole Jar | |
java -jar cfr.jar javacontainer.jar --outputdir ./javacontainer | |
## Generate thread dump in logs | |
"ls /proc" or "ps faux" # pour trouver le PID de la JVM | |
kill -3 $PID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment