|
Newbie |
Joined: Wed Oct 18, 2006 5:05 am Posts: 29 Location: East Coast
|
Guys i finally figured out how to run the network scan on multiple subnets and domain and send the information gathered to the main server.
What you want to do is copy the entire open-audit folder to the desktop or where ever you want it to reside on the server you will then be able to scan. Here is a copy of my audit.conf
[code] audit_location = "r" verbose = "y" online = "yesxml" strComputer = "" ie_visible = "n" ie_auto_submit = "y" ie_submit_verbose = "y" ie_form_page = "http://server:8080/winventory/admin_pc_add_1.php" non_ie_page = "http://server:8080/winventory/admin_pc_add_2.php" nmap_subnet = "192.168.3." ' The subnet you wish to scan nmap_subnet_formatted = "192.168.003." ' The subnet padded with 0's nmap_ie_form_page = "http://server:8080/winventory/admin_nmap_input.php" nmap_ie_visible = "n" nmap_ie_auto_close = "y" nmap_ip_start = 1 nmap_ip_end = 254 input_file = "" email_to = "yourself?" email_from = "Network Audit" email_server = "youserver" audit_local_domain = "y" local_domain = "LDAP://yourdomain" hfnet = "n" Count = 0 number_of_audits = 5 script_name = "audit.vbs" monitor_detect = "y" printer_detect = "y" software_audit = "y" uuid_type = "mac" [/code]
I'm not sure if the nmap thing is working but i do know that the server is dual homed meaning it is on two subnets. So therefore it finds the two subnets and scans the clients. I then created a batch file which runs the audit.vbs. I run a scheduled scan every night at 9:00 pm.
The batch file is located in the scripts folder and looks like this.
[code] cscript audit.vbs
Exit [/code]
_________________ Davis
|
|