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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
ansible-role-log4shell — Log4Shell (CVE-2021-44228) を検出する公式Red Hat Log4j検出スクリプトRHSB-2021-009を使用して、対象のLinuxホストを検証するAnsibleプレイブック。 | Kitploit
ツール/GitHubGitHub/lucab85/ansible-role-log4shell
脆弱性スキャナー脆弱性分析構成監査クラウドセキュリティDevSecOps
GitHublucab85/ansible-role-log4shell

ansible-role-log4shell

Log4Shell (CVE-2021-44228) を検出する公式Red Hat Log4j検出スクリプトRHSB-2021-009を使用して、対象のLinuxホストを検証するAnsibleプレイブック。

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

人気

すべて見る →

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

すべてのツールを探索

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

すべてのツールを見る →
共有
ウェブサイト

lucab85.ansible_role_log4shell

CI Release

Log4Shell(CVE-2021-44228)対策として、公式のRed Hat Log4j検出スクリプト RHSB-2021-009 を使用して対象のLinuxホストをスキャンするAnsibleロールです。

Red Hat バージョン 1.3 ディテクタ 2022-01-10 でテスト済みです。

Ansible Playbook

コードはAnsible Playbook lucab85/log4j-cve-2021-44228 としても利用できます。

Requirements

ansible 2.9+

Role Variables

デフォルトの変数値 - defaults/main.yml:

root@kitploit:~
sh_detector: "cve-2021-44228--2022-01-10-1242.sh"
sh_signature: 'cve-2021-44228--2022-01-10-1242.sh.asc'
detector_baseurl: 'https://access.redhat.com/sites/default/files/'
detector_path: "/var/"
detector_dir: "/opt/cve-2021-44228/"
detector_run_dir: 'tmp'
detector_options: '-n -d --no-progress --scan {{ detector_path }}'
gpg_keyid: '7514F77D8366B0D9'
gpg_server: "pgp.mit.edu"
clean_run_before: true
delete_after: true
verify_gpg: false
  • sh_detector: 検出スクリプトのbashスクリプトファイル名
  • sh_signature: 検出スクリプトのGPG署名ファイル名
  • detector_baseurl: 上記のファイルをダウンロードするためのベースURL
  • detector_path: 検査対象のパス(デフォルト /var/)
  • detector_dir: 検出スクリプトのダウンロード先パス(デフォルト detector_dir - /opt/cve-2021-44228/)注: ボリュームには実行権限が必要です!
  • detector_run_dir: 実行前に作成するサブディレクトリ(デフォルト tmp)
  • detector_options: 検出スクリプトのコマンドラインオプション(デフォルト -n -d --no-progress --scan {{ detector_path }})
  • gpg_keyid: 検証のためにダウンロードするGPG公開鍵(デフォルト Red Hat Product Security )

Dependencies

なし。

Download

まず、Ansible Galaxy から Ansibleロール lucab85.ansible_role_log4shell の最新バージョンをダウンロードします:

root@kitploit:~
ansible-galaxy install lucab85.ansible_role_log4shell

Example Playbook

これは lucab85.ansible_role_log4shell ロールの使用例です(変数をパラメータとして渡します):

root@kitploit:~
---
- name: run detector
  hosts: all
  become: true
  roles:
    - role: lucab85.ansible_role_log4shell
      detector_path: "/var/www"

License

MIT / BSD

Author Information

このロールは2021年に Ansible Pilot の著者である Luca Berton によって作成されました。

Ansible Pilot

詳細情報:

  • Website
  • Ansible Pilot YouTube channel
  • Medium
  • Twitter

Donate

ご支援ありがとうございます:

  • Patreon
  • ピザを買ってください
  • GitHub スポンサー
ツールをダウンロード
7514F77D8366B0D9
  • gpg_server: GPG公開鍵をダウンロードするGPGサーバー(デフォルト pgp.mit.edu)
  • clean_run_before: 実行前に実行ディレクトリを削除して再作成します - 検出スクリプトには空のディレクトリが必要です(デフォルト true)
  • delete_after: 実行後に detector_dir を削除します(デフォルト false)
  • verify_gpg: GPG署名のダウンロードと検証を実行します(デフォルト: false)