Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Fri Mar 29, 2024 1:47 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
PostPosted: Tue Nov 11, 2008 9:57 pm 
Offline
Newbie

Joined: Tue Nov 11, 2008 7:47 pm
Posts: 5
Hi guys,

Installed openaudit a few days ago. I have used WAMP for the webserver/MySQL etc. I have edited audit.config and it seems to work well, goes around and collects information as needed, But its not posting into the database. I have enclosed the audit.config (obvs taken out some parts)
Thanks in advance

'
' Standard audit section
'
audit_location = "l"
verbose = "y"
audit_host="http://ipaddress of machine"
online = "yesxml"
strComputer = ""
ie_visible = "n"
ie_auto_submit = "y"
ie_submit_verbose = "n"
ie_form_page = "ipaddress/wamp/www/scripts/admin_pc_add_1.php"
non_ie_page = "ipaddress/wamp/www/scripts/admin_pc_add_2.php"
input_file = "pc_list_file.txt"

hfnet = "n"
Count = 0
number_of_audits = 30
script_name = "audit.vbs"
monitor_detect = "y"
printer_detect = "y"
software_audit = "y"
uuid_type = "uuid"
'
' Nmap section
'
nmap_tmp_cleanup = false ' Set this false if you want to leave the tmp files for analysis in your tmp folder
nmap_subnet = "blah." ' The subnet you wish to scan
nmap_subnet_formatted = "blah" ' The subnet padded with 0's
nmap_ie_form_page = "ipaddress/wamp/www/admin_nmap_input.php"
nmap_ie_visible = "n"
nmap_ie_auto_close = "y"
nmap_ip_start = 1
nmap_ip_end = 254
nmap_syn_scan = "n" ' Tcp Syn scan
nmap_udp_scan = "n" ' UDP scan
nmap_srv_ver_scan = "n" ' Service version detection.
nmap_srv_ver_int = 9 ' Service version detection intensity level. Values 0-9, 0=fast


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 11, 2008 10:18 pm 
Offline
Open-AudIT Fellow

Joined: Thu May 17, 2007 5:47 pm
Posts: 568
Location: Italy
If WAMP is configured to open the OA front-end from "http://ipaddress of machine/", try editing audit.config as follows:
[code]
audit_host = "http://ipaddress of machine/"
ie_form_page = audit_host + "admin_pc_add_1.php"
non_ie_page = audit_host + "admin_pc_add_2.php"
[/code]

_________________
Edoardo


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 11, 2008 10:43 pm 
Offline
Newbie

Joined: Tue Nov 11, 2008 7:47 pm
Posts: 5
hi so you mean remove the /wamp/www/scripts part from those lines?


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 12, 2008 12:01 am 
Offline
Newbie

Joined: Tue Nov 11, 2008 7:47 pm
Posts: 5
I tried that and unfortunatly no joy


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 12, 2008 1:57 am 
Offline
Open-AudIT Fellow

Joined: Thu May 17, 2007 5:47 pm
Posts: 568
Location: Italy
[quote]
hi so you mean remove the /wamp/www/scripts part from those lines?

Remind also the ending slash in
[code]
audit_host = "http://ipaddress of machine/"
[/code]
Also (as it's not clear to me how your OA web root folder is set), I suppose that http://ipaddress of machine/admin_pc_add_1.php opens the OA "Add a PC" page, isn't it? Otherwise, change accordingly the "audit_host" config string.

What command are you running to start auditing?
From the audit.config you posted, if you run
[code]
cscript audit.vbs
[/code]
the script will search for an input file (pc_list_file.txt) containing a list of machines to audit.

Try auditing a single machine only:
[code]
cscript audit.vbs computername
[/code]

_________________
Edoardo


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 12, 2008 8:14 pm 
Offline
Newbie

Joined: Tue Nov 11, 2008 7:47 pm
Posts: 5
Hi Ed,

Thanks for all your help, i have kinda got it working now, i changed the online="yesxml" to online="ie", works for around 50 machines now, but hangs for the rest so will look through that!

thanks for your help.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group