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
Vulnerability ScannersVulnerability AnalysisConfiguration AuditingCloud SecurityDevSecOps
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

공식 Red Hat Log4j 디텍터 스크립트 RHSB-2021-009를 사용하여 Log4Shell(CVE-2021-44228)을 탐지하기 위해 대상 Linux 호스트를 스캔하는 Ansible 역할입니다.

Red Hat 버전 1.3 디텍터 2022-01-10로 테스트했습니다.

Ansible 플레이북

코드는 Ansible 플레이북 lucab85/log4j-cve-2021-44228으로도 제공됩니다.

요구 사항

ansible 2.9+

역할 변수

기본 변수 값 - 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 )

의존성

없음.

다운로드

먼저 최신 버전의 Ansible 역할 lucab85.ansible_role_log4shell을 Ansible Galaxy에서 다운로드하세요:

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

예제 플레이북

이 예제는 lucab85.ansible_role_log4shell 역할을 (변수를 매개변수로 전달하여) 사용하는 방법을 보여줍니다:

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

라이선스

MIT / BSD

작성자 정보

이 역할은 2021년에 Ansible Pilot의 저자인 Luca Berton이 만들었습니다.

Ansible Pilot

추가 정보:

  • 웹사이트
  • Ansible Pilot YouTube 채널
  • Medium
  • Twitter

후원

지원해 주셔서 감사합니다:

  • Patreon
  • 피자 사주기
  • GitHub 후원
도구 다운로드
7514F77D8366B0D9
  • gpg_server: GPG 공개 키를 다운로드할 GPG 서버 (기본값 pgp.mit.edu)
  • clean_run_before: 실행 전에 실행 디렉터리를 제거하고 다시 생성합니다 - 디텍터는 빈 디렉터리가 필요합니다 (기본값 true)
  • delete_after: 실행 후 detector_dir 을 제거합니다 (기본값 false)
  • verify_gpg: GPG 서명 다운로드 및 검증을 수행합니다 (기본값: false)