💻
OSWE Everything
💻
OSWE Everything
  • VULNERABILITIES
    • Type Juggling
    • Cross Site Scripting
      • Hunting for files
    • Insecure Deserialization
      • .NET
    • SQL Injection
      • Blind SQL Injection
      • SQLi debugging
      • Code review
      • Errors and additional information
      • Approaches to leverage different databases
    • XML External Entity (XXE)
      • Types of XML Entities
      • Exploitation
      • Wrappers for errors
      • Post Exploitation
    • OS Command Injection
      • Exploitation
    • Server Side Template Injection
      • Exploitation
    • Authentication Bypass
      • Checklist
  • Unsecure Random Function
    • Exploitation
  • Cross Origin Resource Sharing (CORS)
    • Prerequisites of Exploitation
  • Client Side Request Forgery (CSRF)
    • Prerequisites of Exploitation
  • Exploit Writing
    • Cheatsheet
    • Skeleton Scripts
  • Code review
    • Manual code review
      • Routing
      • Searching for exploits
      • Debugging
    • Decompilation
      • Java
      • .NET
    • Managing the application
      • Identifying application file location
      • Restarting web applications
      • Manipulation of Assembly Attributes for Debugging (.NET)
  • Preparation Machines
    • [HTB] Vault
    • Other HTB scripts
  • ADDITIONAL INFORMATION
    • Sources
  • External Resources
    • WhiteBox Pentest
Powered by GitBook
On this page
  • JD-GUI
  • Decompilation example
  • Writing the program
  • Compile the program
  • Build the program
  • Test if the program works
  • Open jd-gui
  • Open jar file
  • Program decompiled
  1. Code review
  2. Decompilation

Java

PreviousDecompilationNext.NET

Last updated 5 months ago

JD-GUI

If you want to decompile .jar files one of the best programs you can use is JD-GUI. Download page:

Decompilation example

In this chapter we will compile the program and then decompile it using jd-gui.

Writing the program

Compile the program

Build the program

Test if the program works

Open jd-gui

Open jar file

Program decompiled

http://java-decompiler.github.io