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:[email protected]] 
On Behalf Of Vijay Anand S P
Sent: Thursday, May 15, 2014 5:48 PM
To: Antonio Sanchez Arago
Cc: [email protected]
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 <[email protected]> 
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 
<[email protected]> wrote:
Dear All,

How to integrate openvas in PHP?

Thanks,

_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss



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

_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to