<<

NAME

pf::scan::openvas

DESCRIPTION

pf::scan::openvas is a module to add OpenVAS scanning option.

METHODS

createEscalator

Create an escalator which will trigger an action on the OpenVAS server once the scan will finish

createTarget

Create a target (a target is a host to scan)

createTask

Create a task (a task is a scan) with the existing config id and previously created target and escalator

processReport

Retrieve the report associated with a task. When retrieving a report in other format than XML, we received the report in base64 encoding.

Report processing's duty is to ensure that the proper violation will be triggered.

new

Create a new Openvas scanning object with the required attributes

startScan

That's where we use all of these method to run a scan

startTask

Start a scanning task with the previously created target and escalator

_generateCallback

Escalator callback needs to be different if we are running OpenVAS locally or remotely.

Local: plain HTTP on loopback (127.0.0.1)

Remote: HTTPS with fully qualified domain name on admin interface

SUBROUTINES

_get_escalator_string

create_escalator string creation.

_get_task_string

create_task string creation.

AUTHOR

Inverse inc. <info@inverse.ca>

COPYRIGHT

Copyright (C) 2005-2015 Inverse inc.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

<<