yes, I have made exactly in that way. === Christian Eric Edjenguele IT Security Software Developer & Researcher tel. +39 3408580513 View my linkedin profile: http://www.linkedin.com/in/edjenguele My blog: http://www.edjenguele.blogspot.com --- Management, Developers, Security Professionals – can only result in one thing…… better security. http://www.owasp.org/index.php/OWASP_NYC_AppSec_2008_Conference Sept 22nd-25th 2008
----- Messaggio originale ----- Da: Tim Brown <[EMAIL PROTECTED]> A: [EMAIL PROTECTED] Cc: Christian Eric EDJENGUELE <[EMAIL PROTECTED]>; openvas-devel@wald.intevation.org Inviato: Martedì 2 settembre 2008, 14:01:08 Oggetto: Re: [Openvas-devel] Plugins development (moved to -plugins, please do not cc -devel in further responses) On Monday 01 September 2008 18:37:43 Christian Eric EDJENGUELE wrote: > so, i made a HTTP GET REQUEST, does openvas has a function to lookup for > specific string in the header ? > > for example if the response look like this: > > date: 12/30/2008 > server: apache 2.25 (Win32) > > can I get the header 'server' and lookup for the string Win32 ? or they are > not function that do that, and I've to use alternate method (regular Yes, there are several ways to do this. Either the >< operator or stridx can be used for this purpose. For example: if (response >< Win32) { ... } or: if (stridx(response, "Win32)) >= 0) { ... } Cheers, Tim -- Tim Brown <mailto:[EMAIL PROTECTED]> <http://www.nth-dimension.org.uk/> __________________________________________________ Do You Yahoo!? Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi http://mail.yahoo.it _______________________________________________ Openvas-devel mailing list Openvas-devel@wald.intevation.org http://lists.wald.intevation.org/mailman/listinfo/openvas-devel