Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
detaped — Detaped is a Python disassembler and decompiler for Duktape. The intended use is for source code review and analysis in situations where you only have the compiled Duktape bytecode binary, such as in a black-box assessment. | Kitploit
ツール/GitHubGitHub/nccgroup/detaped
Static AnalysisCode AnalysisReverse EngineeringPenetration TestingBinary Analysis
GitHubnccgroup/detaped

detaped

Detaped is a Python disassembler and decompiler for Duktape. The intended use is for source code review and analysis in situations where you only have the compiled Duktape bytecode binary, such as in a black-box assessment.

リポジトリを見る
33年前未レビュー

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

Detaped

はじめに

Detaped は Duktape (GitHub) 向けの Python 製ディスアセンブラおよびデコンパイラです。ブラックボックス評価など、コンパイル済みの Duktape バイトコードバイナリしか入手できない状況でのソースコードレビューと解析を目的としています。

特徴

  • JSE ファイル形式を解析
  • JSE バイナリ、またはバイナリのディレクトリをディスアセンブル
  • ASM スタイルの命令を生成(バイトコードとの一対一対応)
  • 低レベルの JavaScript「風」出力を生成
  • デコンパイラは基本的な高レベルの JavaScript「風」出力を生成

対応バージョン

  • v2.7.0

使用方法

root@kitploit:~
└─$ detaped --help                                           
usage: detaped.py [-h] [-o OUTPUT] [-a ASM] [-t TXT] [-n] [-v {none,normal,debug}]
                  [--disable-grouping] [--disable-call] [--disable-jump] [--disable-if-else]
                  [--disable-if-condition] [--disable-try-catch-finally] [--disable-for-loop]
                  [--disable-while-loop] [--disable-init-array] [--disable-init-object]
                  [--disable-get-prop] [--disable-join-operator] [--disable-double-return]
                  input

Duktape JavaScript bytecode decompiler

positional arguments:
  input                 The Duktape bytecode file or directory to be decompiled.

options:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        The decompiled output JavaScript file or directory.
  -a ASM, --asm ASM     The output JavaScript ASM file or directory.
  -t TXT, --txt TXT     The command output text file.
  -n, --no-ansi         Disable ANSI color output.
  -v {none,normal,debug}, --verbosity {none,normal,debug}
                        The script output verbosity mode. (Default "normal")

Decompiler Grouping:
  Disable specific decompiler grouping functionality.

  --disable-grouping    Disables all grouping functionality.
  --disable-call        Disables call grouping.
  --disable-jump        Disables jump block grouping.
  --disable-if-else     Disables if/else block grouping.
  --disable-if-condition
                        Disables grouping if statement with preceding condition.
  --disable-try-catch-finally
                        Disables try/catch/finally block grouping.
  --disable-for-loop    Disables for loop block grouping.
  --disable-while-loop  Disables while loop block grouping.
  --disable-init-array  Disables grouping array initialization.
  --disable-init-object
                        Disables grouping object initialization properties.
  --disable-get-prop    Disables grouping get properties.
  --disable-join-operator
                        Disables grouping join operators.
  --disable-double-return
                        Disables grouping return undefined after return.

処理の流れ

次の図は、単純な JavaScript ファイルが様々な状態に変換される様子を示しています。

  1. コンパイル - 元のファイルは Duktape を使用してバイトコードにコンパイルされます。
  2. パーサー - バイトコードのファイル構造は Detaped を使用して解析されます。
  3. ディスアセンブラ - 解析されたバイトコードは ASM 風のファイルにディスアセンブルされます。
  4. デコンパイラ - ディスアセンブルされたデータは JavaScript 風のファイルにデコンパイルされます。
  5. グループ化 - 一般的なデコンパイルパターンは、より高レベルの JavaScript 風のファイルにグループ化されます。

Process

ツールをダウンロード