On Thu, 2003-09-25 at 09:02, Renaud Deraison wrote:
> Modify netbios_name_get.nasl to depend on msrpc_dcom2.nasl.
> (ie: add 'script_dependencies("msrpc_dcom2.nasl");'), then add, at
> the begining of the plugin part :
>
> if(get_kb_item("SMB/KB824146"))exit(0);
>
>
Tried the above. Here is a snippet of the netbios_name_get.nasl file:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
...<Removed some header comments>...
# rev 1.5 changes by ky :
# - added full support for Win2k/WinXP/Win2k3
# - added export of SMB/username KB
if(get_kb_item("SMB/KB824146"))exit(0);
if(description)
{
script_id(10150);
script_version ("$Revision: 1.34 $");
script_cve_id("CAN-1999-0621");
...<cut out more code>...
script_dependencies("msrpc_dcom2.nasl","cifs445.nasl");
exit(0);
}
#
# The script code starts here
#
...<Rest of Script>...
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Did I put these in the right spot? I'm still getting entries in the
reports for machines with netbios-ns (137/udp) only.
--
Ray Seals <[EMAIL PROTECTED]>