
Checks if a system is potentially vulnerable to CVE-2024-49113 (LDAP Nightmare) by testing RPC connectivity, LDAP ports, Netlogon service, and LDAP callback verification.
Script to test whether your environment is potentially vulnerable to CVE-2024-49113 (LDAP Nightmare). This script performs:

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