Re: NetReg: Nessus::ScanLite on a Windows Domain

New Message Reply Date view Thread view Subject view Author view Attachment view

From: Mike Husmann (husmann@morningside.edu)
Date: Tue Jul 20 2004 - 09:28:20 CDT


Hey All,
   So far, I have not been able to get ScanLite to pass windows
domain paramaters to Nessus. So, instead, I have added "fallback"
values to logins.nasl for the nessus server itself. That way if (and
when) it doesn't find a smb username/password/domain, it defaults
back to the one I want it to use (which happens to be the same for
the whole domain - our special netreg account).

In this section of logins.nasl:
# SMB
smb_login = script_get_preference("SMB account :");
if(!smb_login)smb_login = "";

smb_password = script_get_preference("SMB password :");
if(!smb_password)smb_password = "";
 
smb_domain = script_get_preference("SMB domain (optional) :");
if(!smb_domain)smb_domain = "";

I added the values I wanted it to use into the if(!...) statements,
and now things work fine. If anyone has a better solution, please
let me know. Thanks!

Mike
---- Original Message ----
From: jpb@Brown.edu
To: netreg@southwestern.edu
Subject: Re: NetReg: Nessus::ScanLite on a Windows Domain
Date: Fri, 09 Jul 2004 12:36:53 -0400
...
>
>These lines suggest your ini might look something like this.
>
>[ plugins ]
> user_login = netreg
> user_password = *****
> smb_domain = win_domain

**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************


New Message Reply Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:47 CDT