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
