Skip to content

tiemio/Nessus-to-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

nessus-to-web

Extract web service URLs from Nessus scan files (.nessus) and output them to a plain text file.

Requirements

  • Python 3.10+
  • No external dependencies

Usage

# Parse all .nessus files in the current directory
python3 nessus_to_urls.py

# Parse specific files
python3 nessus_to_urls.py scan1.nessus scan2.nessus

# Custom output file (default: urls.txt)
python3 nessus_to_urls.py -o webservices.txt scan.nessus

Output

The script produces a sorted, deduplicated list of URLs — one per line:

http://10.0.0.1:8080
https://10.0.0.2
https://example.com
https://example.com:8443

How it works

  1. Parses the .nessus XML and iterates over each host and report item
  2. Identifies web services by matching service names (www, http, https, http-alt, https-alt, http-proxy) and plugin names containing HTTP/web keywords
  3. Determines http vs https by checking for SSL/TLS-related Nessus plugins on the same port
  4. Uses the host FQDN when available, otherwise falls back to the IP address
  5. Omits default ports (80 for HTTP, 443 for HTTPS); includes non-standard ports in the URL

Options

Flag Description Default
files One or more .nessus file paths All .nessus files in .
-o, --output Output file path urls.txt

Nessus-to-web

About

Easily get a list of URLs, which you could manually go through or use Gowitness to explore.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages