Hi guys,

Quoting the NASL reference Manual Version 1.0.0pre2

�Note : You can not read back an knowledge base item
you have added. For instance, the following piece of
code will not work and never execute what it should :
 
set_kb_item(name:"attack", value:TRUE);
if(get_kb_item("attack"))
{
 # Perform the attack - will not be executed
 # because our local KB has not been updated
}�

I have a very grave question at this point. 

Consider the normal situation, where the scanners
populate the KB and the find_service.nes reads from
it. This would not be possible if the above thing were
true, ie if the plugins can read only the current
security test knowledge base and not the original
knowledge base, then nessusd would have to be
restarted everytime some plugin modifies the knowledge
base.

But this looks improbable as the knowledge base
*looks* shared in this case.

Or is it that, I cannot set the knowledge base item
and read it from inside a single plugin, but I can
read the knowledge base item when I have come out of
that particular plugin into some other plugin which
runs after it ?

Regards
Ashutosh


________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and 
more. 
Go to: http://in.insurance.yahoo.com/licspecial/index.html
_______________________________________________
Nessus mailing list
[EMAIL PROTECTED]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to