Skip to content

Commit

Permalink
Merge pull request #187 from ItzSomebody/master
Browse files Browse the repository at this point in the history
2.9.8 Build + Some updates of my own.
  • Loading branch information
Konloch committed Mar 22, 2018
2 parents d6603da + e95897f commit 4e28a1a
Show file tree
Hide file tree
Showing 513 changed files with 35,011 additions and 37,037 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
.project
*.iml
.idea/
target/
dependency-reduced-pom.xml

out/
.DS_Store
Binary file removed BytecodeViewer 2.9.8-fatjar.jar
Binary file not shown.
Binary file removed BytecodeViewer 2.9.8.jar
Binary file not shown.
Binary file removed BytecodeViewer 3.0.0-preview2.jar
Binary file not shown.
89 changes: 11 additions & 78 deletions README.txt → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,81 +1,5 @@
Bytecode Viewer is an Advanced Lightweight Java Bytecode Viewer, GUI Java Decompiler, GUI Bytecode Editor, GUI Smali, GUI Baksmali, GUI APK Editor, GUI Dex Editor, GUI APK Decompiler, GUI DEX Decompiler, GUI Procyon Java Decompiler, GUI Krakatau, GUI CFR Java Decompiler, GUI FernFlower Java Decompiler, GUI DEX2Jar, GUI Jar2DEX, GUI Jar-Jar, Hex Viewer, Code Searcher, Debugger and more.
It's written completely in Java, and it's open sourced. It's currently being maintained and developed by Konloch.

There is also a plugin system that will allow you to interact with the loaded classfiles, for example you can write a String deobfuscator, a malicious code searcher, or something else you can think of.
You can either use one of the pre-written plugins, or write your own. It supports groovy 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.

Code from various projects has been used, including but not limited to:
J-RET by WaterWolf
JHexPane by Sam Koivu
RSynaxPane by Robert Futrell
Commons IO by Apache
ASM by OW2
FernFlower by Stiver
Procyon by Mstrobel
CFR by Lee Benfield
CFIDE by Bibl
Smali by JesusFreke
Dex2Jar by pxb1..?
Krakatau by Storyyeller
JD GUI/JD Core by The Java-Decompiler Team
Enjarify by Storyyeller

Contributors:
Konloch
Bibl
Fluke
Righteous
sahitya-pavurala
priav03
Afffsdd
Szperak
Zooty
samczsun
If I missed you, please feel free to contact me @Konloch or konloch@gmail.com

