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

nessus api error #840

Open
BeneficialCode opened this issue Sep 19, 2024 · 1 comment
Open

nessus api error #840

BeneficialCode opened this issue Sep 19, 2024 · 1 comment

Comments

@BeneficialCode
Copy link

BeneficialCode commented Sep 19, 2024

Describe the bug
The nessus scans create api don't work correctly. It cannot create a scan.

To Reproduce
Steps to reproduce the behavior:

nessus = Nessus(url=url,access_key=access_key, secret_key=secret_key)
resp = nessus.editor.template_list('scan')
print(resp)
uuid = resp[1]['uuid']
resp = nessus.scans.create(uuid=uuid,
                           settings = {
                            'name': 'test scan python',
                            'enabled': True,
                            'text_targets': '192.168.65.1',
                            'agent_group_id': []
                        })
print(resp)

Expected behavior
nessus.scans.create's response is correct.

Bugs
Requests Library Error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Requests Library Error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

System Information (please complete the following information):

  • OS: CentOS 7
  • Architecture: 64bit
  • Version: CentOS-7-x86_64-Everything-2009
  • Memory: 6G

Additional context
Version10.8.3 LINUX

@SteveMcGrath
Copy link
Contributor

Please note that most Nessus installs will have this API disabled, which is likely the issue.

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