Skip to content
KitploitKITPLOIT
도구블로그
Log in
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

피드문의개인정보© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
javajive — Pure-Go Java Decompiler and Serialization Operator | Kitploit
도구/GitHubGitHub/yaklang/javajive
Static AnalysisCode AnalysisReverse EngineeringScripting & AutomationMalware AnalysisUtilities & FrameworksBinary Analysis
GitHubyaklang/javajive

javajive

Pure-Go Java Decompiler and Serialization Operator

저장소 보기웹사이트
2761115일 전Kitploit 검토 완료
공유
요청한 언어로 콘텐츠를 사용할 수 없습니다. 영어 버전을 표시합니다.

JavaJive — Pure-Go Java Toolkit: Decompile, Class Parse, Serialization

JavaJive

CI Pages Go Reference License: MIT

English | 简体中文 | Website

A portable, pure-Go Java toolkit — extracted and trimmed from yaklang — focused on four things:

  • Decompile — .class, Java archives (.jar / .war / .ear / .aar / .par / .jmod / .zip), and JDK runtime images (.jimage / $JAVA_HOME/lib/modules) → readable Java source, including nested JARs inside WAR/EAR/AAR and fat JARs.
  • Translate DEX — native .dex / .apk / .apks / .xapk / .apkm / .aab → deterministic .jar, or directly to readable Java source, without invoking an external dex2jar tool.
  • Parse classes — inspect the structure of a .class file (constant pool, fields, methods, version, access flags).
  • (De)serialize — parse and re-marshal the Java serialization (ObjectStream) wire format with byte fidelity, and convert it to/from JSON.

Built for portability and embedding:

  • Pure Go, single binary — no JDK, no cgo, no ANTLR runtime, no native libraries. Cross-compiles to linux / macOS / windows on amd64 and arm64.
  • One import — a unified javajive facade package wraps all four capabilities; the sub-packages remain available for advanced use.
  • First-class CLI — decompile, dex2jar, classinfo, and serial subcommands, built on the standard library.
  • Cross-tested against a real JDK — the manual extended oracle compiles real .class / .jar and JDK-serialized blobs, then verifies JavaJive against them. Required PR CI stays pure Go and consumes hash-pinned class/JAR/DEX/JImage corpora (see HARNESS-WORKFLOW.md).
  • Trimmed dependency graph — utils / codec / log / go-funk are reimplemented as a minimal, self-contained internal/ core.

Validation of v0.4.0

The complete 38-JAR differential audit reports zero recorded regressions against the fixed baseline: all 20 previously compile-clean JARs are retained and 26 now compile in full. Baseline defects and 4 existing method stubs remain visible. See the per-JAR results and reproduction.

250 isolated semantic round trips record compilation, JVM verification, stubs and runtime equality separately; original application classes are absent from rebuilt classpaths. Manual extended workflows run the semantic and historical JDK audits; required PR CI runs sealed pure-Go algorithm, race, coverage, and fixed-corpus gates. These checks do not prove equivalence of every library method. See the implementation and remaining boundaries.

Historical benchmarks (v0.3.0)

The following figures were reported for v0.3.0 on 2026-09-05. They are not current-version acceptance results or proof of behavioral equivalence.

Measured on 34 real-world jars (18,759 flattened units) via decompile → javac --release 8 recompile → repackage → JVM verify:

  • 100% unit-clean rate — 18,759 / 18,759 flattened units (Outer$Inner.java) recompile with zero javac errors, and 0 syntax errors across all 34 jars (a CI-enforced hard assertion, so no type error can hide behind a lexer failure).
  • All 34 libraries fully round-trip — decompile → recompile → repackage → external JVM -Xverify:all per-class verification passes end-to-end (codec is byte-identical to the original jar under a call differential). Locked in provenClean.
  • 14 / 14 self-hosted algorithms (MD5 · SHA-256 · CRC32 · quicksort · Base64 · HeapSort · KMP · SwitchFSM · TryFinally · UnionFind · DiamondTryCatch · DiamondTryFinally · ForContinue · ComputeIfAbsent) round-trip byte-for-byte.
  • #1 in a fair 3-way comparison on the original 8-jar set — clean-unit rate 100% vs Vineflower 1.10.1 (90.8%) and CFR 0.152 (79.8%); winning all 8 jars against both.

