Ok, gotcha. No, it's running just fine inside Nessus, but I was just
doing a quick test from nasl and wasn't getting the result I expected.

Thanks for the clarification Renaud.

-Tim

Renaud Deraison wrote:
> 
> On Oct 24, 2008, at 5:02 PM, Tim Rupp wrote:
> 
>> Is there a setting in nessus that I need to have enabled to successfully
>> get past the
>>
>> os = get_kb_item ("Host/OS/smb") ;
>> if ("Windows" >!< os) exit(0);
>>
>>
>> lines? I think something may be disabled somewhere because I have a
>> vulnerable machine but if I just call the raw nasl script with
>>
>> /opt/nessus/bin/nasl -t IP file.nasl
>>
>> it exits right there. If I remove those lines, the nasl check works.
> 
> 
> 
> The plugin is meant to run from within nessusd. If you remove these two
> lines when running in command-line it will work, but when scanning from
> within nessusd, this KB entry will be set by smb_nativelanman.nasl which
> is a dependency of this particular plugin.
> 
> Are you encountering a problem when running from within nessusd?
> 
>                     -- Renaud
> 
> 
_______________________________________________
Nessus mailing list
[email protected]
http://mail.nessus.org/mailman/listinfo/nessus

Reply via email to