Mailing List Archive

Nessus Script ID 22189: Contains Two Bugs?
Hello All,



I believe the following Nessus Script ID 22189 version 1.2 contains two bugs.



During QA testing, I noticed that script ID 22189 would launch and finish before smb_hotfixes.nasl would finish causing the following code in script ID 22189 to return null (common = hotfix_get_commonfilesdir();)



To fix this I change script_dependencies to:



Old Line:

script_dependencies("netbios_name_get.nasl","smb_login.nasl","smb_registry_access.nasl"



New line should be: script_dependencies("smb_hotfixes.nasl","netbios_name_get.nasl","smb_login.nasl","smb_registry_access.nasl");



The second bug contains the wrong path for vbe6.dll.



Old line:

vba6 = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1\Microsoft Shared\VBA6\vbe6.dll", string:common);



New line should be:

vba6 = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1\Microsoft Shared\VBA\VBA6\vbe6.dll", string:common);



Can someone review my finding?



Thanks,

Paul
Re: Nessus Script ID 22189: Contains Two Bugs? [ In reply to ]
Hi Paul,

On Aug 18, 2006, at 4:28 AM, Paul Bellefeuille wrote:

> Hello All,
>
> I believe the following Nessus Script ID 22189 version 1.2 contains
> two bugs.
>

You're correct - they have been fixed, thanks !
_______________________________________________
Plugins-writers mailing list
Plugins-writers@list.nessus.org
http://mail.nessus.org/mailman/listinfo/plugins-writers