See BENCHMARK.md for the full methodology, per-jar tables and reproduction commands.

Complex JAR corpus

A separate, CI-gated corpus exercises modern language targets rather than the historical Java 8 libraries: Java 21 records/sealed types/pattern switches/switch expressions, control-flow torture, Java 8 enum bodies, a 100-class scale JAR, multi-release and modular JARs, and the packaged irreducible fixtures. Each case is decompiled, tree-recompiled, verified with java -Xverify:all, and compared against original runtime output. See test/complexjar/REPORT.md for the inventory, fixed defects and remaining boundaries.

Install

# CLI
go install github.com/yaklang/javajive/cmd/javajive@latest

# Library
go get github.com/yaklang/javajive@latest

Or build from source:

git clone https://github.com/yaklang/javajive
cd javajive
go build -o javajive ./cmd/javajive

Requires Go 1.22+.

CLI

javajive <command> [arguments]

Commands:
  decompile   decompile .class files, Java archives, JDK runtime images, or Android containers into Java source
  dex2jar     convert DEX/APK/APKS/XAPK/APKM/AAB input to a deterministic JAR
  jimage2jar  convert a JDK runtime image (lib/modules, .jimage) to a JAR view
  inspect     read-only inventory and best-effort analysis of Java/Android artifacts
  classinfo   print the structure of a .class file (version, fields, methods)
  serial      Java serialization tools (subcommands: tojson, fromjson)
  version     print the version
  help        show help

Input is detected by content magic first, archive structure second, and the filename extension last, so renamed artifacts keep working.

InputHandling
.class, directoryone class, or recursive .class decompilation
.jar / .war / .ear / .zipJava archive; nested .jar/.war/.ear/.par/.jmod/.zip layers are decompiled in place
.aarAndroid library archive; classes.jar and libs/*.jar are decompiled
.parJava archive (extension fallback when the ZIP has no stronger marker)
.jmodJDK module image; the four-byte JM\x01\x00 prefix is stripped automatically
.jimage / $JAVA_HOME/lib/modulesJDK 9+ runtime image; converted to a package-layout JAR view. Uncompressed, zlib zip, and compact-cp resources are supported
.dexraw DEX
.apkroot classes.dex, classes2.dex, ... multidex entries
.apks / .xapk / .apkm / .apkxnested split APKs; universal.apk is preferred when present
.aabAndroid App Bundle; every <module>/dex/classes*.dex is translated
도구 다운로드

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 궁극의 OSINT 툴킷: 조사 그래프, 신뢰도 점수 산정, 별칭 패밀리, 지도, 타임라인 및 보고서. 49개 모듈, 400개 이상 사이트, API 키 불필요.

    654
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # GhostLock 원탭 실행 앱 (CVE-2026-43499)

    490
  • 3

    ARTEX

    baarai/artex

    LLM 멀티 에이전트 자율 침투 테스트 플랫폼으로, 플래너/워커 에이전트, 자산 및 탐색 그래프, MITM 트래픽 기록, 취약점 재테스트 기능을 제공합니다.

    395
  • 4

    redforge

    cybersecurity91/redforge

    브라우저 측 레드 팀 툴킷으로, 정찰, 페이로드 생성, 자격 증명 공격, 암호화, 인코딩 및 참여 보고를 위한 102개의 오프라인 도구를 제공합니다.

    336
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI 네이티브 사이버보안을 위한 행동 체계—의도가 통제된 실행이 되고, 증거가 운영 메모리가 되며, 모든 운영이 다음 운영을 개선하는 곳.

    258
  • 6

    antifox

    antifox-ai/antifox

    정찰, 공격 표면 탐색, 익스플로잇 검증, 증거 기반 보고서 전달을 수행하는 AI 멀티 에이전트 자율 침투 테스트 플랫폼입니다.

    252

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →