On Thu, Sep 25, 2003 at 08:42:26AM -0500, Ray Seals wrote:
> Need a little help on this problem.  I currently scan multiple class C
> networks for different remote offices for the plugin ID 11835
> (msrpc_dcom2).  Export the report and then run a perl script that parses
> the file and runs nbtscan against it to get the netbios machine name and
> user.
> 
> Is there a way to roll this into one scan?  I have tried running 11835
> and the 10150 (get netbios info) together but that gives me info on
> every machine.  I just want the netbios info on machines that are
> vulnerable to 11835.  Any ideas?

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);


Then re-run the scan, and make sure to only enable these two plugins.



                                -- Renaud

Reply via email to