Mailing List Archive

retire is_cgi_installed() without port parameter?
Hi,
there is currently no call to is_cgi_installed() without a port number
in any script (ok, not really true: it's still in upload_cgi.nasl, but
there is an "exit(0)" just in front of it).

Given that 2 weeks ago we had very many of these cases and all were
changed because of bugs, it seems that there is really no correct usage
of is_cgi_installed() without a port number argument. So I'd vote to
kill this puppie (and also it's implementation in libnessus/www_funcs.
c).

What do you think?

so long
Norbert
Re: retire is_cgi_installed() without port parameter? [ In reply to ]
On Thu, Mar 04, 2004 at 01:56:28PM -0800, Norbert Kiesel wrote:
> Hi,
> there is currently no call to is_cgi_installed() without a port number
> in any script (ok, not really true: it's still in upload_cgi.nasl, but
> there is an "exit(0)" just in front of it).
>
> Given that 2 weeks ago we had very many of these cases and all were
> changed because of bugs, it seems that there is really no correct usage
> of is_cgi_installed() without a port number argument. So I'd vote to
> kill this puppie (and also it's implementation in libnessus/www_funcs.
> c).
>
> What do you think?

That's part of the plan for Nessus 2.2.x. If I were a little less lazy,
I'd advocate the use of is_cgi_installed_ka() instead and totally get
rid of is_cgi_installed().

I did a lot of changes these last days and I don't really want to do them all at once.



-- Renaud