queencitycyber / nexporter

nexporter: export & explore Nessus professional scan data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nexporter

nexporter lets you export & explore Nessus professional scan data.

image

Why

Nessus is alright when working with a handful of scans. But what if you have 50 different scans and wished to collate them all into a single database? That's what I tried to do here. The project uses sqlitebiter and datasette to transform all the csv files into a single .sqlite database and serve them locally in a browser for API integration, respectively.

Installation

Clone the repo and run:

git clone https://github.com/queencitycyber/nexporter
cd nexporter
python3 nexporter.py --help

Getting started

Point nexporter at your Nessus instance and it will export all scans as csv and transform them into a sqlite database. Optionally, pass the --serve argument and you'll have a local webserver to explore the data.

Example Usage

Connect to your Nessus instance and download all scans in csv format. Output results in csv directory:

python3 nexporter.py -t https://127.0.0.1:8834 -u username -p password -o csv

If you don't want to pass credentials on the command line, source your username and password from environment variables:

export NESSUS_USER=USERNAME
export NESSUS_PASS=PASSWORD
python3 nexporter.py -t https://127.0.0.1:8834

If you don't want to export variables, omission on the command line will prompt you for your password:

python3 nexporter.py -t https://127.0.0.1:8834 -u username -o csv
Password:

Thanks

About

nexporter: export & explore Nessus professional scan data.


Languages

Language:Python 100.0%