Script to test whether your environment is potentially vulnerable to CVE-2024-49113 (LDAP Nightmare). This script performs:
- RPC connectivity checks
- LDAP port tests
- Netlogon service validation
- LDAP callback verification
usage : python CVE-2024-49113-checker.py <target>
Example
# Scan a single IP
python CVE-2024-49113-checker.py 192.168.1.1
# Scan a subnet
python CVE-2024-49113-checker.py 192.168.1.0/24
# Scan from a file
python CVE-2024-49113-checker.py ips.txt -o vulnerable_hosts.txt