Contribution Guide Lines/Coding Conventions:
Packages must start with the.bytecode.club.bytecodeviewer
If code you write can throw an exception, handle it using new the.bytecode.club.bytecodeviewer.ExceptionUI(exception, "authors@email.com")
All variables must be at the start of each class.
Brackets are meant to be on the same line, I.E. public void main(String[] args) { not (String[] args) <NEWLINE_BREAK> {

Website: https://bytecodeviewer.com
Source Code: https://github.com/konloch/bytecode-viewer
Bin/Archive: https://github.com/konloch/bytecode-viewer/releases
Java Docs: https://the.bytecode.club/docs/bytecode-viewer/
License (Copyleft): https://raw.githubusercontent.com/Konloch/bytecode-viewer/master/LICENSE
Report Bugs (or below): https://github.com/Konloch/bytecode-viewer/issues
Discussion Forum: https://the.bytecode.club/forumdisplay.php?fid=69

Key Features:
Krakatau Integration for Bytecode assembly/disassembly.
Smali/BakSmali Integration - You can now edit class files/dex files via smali!
APK/DEX Support - Using Dex2Jar and Jar2Dex it's able to load and save APKs with ease!
Java Decompiler - It utilizes FernFlower, Procyon and CFR for decompilation.
Bytecode Decompiler - A modified version of CFIDE's.
Hex Viewer - Powered by JHexPane.
Each Decompiler/Editor/Viewer is toggleable, you can also select what will display on each pane.
Fully Featured Search System - Search through strings, functions, variables and more!
A Plugin System With Built In Plugins - (Show All Strings, Malicious Code Scanner, String Decrypters, etc)
Fully Featured Scripting System That Supports Groovy.
EZ-Inject - Graphically insert hooks and debugging code, invoke main and start the program.
Recent Files & Recent Plugins.
And more! Give it a try for yourself!

Command Line Input:
-help Displays the help menu
-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

Are you a Java Reverse Engineer? Do you want to learn?
Join The Bytecode Club Today!
https://the.bytecode.club

Changelog:
```
--- Beta 1.0.0 ---:
10/4/2014 - Designed a POC GUI, still needs a lot of work.
10/4/2014 - Started importing J-RET's backend.
Expand Down Expand Up @@ -417,4 +341,13 @@ Changelog:
07/30/2015 - Removed Janino Compiler & moved to Javac, it can now compile decompiled classes again.
07/30/2015 - Affssdd fixed the File Navigator Pane's Quick Class Search.
07/30/2015 - Fixed a process leak in KrakatauDisassembler.
07/30/2015 - Started working on converting all the decompilers to launch in their own process in an effort to reduce BCV resources (only for non-fatjar version).
07/30/2015 - Started working on converting all the decompilers to launch in their own process in an effort to reduce BCV resources (only for non-fatjar version).
--- 2.9.10 ---;
1/30/2018 - Reverted back to what seemed like a stable 2.9.9 build and screwed around with it.
1/31/2018 - That build was bugged, screw this and let's start over back from 2.9.8.
1/31/2018 - Fixed CFR not showing (bug from 2.9.9)
1/31/2018 - Beefed up Bytecode decompiler.
1/31/2018 - Fomatted all the classes so GitHub doesn't show them as a mess.
1/31/2018 - Made Krakatau and Enjarify work offline (assuming you have the libraries).
1/31/2018 - Added stackframes remover.
```
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Contribution Guide Lines/Coding Conventions:
* Packages must start with the.bytecode.club.bytecodeviewer
* If code you write can throw an exception, handle it using new the.bytecode.club.bytecodeviewer.ExceptionUI(exception, "authors@email.com")
* All variables must be at the start of each class.
* Brackets are meant to be on the same line, I.E. public void main(String[] args) { not (String[] args) <NEWLINE_BREAK> {
55 changes: 54 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -618,4 +618,57 @@ an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.

END OF TERMS AND CONDITIONS
END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

Bytecode Viewer - Java & Android Reverse Engineering Suite
Copyright (C) 2014 Kalen "Konloch" Kinloch - http://bytecodeviewer.com - http://the.bytecode.club

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

Bytecode Viewer(BCV) Copyright (C) 2014 Kalen "Konloch" Kinloch - http://bytecodeviewer.com - http://the.bytecode.club
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".

You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.

The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
83 changes: 83 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Bytecode Viewer

Bytecode Viewer is an Advanced Lightweight Java Bytecode Viewer, GUI Java Decompiler, GUI Bytecode Editor, GUI Smali, GUI Baksmali, GUI APK Editor, GUI Dex Editor, GUI APK Decompiler, GUI DEX Decompiler, GUI Procyon Java Decompiler, GUI Krakatau, GUI CFR Java Decompiler, GUI FernFlower Java Decompiler, GUI DEX2Jar, GUI Jar2DEX, GUI Jar-Jar, Hex Viewer, Code Searcher, Debugger and more.
It's written completely in Java, and it's open sourced. It's currently being maintained and developed by Konloch.

There is also a plugin system that will allow you to interact with the loaded classfiles, for example you can write a String deobfuscator, a malicious code searcher, or something else you can think of.
You can either use one of the pre-written plugins, or write your own. It supports groovy 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.

Code from various projects has been used, including but not limited to:
* J-RET by WaterWolf
* JHexPane by Sam Koivu
* RSynaxPane by Robert Futrell
* Commons IO by Apache
* ASM by OW2
* FernFlower by Stiver
* Procyon by Mstrobel
* CFR by Lee Benfield
* CFIDE by Bibl
* Smali by JesusFreke
* Dex2Jar by pxb1..?
* Krakatau by Storyyeller
* JD GUI/JD Core by The Java-Decompiler Team
* Enjarify by Storyyeller

Contributors:
* Konloch
* Bibl
* Fluke
* Righteous
* sahitya-pavurala
* priav03
* Afffsdd
* Szperak
* Zooty
* samczsun
* ItzSomebody
* If I missed you, please feel free to contact me @Konloch or konloch@gmail.com

Website: https://bytecodeviewer.com

Source Code: https://github.com/konloch/bytecode-viewer

Bin/Archive: https://github.com/konloch/bytecode-viewer/releases

Java Docs: https://the.bytecode.club/docs/bytecode-viewer/

License (Copyleft): https://raw.githubusercontent.com/Konloch/bytecode-viewer/master/LICENSE

Report Bugs (or below): https://github.com/Konloch/bytecode-viewer/issues

Discussion Forum: https://the.bytecode.club/forumdisplay.php?fid=69

Key Features:
* Krakatau Integration for Bytecode assembly/disassembly.
* Smali/BakSmali Integration - You can now edit class files/dex files via smali!
* APK/DEX Support - Using Dex2Jar and Jar2Dex it's able to load and save APKs with ease!
* Java Decompiler - It utilizes FernFlower, Procyon and CFR for decompilation.
* Bytecode Decompiler - A modified version of CFIDE's.
* Hex Viewer - Powered by JHexPane.
* Each Decompiler/Editor/Viewer is toggleable, you can also select what will display on each pane.
* Fully Featured Search System - Search through strings, functions, variables and more!
* A Plugin System With Built In Plugins - (Show All Strings, Malicious Code Scanner, String Decrypters, etc)
* Fully Featured Scripting System That Supports Groovy.
* EZ-Inject - Graphically insert hooks and debugging code, invoke main and start the program.
* Recent Files & Recent Plugins.
* And more! Give it a try for yourself!

Command Line Input:
```
-help Displays the help menu
-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
```

Are you a Java Reverse Engineer? Do you want to learn?

Join The Bytecode Club Today!

https://the.bytecode.club
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.9.8
2.9.10
Binary file added libs/Krakatau-10.zip
Binary file not shown.
Binary file removed libs/Krakatau-9.zip
Binary file not shown.
Binary file renamed libs/cfr_0_115.jar → libs/cfr_0_125.jar
Binary file not shown.
Binary file removed libs/enjarify-2.zip
Binary file not shown.
Binary file added libs/enjarify-3.zip
Binary file not shown.
Binary file removed libs/fernflower-2016.jar
Binary file not shown.
Binary file added libs/fernflower-2017.jar
Binary file not shown.
Binary file removed libs/slf4j-api-1.7.18.jar
Binary file not shown.
Binary file removed libs/slf4j-nop-1.7.18.jar
Binary file not shown.
Binary file removed libs/zt-zip-1.8.jar
Binary file not shown.

0 comments on commit 4e28a1a

Please sign in to comment.