
CVE-1999-0524 (ICMP Timestamp Disclosure) का पता लगाने के लिए एक टोही उपकरण, जो nping या hping3 के माध्यम से टाइमस्टैम्प निष्कर्षण को स्वचालित करता है। कच्चे ICMP टाइमस्टैम्प को मानव-पठनीय दूरस्थ सिस्टम समय में परिवर्तित करता है ताकि भेद्यता सत्यापन किया जा सके।
स्क्रिप्ट का एक सेट जो ICMP Timestamp Information Disclosure भेद्यता (CVE-1999-0524) का पता लगाने और प्रदर्शित करने के लिए है।
ये उपकरण कस्टम ICMP Type 13 (Timestamp Request) पैकेट भेजते हैं और रिमोट सिस्टम समय जानकारी निकालने के लिए प्रतिक्रियाओं का विश्लेषण करते हैं।
nping (अनुशंसित) और hping3 (Bash) का समर्थनICMP-Timestamp.ps1 — PowerShell (Windows)icmp_timestamp_scanner.sh — Bash (Linux)nping (Nmap से) PATH मेंएकल लक्ष्य स्कैन करें
.\ICMP-Timestamp.ps1 -Targets "example.com"
एकाधिक लक्ष्य स्कैन करें (अल्पविराम-पृथक)
.\ICMP-Timestamp.ps1 -Targets "example.com","192.168.1.1","target.domain.com"
फ़ाइल से लक्ष्य स्कैन करें
.\ICMP-Timestamp.ps1 -TargetFile "targets.txt"
तेज़ स्कैनिंग के लिए ping परीक्षण छोड़ें
.\ICMP-Timestamp.ps1 -TargetFile "targets.txt" -SkipPingTest
कस्टम टाइमआउट (मिलीसेकंड)
.\ICMP-Timestamp.ps1 -TargetFile "targets.txt" -TimeoutMs 5000
nping या hping3sudo विशेषाधिकार (ICMP भेजने के लिए)निष्पादन योग्य बनाएं
chmod +x icmp_timestamp_scanner.sh
एकल लक्ष्य स्कैन करें
sudo ./icmp_timestamp_scanner.sh -i example.com
एकाधिक लक्ष्य स्कैन करें (अल्पविराम-पृथक)
sudo ./icmp_timestamp_scanner.sh -l "example.com,192.168.1.1,target.domain.com"
sudo ./icmp_timestamp_scanner.sh -f targets.txt
sudo ./icmp_timestamp_scanner.sh -f targets.txt
ping परीक्षण छोड़ें (तेज़)
sudo ./icmp_timestamp_scanner.sh -f targets.txt -p
nping के बजाय hping3 का उपयोग करें
sudo ./icmp_timestamp_scanner.sh -f targets.txt -t hping3
कस्टम टाइमआउट (सेकंड)
sudo ./icmp_timestamp_scanner.sh -f targets.txt -w 5
##🖨️ नमूना आउटपुट
#################################################
# CVE-1999-0524 - Remote Date Disclosure #
# Multi-Target Enhanced Version #
#################################################
Starting scan of 3 targets...
Processing target: example.com
Host is online
[RESULT] VULNERABLE to CVE-1999-0524
Disclosed remote time: 2023-10-15T07:28:28.065Z
Timestamps - Originate: 0, Receive: 26908065, Transmit: 26908065
Processing target: 192.168.1.1
Host is offline or not responding
Processing target: target.domain.com
Host is online
[RESULT] Not vulnerable to CVE-1999-0524
The target is not disclosing system time via ICMP timestamps
Scan completed.