
RegExに基づいて露出したAPIキーを見つけ、見つかったキーの一部に対する悪用方法を取得します。
dora
ripgrep を使用しているため、非常に高速dora はファイルパス、コンテキスト付きの行を表示するため、分析が容易事前に ripgrep をインストールしてください。
# clone the repo
$ git clone https://github.com/sdushantha/dora.git
# change the working directory to dora
$ cd dora
# install dora
$ python3 setup.py install --user
$ dora --help
usage: dora [options]
positional arguments:
PATH Path to directory or file to scan
optional arguments:
-h, --help show this help message and exit
--rg-path RG_PATH Specify path to ripgrep
--rg-arguments RG_ARGUMENTS
Arguments you want to provide to ripgrep
--json JSON Load regex data from a valid JSON file (default: db/data.json)
--verbose, -v, --debug, -d
Display extra debugging information
--no-color Don't show color in terminal output
apktool でAPKをデコンパイルし、dora を実行して露出したAPIキーを検出dora でスキャンdora でAPIキーをスキャン以下の方法でコントリビューションしていただけます:
info 情報を追加・改善し、ユーザーが発見したAPIキーを報告する際に有効なバグバウンティレポートを作成しやすくするオリジナル作成者 - Siddharth Dushantha
多くの正規表現は以下のGitHubリポジトリから取得されました: