[Openvas-discuss] Installation

Winfried Neessen neessen at cleverbridge.com
Thu May 15 17:52:42 CEST 2014


Hi,

OMP is a protcol. It is not bound to any of the packages. Either fo these 
packages are OpenVAS.
The one is a virtual appliance (which brings a VM with OS and all needed 
packages). Binary
packages are the packages that bring OpenVAS to your local OS installation 
and the source packages
are the OpenVAS for those who like to compile their own build of OpenVAS. In 
any case the result
is the same… an OpenVAS installation.

I suggest you first read through the documentation about what OMP is and how 
to implement it.
I've written a basic perl implementation some time ago- in case you need 
some references:
http://search.cpan.org/~wneessen/OpenVAS-OMP_0.04/lib/OpenVAS/OMP.pm

Winni

From: Openvas-discuss [mailto:openvas-discuss-bounces at wald.intevation.org] 
On Behalf Of Vijay Anand S P
Sent: Thursday, May 15, 2014 5:48 PM
To: Antonio Sanchez Arago
Cc: openvas-discuss at wald.intevation.org
Subject: Re: [Openvas-discuss] Installation

There are three packages are available..

Virtual Appliance
Binary Packages
Source Packages

Which one is need to be implemented?

On Thu, May 15, 2014 at 9:14 PM, Antonio Sanchez Arago <vradick at gmail.com> 
wrote:
Hello.
We have made a PHP client in a project, and it's quite easy using OMP 
protocol (v4.0 in our case). Basically:

// 1. Connect:
$context = stream_context_create();
$fp = stream_socket_client('ssl://'.$host.':'.$port, $errno, $errstr, 30, 
STREAM_CLIENT_CONNECT, $context);
// 2. Send command and receive response:
fwrite($fp, "<get_version/>");
$res='';
do {
    $res.=$buf=fread($fp, 8192);
} while(strlen($buf)==8192);
// 3. Do whatever you want with the response. You should check the status of 
the response.
print($res);
// 4. Disconnect:
fclose($fp);
I hope this will help you.

On Thu, May 15, 2014 at 5:14 PM, Vijay Anand S P 
<s.p.vijayanand+office at agriya.in> wrote:
Dear All,

How to integrate openvas in PHP?

Thanks,

_______________________________________________
Openvas-discuss mailing list
Openvas-discuss at wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss



-- 
Antonio Sánchez Aragó
blog: http://vradick.blogspot.com
------------------------------------------------ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wald.intevation.org/pipermail/openvas-discuss/attachments/20140515/1c6c4bc0/attachment.html>


More information about the Openvas-discuss mailing list