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 10:19 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ] 
Author Message
 Post subject: Permission denied
PostPosted: Fri Aug 18, 2006 6:17 pm 
Offline
Newbie

Joined: Wed Jul 26, 2006 4:14 pm
Posts: 15
I installed on one computer wamp (mysql,php,apache) and open audit, i also install mysql administrator and i did this what is written on the forum, topic (How-To: Setup MySQL using MySQL Administrator)

But now when i try to audit computers, example "C:\wamp\www\openaudit\scripts\audit.vbs s080116" i get this error "Permission denied:"GetObject", Source "Microsoft VBscript runtime error"

But if i change in audit.conf this line--> online = "yesxml" to online = "p" i can see in new window (about blank" this computer configuration)

But this is bothers me i want to see all my computers in localhost.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 18, 2006 7:19 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
You must have Admin rights on the PCs you wish to audit.
Have you run the script enable_firewall.vbs (from the scripts dirtectory), LOCALLY on each PC you wish to audit ?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 18, 2006 8:14 pm 
Offline
Newbie

Joined: Wed Jul 26, 2006 4:14 pm
Posts: 15
I have admin rights, i'm login in windows as administrator.

Our computers has all firewall disabled localy.

As i told i can audit if i change in audit.conf this line--> online = "yesxml" to online = "p" i can see in new window (about blank" this computer configuration)

But i can't see any computer on localhost.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 18, 2006 8:30 pm 
Offline
Moderator

Joined: Sat Mar 04, 2006 2:44 am
Posts: 193
Sorry, i'm having a few problems understanding what the problem is.

Please verify if which of these statements are correct.
1. You have a server with wamp and open-audit installed correctly.
2. On the wamp server you can view all the open-audit pages correctly but there is no computer data yet
3. You have setup the audit.config file so that ie_form_page and non_ie_page point at your wamp server
4. You can audit the local pc with online = "yesxml" in audit.config
5. You can audit a remote pc with online = "yesxml" in audit.config


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 18, 2006 8:43 pm 
Offline
Newbie

Joined: Wed Jul 26, 2006 4:14 pm
Posts: 15
1. You have a server with wamp and open-audit installed correctly. (YES)
2. On the wamp server you can view all the open-audit pages correctly but there is no computer data yet (YES)
3. You have setup the audit.config file so that ie_form_page and non_ie_page point at your wamp server (YES)
4. You can audit the local pc with online = "yesxml" in audit.config
5. You can audit a remote pc with online = "yesxml" in audit.config

On the point 4 and 5 i can't audit anything if i try to run script i get error mention earlier.

I only can audit if i change in audit.conf this line--> online = "yesxml" to online = "p"


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 18, 2006 9:07 pm 
Offline
Moderator
User avatar

Joined: Tue Jan 25, 2005 3:09 am
Posts: 2140
Location: Scotland
[quote="Damjan"]1. You have a server with wamp and open-audit installed correctly. (YES)
2. On the wamp server you can view all the open-audit pages correctly but there is no computer data yet (YES)
3. You have setup the audit.config file so that ie_form_page and non_ie_page point at your wamp server (YES)
4. You can audit the local pc with online = "yesxml" in audit.config
5. You can audit a remote pc with online = "yesxml" in audit.config

On the point 4 and 5 i can't audit anything if i try to run script i get error mention earlier.

I only can audit if i change in audit.conf this line--> online = "yesxml" to online = "p"


What version are you using?

I would use the current version fom SVN, if you are using the original, online = "p" may well be the only thing that works.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 18, 2006 9:24 pm 
Offline
Newbie

Joined: Wed Jul 26, 2006 4:14 pm
Posts: 15
I use this new version from SVN, like my friend here. Maybe i did wrong that i first install open audit then i reat new user with mysql administrator? and then i install open audit again. I don't know.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 18, 2006 9:38 pm 
Offline
Moderator
User avatar

Joined: Tue Jan 25, 2005 3:09 am
Posts: 2140
Location: Scotland
Is it all now working?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 18, 2006 9:41 pm 
Offline
Newbie

Joined: Wed Jul 26, 2006 4:14 pm
Posts: 15
No no, it's not working, i told what i have installed on computer :(


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 18, 2006 9:41 pm 
Offline
Newbie

Joined: Wed Jul 26, 2006 4:14 pm
Posts: 15
I can trie only that i uninstall everything and install again.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Aug 18, 2006 10:42 pm 
Offline
Moderator
User avatar

Joined: Tue Jan 25, 2005 3:09 am
Posts: 2140
Location: Scotland
audit.config should be in the same folder as audit.vbs and look a bit like this... I've added <= comments for clarity, remove these if you cut and paste, VBS wont like them.


[code]
audit_location = "r" <= "r" means remote, i,e, running audit.vbs anywhere other than on the web server
verbose = "y" <= "y" to see what the script does in the DOS box it is running in.
online = "yesxml" <= "yesxml" to submit xml audit pages via xml without using internet explorer
strComputer = "" <= Don't use "." (which is the default, so check this)
ie_visible = "n" <= "n" is probably the only sensible option
ie_auto_submit = "y" <= "y"is probably the only sensible option
ie_submit_verbose = "n" <= "n" is probably the only sensible option
ie_form_page = "http://{yourservername}/openaudit/admin_pc_add_1.php" <= assumes you put openaudit in the openaudit folder, change {yourservername} to suit.
non_ie_page = "http://{yourservername}/openaudit/admin_pc_add_2.php"
nmap_subnet = "192.168.1." ' The subnet you wish to scan
nmap_subnet_formatted = "192.168.001." ' The subnet padded with 0's
nmap_ie_form_page = "http://{yourservername}/openaudit/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 = ""
email_from = ""
email_server = ""
audit_local_domain = "y" <= "y" for local domain
local_domain = "LDAP://yourdomain.whatever" <= if the windows AD domain is mydomain.local, then "LDAP://mydomain.local"
hfnet = "n"
Count = 0
number_of_audits = 10
script_name = "audit.vbs"
monitor_detect = "y"
printer_detect = "y"
software_audit = "y"
uuid_type = "uuid"
[/code]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Aug 19, 2006 12:43 am 
Offline
Contributor

Joined: Thu Jul 13, 2006 7:54 am
Posts: 156
Check the Audit.vbs script and look for the line that calls audit.config

If i'm reading correctly then you need add the UNC path to the audit.config file


......("//UNC/path/to/file/audit.config")......


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.  [ 12 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