needs to be in your cgi folder for a successful running test with this NVT.
Post by Christiaan DeVriesHi Rainer,
What exactly do you mean by the NVT needs a script to test? Basically,
I'm trying to come up with a way I can (mass) scan our networks but as
I'm quite new to OpenVAS I feel I'm missing something here.
/var/lib/openvas/plugins/gb_bash_shellshock_remote_cmd_exec_vuln.nasl
set key www/80/keepalive -> yes
Anything else I should be adding to identify vulnerable machines?
Christiaan de Vries
w: +353 1 526 7736 | m: +353 860 234 384 | e: christiaan.devries
@hetg.ie | www.DigitalPlanet.ie | www.hetg.ie
HIBERNIA HOUSE | Cherrywood Business Park | Loughlinstown | Dublin 18 | Ireland
Hibernia Services Ltd. is registered in Ireland, Company Registration No. 170309
© 2014 Digital Planet, part of the HiberniaEvros Technology Group
-----Original Message-----
From: Openvas-discuss
Rainer Sokoll
Sent: 26 September 2014 11:45
To: openvas-discuss
Subject: Re: [Openvas-discuss] CVE-2014-6271
http://lists.wald.intevation.org/pipermail/openvas-nvts-commits/2014-
Post by Rainer SokollPost by ChrisSeptember/000693.html
openvas-nasl -d -t www.example.com -X -T out
/var/lib/openvas/plugins/gb_bash_shellshock_remote_cmd_exec_vuln.nasl
x.x.x.x - - [26/Sep/2014:11:37:30 +0200] "GET / HTTP/1.1" 200 48163
"-" "Mozilla/4.75 [en] (X11, U; OpenVAS)" x.x.x.x - -
[26/Sep/2014:11:37:30 +0200] "GET /test-cgi HTTP/1.1" 404 1040 "-"
"Mozilla/4.75 [en] (X11, U; OpenVAS)" x.x.x.x - -
[26/Sep/2014:11:37:30 +0200] "GET /cgi-bin/test-cgi HTTP/1.1" 404
1040
Post by Rainer Sokoll"-" "Mozilla/4.75 [en] (X11, U; OpenVAS)" x.x.x.x - -
[26/Sep/2014:11:37:31 +0200] "GET /cgi-bin/test-cgi HTTP/1.1" 404
1040
Post by Rainer Sokoll"-" "Mozilla/4.75 [en] (X11, U; OpenVAS)" x.x.x.x - -
[26/Sep/2014:11:37:31 +0200] "GET /scripts/test-cgi HTTP/1.1" 404
1040
Post by Rainer Sokoll"-" "Mozilla/4.75 [en] (X11, U; OpenVAS)" x.x.x.x - -
[26/Sep/2014:11:37:31 +0200] "GET //test-cgi HTTP/1.1" 404 1040 "-"
"Mozilla/4.75 [en] (X11, U; OpenVAS)"
Stupid me.
Ouf course, the nvt needs a script to tst. And since it cannot know
which scripts are available on a webserver, it simply tries / plus 5
common cgi scripts. If these scripts do not exist (or they ain't a cgi
script) - then there is nothing to test.
Apologies to the author: The script works as expected.
Rainer
_______________________________________________
Openvas-discuss mailing list
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
_______________________________________________
Openvas-discuss mailing list
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss