Closed yoursecurity closed 9 years ago
Thanks for the report. Busy with another small fix now and will fix this too. Should be ready to update to a new version later today.
As soon as its in packagist, this should be fixed in v1.0.2 now.
worked fine... another (unrelated) question: if I call
$nessus = new Nessus\Client($nessus_user, $nessus_pass, $nessus_host); $scans = $nessus->scans()->via('get'); var_dump($scans);
it works fine but instead if I call for the raw
$nessus = new Nessus\Client($nessus_user, $nessus_pass, $nessus_host); $scans = $nessus->scans()->via('get', true); var_dump($scans);
I get an authentication (403) error:
PHP Notice: Trying to get property of non-object in /XXXXXXX/vendor/leonjza/php-nessus-ng/src/Nessus/Nessus/Call.php on line 65 Client error response [status code] 403 [reason phrase] Unauthorized [url] https://localhost:8834/scans/
I am debugging into your code and related dependencies but I cannot understand what i am missing
I can test this out myself later tonight to have a look. Mind if we create a new issue to track this one?
created https://github.com/leonjza/PHPNessusNG/issues/10
many thanks for your support and API work!
On 25-11-2014 14:34, Leon Jacobs wrote:
I can test this out myself later tonight to have a look. Mind if we create a new issue to track this one?
Reply to this email directly or view it on GitHub [1].
*
Links:
[1] https://github.com/leonjza/PHPNessusNG/issues/9#issuecomment-64399681
Line 38 of Call.php seems to have a lowercase mistype error:
i had to locally fix to