GithubHelp home page GithubHelp logo

rzchangcheng / e2j Goto Github PK

View Code? Open in Web Editor NEW

This project forked from slavemaster/e2j

4.0 1.0 5.0 132 KB

This is a modified version of Veer's e2j unpacker in order to run on JRE 1.6

License: MIT License

Java 100.00%

e2j's Introduction

This version can be run on JRE 1.6, modified by ravinow

e2j is an unpacker for jars packed via Jar2Exe hidden mode
written by veer

usage:
  C:\dev\e2j>set old_opts=%JAVA_TOOL_OPTIONS%
  C:\dev\e2j>set JAVA_TOOL_OPTIONS=-javaagent:e2j-agent.jar(=output-file)
  C:\dev\e2j>packed-exe
  ...
  C:\dev\e2j>set JAVA_TOOL_OPTIONS=%old_opts%
where:
  output-file is optional and refers to the file where you want to
    put the unpacked classes (it uses a jar)
  packed-exe is the executable packed by Jar2Exe that you wish to extract
  
P.S. don't try to log-off or shut-down while this agent is running as the
  shutdown hook might be a bit intensive. it was originally written so that
  writing the jar wasn't offloaded until the very end but instead incrementally
  but that proved to be too much of a hassle because of the subsequent
  ClosedByInterruptExceptions being thrown by the I/O code. changing this meant
  incurring more memory usage as all relevant class definitions are kept in
  memory until the very end.
P.S.S. all non-hidden-mode packed jars can be extracted readily as trailing data in
  the executable. due to the nature of the pkzip format, this allows extracting the
  contents of the class simply by treating the executable as a zip file.

e2j's People

Contributors

ravinow2 avatar slavemaster avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.