Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility for Nessus 8 #1

Open
novaksam opened this issue Nov 12, 2018 · 1 comment
Open

Compatibility for Nessus 8 #1

novaksam opened this issue Nov 12, 2018 · 1 comment

Comments

@novaksam
Copy link

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 :)

gitmopp added a commit to gitmopp/nessus_report_downloader that referenced this issue Nov 24, 2020
Changed to Python3
Integrated patch from novaksam 0xn1k5#1
atluxity added a commit to atluxity/nessus_report_downloader that referenced this issue Dec 15, 2020
gitmopp changed to Python3
gitmopp integrated patch from novaksam 0xn1k5#1
atluxity merging to master branch
@0xn1k5
Copy link
Owner

0xn1k5 commented Jul 17, 2022

The script has been updated, Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants