nessus_report_downloader icon indicating copy to clipboard operation
nessus_report_downloader copied to clipboard

Compatibility for Nessus 8

Open novaksam opened this issue 7 years ago • 1 comments
trafficstars

diff --git a/nessus_report_downloader.py b/nessus_report_downloader.py
index 26fddca..2158234 100755
--- a/nessus_report_downloader.py
+++ b/nessus_report_downloader.py
@@ -227,7 +227,7 @@ def downloadNessusReport(base_url, token, scan_id_list, json_user_data):
             resp2 = sendGetRequest(url, headers=token_header)
 
         # If nessus report is ready for download, then write the response in external file
-        url= base_url + "/scans/exports/{0}/download".format(str(file_token["token"]))
+        url= base_url + "/tokens/{0}/download".format(str(file_token["token"]))
         if json.loads(resp2.text)["status"] == "ready":
             printMessage("Download link is available now", 1)
             resp3 = sendGetRequest(url,headers=token_header)

Thought I'd share :)

novaksam avatar Nov 12 '18 20:11 novaksam

The script has been updated, Thanks!

0xn1k5 avatar Jul 17 '22 16:07 0xn1k5