Hi, I have a question about the function http_cgi_dirs()
.
Are there any plugins that may change the return value of the function, or the return value will be the same on every function call (with the same parameters)?
Hi, I have a question about the function http_cgi_dirs()
.
Are there any plugins that may change the return value of the function, or the return value will be the same on every function call (with the same parameters)?
The http_cgi_dirs()
function is initially returning only the /
root dir by default. The “final” list of returned directories is then influenced by various factors / VTs:
cgi_path
scanner preference (openvas -s | grep cgi_path
)Hope this helps.
So, the list is final when the VT “Web mirroring” runs complete, right?
Yes, after the two VTs "Directory Scanner” and "Web mirroring” have finished their work (the first one is a dependency of the latter and should be pulled in / launched and started before) the list is final.
That’s why you also see most of the HTTP based VTs have a dependency to both VTs.