Skip to content
KitploitKITPLOIT
ToolsBlog
Log in
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Scanner_CVE_2026-42945 — Script Python para detecção de instâncias Nginx vulneráveis ao CVE-2026-42945 em IPs, CIDRs e ASNs. | Kitploit
Tools/GitHubGitHub/oseasfr/scanner_cve_2026-42945
ReconnaissanceVulnerability ScannersNetwork MappingExploitationInformation GatheringWeb Security
GitHuboseasfr/scanner_cve_2026-42945

Scanner_CVE_2026-42945

Script Python para detecção de instâncias Nginx vulneráveis ao CVE-2026-42945 em IPs, CIDRs e ASNs.

View Repository
181376 months agoNot yet reviewed
Share
image

Scanner for detecting Nginx instances vulnerable to CVE-2026-42945 (NGINX RIFT).
Accepts individual IPs, CIDR ranges, and ASNs as input.

About

CVE-2026-42945 affects all Nginx versions prior to 1.30.1.

The tool probes HTTP and HTTPS on default ports, reads the Server header from the response, and classifies each host as vulnerable, safe, or potentially affected (hidden version).

Results are saved to a log, with a list of hosts vulnerable to the CVE and a detailed .CSV file at the end.

Requirements

pip install requests packaging urllib3 dnspython

Usage

# Single IP
python nginx_scanner.py --ip 93.184.216.34

# CIDR range
python nginx_scanner.py --cidr 10.0.0.0/24

# Multiple CIDRs
python nginx_scanner.py --cidr 10.0.0.0/24 192.168.1.0/24

# ASN (originated prefixes resolved via RIPE Stat, fallback to bgp.tools)
python nginx_scanner.py --asn AS15169

# Combination of inputs
python nginx_scanner.py --asn AS13335 --cidr 10.0.0.0/8 --ip 1.2.3.4

# From a file (one IP, CIDR or ASN per line)
python nginx_scanner.py --file targets.txt

Example IP SCAN:

image

Example CIDR SCAN:

image

Example ASN SCAN:

image

Optional parameters

ParameterDefaultDescription
--workers60Number of simultaneous threads for the HTTP scan
--timeout2.0HTTP request timeout in seconds
--dns-workers200Number of simultaneous threads for reverse DNS resolution
--dns-timeout1.5DNS query timeout in seconds
--no-confirm—Skip confirmation before starting (useful in automation)

DNS resolution is executed in batch before the HTTP scan, using a dedicated thread queue (--dns-workers), preventing DNS latency from impacting scan performance.

Output

All results are written to ./logs/:

FileContent
nginx_scan_<timestamp>.logFull scan log
nginx_scan_<timestamp>_vulneraveis.txtOnly vulnerable hosts
nginx_scan_<timestamp>_resultados.csvAll hosts with status

Status values

StatusMeaning
VULNERABLEConfirmed version below 1.30.1
SAFEConfirmed version 1.30.1 or higher
WARNING (Hidden Version)Nginx detected but version not exposed — not confirmed safe
INDETERMINATEVersion could not be interpreted

Remediation

Update Nginx to version 1.30.1 or higher using the official nginx.org repository.

# Ubuntu / Debian
curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor \
  | tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null

echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \
http://nginx.org/packages/mainline/ubuntu $(lsb_release -cs) nginx" \
  | tee /etc/apt/sources.list.d/nginx.list

echo -e "Package: *\nPin: origin nginx.org\nPin-Priority: 900" \
  | tee /etc/apt/preferences.d/99nginx

apt update && apt install --only-upgrade nginx
nginx -v

For other distributions, consult the official Nginx documentation.

References

  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-42945
  • Nginx changelog: https://nginx.org/en/CHANGES

Disclaimer

This script is intended for use on your own infrastructure or under explicit authorization.
Unauthorized scanning may violate various laws, so use with caution.

If you have any suggestions for feature improvements or bugs, feel free to open an issue and send me a Pull Request.

All contributions are welcome! 🚀🚀

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    851
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    538
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    420
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    357
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    297
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    280

Explore all tools

Browse our collection of tools

View all tools →