{"id":13815010,"url":"https://github.com/leonjza/php-nessus-api","last_synced_at":"2025-05-15T06:33:56.490Z","repository":{"id":145680432,"uuid":"2637461","full_name":"leonjza/php-nessus-api","owner":"leonjza","description":"PHP wrapper functions for the Nessus API","archived":true,"fork":false,"pushed_at":"2014-07-08T15:40:16.000Z","size":304,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-19T10:47:54.710Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leonjza.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-10-24T16:30:12.000Z","updated_at":"2023-09-02T08:53:19.000Z","dependencies_parsed_at":"2023-03-23T01:22:51.790Z","dependency_job_id":null,"html_url":"https://github.com/leonjza/php-nessus-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonjza%2Fphp-nessus-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonjza%2Fphp-nessus-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonjza%2Fphp-nessus-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonjza%2Fphp-nessus-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leonjza","download_url":"https://codeload.github.com/leonjza/php-nessus-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254289075,"owners_count":22046026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T04:02:50.234Z","updated_at":"2025-05-15T06:33:56.200Z","avatar_url":"https://github.com/leonjza.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"#WARNING\n\n## This repository is no longer maintained. You should be using this one instead https://github.com/leonjza/PHPNessusNG\n\n#php-nessus-api\n\nInformation:\n-----------\nThe Nessus Vulnerability Scanner provides an API interface via XMLRPC.\nSee: http://static.tenable.com/documentation/nessus_5.0_XMLRPC_protocol_guide.pdf\n\nThe latest version of this wrapper has only been tested against a Nessus 5.2.1 scanner.\n\nThis class is simply a set of functions implemented using PHP-Curl to enable querying of this\nAPI using a function and then receiving an array with the applicable data.\n\nRequires:\n------------\n-\tphp\n-\tphp-curl\n-\tphp-cli if you plan on running scripts from the cli\n\nUsage example:\n---------------\n\nSimply include `nessus.php` in your script.\nThen, create a new *NessusInterface* Object, like:\n\n```php\ntry {\n\n    $api = new NessusInterface(\n        $__url,\n        $__port,\n        $__username,\n        $__password\n    );\n\n} catch(Exception $e) {\n\n    preprint($e-\u003egetMessage());\n}\n```\n\nDo some API calls. Most methods return some usefull information that should be inspected in your usage case.\n\n```php\ntry {\n\n    $api-\u003efeed();\n    $api-\u003ereportList();\n    $api-\u003epolicyList();\n    $api-\u003escanList();\n\n} catch(Exception $e) {\n\n    preprint($e-\u003egetMessage());\n}\n```\n\nCurrent Available Methods\n-------------------------\n\n    [1] =\u003e reportList\n    [2] =\u003e feed\n    [3] =\u003e policyList\n    [4] =\u003e scanList\n    [5] =\u003e templateList\n    [6] =\u003e newScanTemplate\n    [7] =\u003e scanPause\n    [8] =\u003e scanResume\n    [9] =\u003e scanStop\n    [10] =\u003e templateDelete\n    [11] =\u003e templateLaunch\n    [12] =\u003e serverLoad\n\nKnown issues:\n-------------\n-\tThere are probably bugs about.\n-\tNot all API call have been implemented. Coming soon(tm) as I need them.\n-\tProbably lack of proper documentation too.\n\nContact\n-------\nTwitter: @leonjza\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonjza%2Fphp-nessus-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleonjza%2Fphp-nessus-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonjza%2Fphp-nessus-api/lists"}