
이것은 SSL 서버가 클라이언트 인증을 요구하는지 여부를 판별하는 탐지 스크립트입니다. 클라이언트 인증이 요구되는 경우 OpenSSL 3.0.0~3.0.6 기반 서버는 CVE-2022-3602와 CVE-2022-3786 모두에 취약합니다.
usage: openssl_cert_detector.py [-h] [-t TARGET] [-T TARGETS]
optional arguments:
-h, --help show this help message and exit
-t TARGET, --target TARGET
Single IP with port separate by colon. Example: -t 192.168.0.3:3000
-T TARGETS, --targets TARGETS
List of IP and port separate by colon and separated by new line in text file
단일 IP와 포트에서 openssl 취약점을 확인하려면
python openssl_cert_detector.py -t 192.168.0.3:3000
텍스트 파일에 줄바꿈으로 구분된 IP 및 포트 목록에서 openssl 취약점을 확인하려면
python openssl_cert_detector.py -T check.txt