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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
domains-from-csp — Content Security Policy(CSP)ヘッダーからドメイン名を抽出するスクリプト | Kitploit
ツール/GitHubGitHub/0xbharath/domains-from-csp
OSINT (オープンソースインテリジェンス)偵察ネットワークマッピング情報収集ウェブセキュリティペネトレーションテストサブドメイン列挙DNS分析
GitHub0xbharath/domains-from-csp

domains-from-csp

Content Security Policy(CSP)ヘッダーからドメイン名を抽出するスクリプト

リポジトリを見る
113307年前Kitploit レビュー済み

人気

すべて見る →

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

すべてのツールを探索

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

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

domains-from-csp

CSPヘッダーからドメイン名をパースするPythonスクリプト

  • Content Security Policy(CSP)ヘッダーからドメイン名を抽出するスクリプト
  • 出力は今のところstdoutに出力されます

デモ

script-in-action

スクリーンショット

サードパーティ製パッケージの依存関係

requests

click

セットアップ

  • このリポジトリをクローンします
root@kitploit:~
$ git clone [email protected]:yamakira/censys-enumeration.git
  • 依存関係をインストールします
root@kitploit:~
$ pipenv install
  • ヘルプメニューを確認します
root@kitploit:~
$ python csp_parser.py --help
                                                                                                   2 ↵
Usage: csp_parser.py [OPTIONS] URL

Options:
  -r, --resolve / --no-resolve  Enable/Disable DNS resolution
  --help                        Show this message and exit.

使い方

  • CSPヘッダーからドメイン名をパースしますが、DNS解決は行いません
root@kitploit:~
$ python csp_parser.py target_url
  • CSPヘッダーからドメイン名をパースし、DNS解決も行います
root@kitploit:~
$ python csp_parser.py target_url --resolve
root@kitploit:~
$ python csp_parser.py target_url -r
ツールをダウンロード