How to download Nessus Pro using cURL…

assuming you have a valid account with tenable and have paid for your license.

Problem Statement

You are setting up a cloud server to conduct Nessus scans. You don’t have access to ssh (due to various reasons, let’s not go there). you are using cloud console. How would you download Tenable Nessus Pro on your cloud machine?

curl --request GET --url  --header “Authorization: Bearer <auth-code-here>” --output ./fileName.deb