[Openvas-devel] Question on NVT development

Tim Brown timb at nth-dimension.org.uk
Sun Aug 31 21:09:03 CEST 2008


On Sunday 31 August 2008 19:58:00 Jan-Oliver Wagner wrote:
> On Sunday 31 August 2008 17:51, Christian Eric EDJENGUELE wrote:
> > I'm begun writing a NVT for openvas, I want to perform multiples HTTP
> > GET REQUESTS on some pages taken from list or array using a foreach
> > loop or something similar. ex:
> > list = page1, page2,...
> > and foreach page in list get page
> >
> > are they some funtions to do that, or I've to implemtn them ?
>
> seems a "foreach" does exist:
> http://www.openvas.org/compendium/nasl-loops.html
>
> but the compendium has not yet been extended with details here.
> So, it is probably best to look into some other scripts for sample usage.

foreach _portcluster (split(_portrange, sep:",", keep:false))

-- 
Tim Brown
<mailto:timb at nth-dimension.org.uk>
<http://www.nth-dimension.org.uk/>


More information about the Openvas-devel mailing list