[Plugins-writers] Nessus Script ID 22189: Contains Two Bugs?

From: Paul Bellefeuille (nessusd@private)
Date: Thu Aug 17 2006 - 19:28:02 PDT


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




_______________________________________________
Plugins-writers mailing list
Plugins-writers@private
http://mail.nessus.org/mailman/listinfo/plugins-writers



This archive was generated by hypermail 2.1.3 : Thu Aug 17 2006 - 19:36:28 PDT