Published on April 4th, 2016 | by NJ Ouchn


AutoNessus – Python Script to Communicate with Nessus API

AutoNessus communicates with the Nessus API in an attempt to help with automating scans. Depending on the flag issued with the script, you can list all scans, list all policies, start, stop, pause, and resume a scan. It may be helpful to create a cron job/scheduled task for automating the start or pause of scans if the client has a desired testing window.


You need to modify these lines in the script with your information

# Specify credentials for Nessus and initialize vars
url = 'https://localhost:8834'
verify = False
token = ''
username = 'xxxxx'
password = 'xxxxx'

Tags: , , ,

About the Author

"Passion is needed for any great work, and for the revolution, passion and audacity are required in big doses"

Back to Top ↑