Skip to content

PowerShell Script to Export and Download Scan Result in Nessus Professional, using the Nessus Professional API

Notifications You must be signed in to change notification settings

Johnng007/PowershellNessus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Powershell Nessus

PowerShell Script to Manage Scan Result in Nessus Professional, leveraging on the Nessus API.

NOTE: This script only works in Powershell 6/7.

πŸ€” ABOUT

This script exports and downloads Nessus scans based on the scan Name or ID.

The actions herein are based on the Nessus Professional API https://developer.tenable.com/reference/navigate

🎫 Mandatory Dependencies

This script is only compatible with Powershell 6/7.

You can download and install Powershell 7 Here https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4

πŸ”¨ Usage

# copy the files to the computer
git clone https://github.com/Johnng007/Nessus-Pro-API

# Execution
.\NessusAPI.ps1 <parameters>

πŸ₯Š Examples

# Export and Download with a scan Name
.\NessusAPI.ps1 -Name NameofScan

# Export and Download with Scan ID
.\NessusAPI.ps1 -ID IDNumber

# Export and Download in a certain Format
.\NessusAPI.ps1 -Name NameofScan -Format html
NB: format could be(nessus,csv,html,pdf)

# Specify the Server URL
.\NessusAPI.ps1 -Name NameofScan -Format html -Server https://localhost:8834
NB: Defaults to https://localhost:8834

✍ Notes

πŸ€” MORE TOOLS

Want to check out other Black Widow Tools?

  1. Forensicator - Live Forensics and Incidence Response Script. https://github.com/Johnng007/Live-Forensicator
  2. Anteater - A python based web reconnaisence tool. https://github.com/Johnng007/Anteater

✨ ChangeLog

v1.0 10/01/2024
Initial Release.

About

PowerShell Script to Export and Download Scan Result in Nessus Professional, using the Nessus Professional API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published