Bytecode Viewer - a lightweight user-friendly Java/Android Bytecode Viewer, Decompiler & More.
-help Displays the help menu
-clean Deletes the BCV directory
-english Forces English language translations
-list Displays the available decompilers
-decompiler <decompiler> Selects the decompiler, procyon by default
-i <input file> Selects the input file (Jar, Class, APK, ZIP, DEX all work automatically)
-o <output file> Selects the output file (Java or Java-Bytecode)
-t <target classname> Must either be the fully qualified classname or "all" to decompile all as zip
-nowait Doesn't wait for the user to read the CLI messages
Bytecode Viewer (BCV) is an Advanced Lightweight Java/Android Reverse Engineering Suite. Powered by several open source tools BCV is designed to aid in the reversing process.
BCV comes with 6 decompilers, 3 disassemblers, 2 assemblers, 2 APK converters, advanced searching, debugging & more.
It's written completely in Java, and it's open sourced. It's currently being maintained and developed by Konloch.
Please note this demo is from a very old version
Download the latest version from https://github.com/konloch/bytecode-viewer/releases and run the Bytecode-Viewer-2.10.x.jar.
You may need to execute it via command line java -jar Bytecode-Viewer-2.10.x.jar
(replace the X with the current minor version)
There is also a plugin system that will allow you to interact with the loaded classfiles. You could for example write a String deobfuscator, a malicious code searcher, or anything else you can think of.
You can either use one of the pre-written plugins, or write your own. The plugin system supports java and javascript scripting.
Once a plugin is activated, it will execute the plugin with a ClassNode ArrayList of every single class loaded in BCV, this allows the user to handle it completely using ASM.
Just clone this repo and run mvn package
. It's that simple!
Open the Maven project (e.g. in IntelliJ, open the pom.xml
as a project file).
Change the theme to your systems. Go into View->Visual Settings->Window Theme
and select System Theme
.
Start BCV with more RAM, e.g. java -Xmx3G -jar BCV.jar
Right click on the jar file, go to Properties, and select Unblock under Security at the bottom of the General tab.
Run BCV as administrator.
Join The Bytecode Club Today! - https://the.bytecode.club