leonjza / PHPNessusNG

PHP wrapper functions for interfacing with the Nessus V6.x API
MIT License
15 stars 9 forks source link

Problem when creating and launching a Nessus scan #14

Closed mobashua closed 9 years ago

mobashua commented 9 years ago

Hello,

When I create and launch a scan by using : nessus_launch_scan

I can't get it to process the targets I just gave it, even though in the GUI, I can see the targets set up. The scan give no result, not being able to process the targets

Thank you

leonjza commented 9 years ago

Hey, which Nessus version are you testing against?

mobashua commented 9 years ago

API v6 Nessus 6.4.1

leonjza commented 9 years ago

Just to confirm, in the Nessus HTML5 UI, you can see the targets that you have specified via the API, but the scan itself has no results? Could it be that the IP is not live / fire-walled out?

Are there any specific error messages that come about anywhere?

mobashua commented 9 years ago

Exactly, I can see in the GUI the targets previously specified but the scan has no results. The IP is live, there's no problem about that.

A really weird thing, though : After launching the scan which will give me no results, I configure the targets by adding some comma, some space, or by entering 'enter' in the area. Without modifying the targets itselves, I launch again the scan and it gives me the results I would expect.

No messages indicating an error is displayed.

mobashua commented 9 years ago

I configure the targets by adding some comma, some space, or by entering 'enter' in the *GUI textarea

leonjza commented 9 years ago

Ok thanks. Ill setup some local testing to see if I can replicate this. Could you try by adding say a trailing comma to the API code and see if that makes any difference?

Thanks.

mobashua commented 9 years ago

No difference at all.

mobashua commented 9 years ago

Hello,

I succeeded in launching a successful scan by adding this line in my code : nessus_launch_scan

By doing that, I tell it to take into account the policy I created. In fact, the targets was not the problem, but the absence of policy.

Thank you.

leonjza commented 9 years ago

Thank you for the feedback!