Skip to content

youssefelnamer/scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Scanner

A simple Python script that scans a network for open ports and checks discovered services against the NVD database for known CVEs.

Features

  • Detects open ports and running services using Nmap
  • Fetches known CVEs from the NVD API for each detected service version

Requirements

  • Python 3.x
  • Nmap installed on your system
  • Python libraries:
pip3 install python-nmap requests --break-system-packages

Usage

python scanner.py

Then enter the target network when prompted, for example:

Enter the network to scan: 192.168.1.0/24

Example Output

Port: 22  | Service: ssh     | Version: OpenSSH 8.2 | CVEs: CVE-2023-38408
Port: 80  | Service: http    | Version: Apache 2.4.51 | CVEs: CVE-2021-41773, CVE-2021-42013
Port: 443 | Service: https   | Version: Unknown

Disclaimer

This tool is for educational purposes and authorized network testing only. Do not use it on networks you do not own or have permission to test.

About

A simple Python script that scans a network for open ports and checks discovered services against the NVD database for known CVEs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages