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:32 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 14 posts ] 
Author Message
 Post subject: confusing stuff
PostPosted: Thu Dec 14, 2006 8:57 am 
Offline
Newbie

Joined: Thu Dec 14, 2006 8:54 am
Posts: 12
I have everything installed and running but I don't know how to tell the system to audit my machine. I cant run that .vbs script for some reason. Also, how does all the information get pulled from each computer, does a script need to be put on each?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Dec 14, 2006 4:24 pm 
Here are some potential resources:


    [url=http ://www.open-audit.org/phpbb2/viewtopic.php?t=1464]How To: Audit a domain.[/url]
    [url=http ://www.open-audit.org/phpbb2/viewtopic.php?t=1393]How To: Understand how it works...[/url]


The script can be run remotely or on each machine.

Let me know if you still need help after reading those. If I wasn't heading to bed, I'd write a bit more. Just bump the thread in the morning and I'll try and help you out!


Top
  
Reply with quote  
 Post subject:
PostPosted: Thu Dec 14, 2006 11:16 pm 
Offline
Newbie

Joined: Thu Dec 14, 2006 8:54 am
Posts: 12
I get an error when trying to run the audit.vbs. The error is a syntax error on line 26 which would be[code]ExecuteGlobal CreateObject("Scripting.FileSystemObject").OpenTextFile("audit.config").ReadAll[/code]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Dec 14, 2006 11:25 pm 
Offline
Moderator
User avatar

Joined: Tue Jan 25, 2005 3:09 am
Posts: 2140
Location: Scotland
You need both the audit.vbs file and the audit.config file in the same location.
You run cscript audit.vbs, and it "includes" the audit.config file (which you will need to edit to match your requirements).

If audit.config is not there, or not readable, you will see the error you report.


Last edited by A_Hull on Thu Dec 14, 2006 11:26 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Dec 14, 2006 11:26 pm 
Offline
Newbie

Joined: Thu Dec 14, 2006 8:54 am
Posts: 12
The files are both in the same file location. I didn't use the cscript part when running the .vbs file. But I get the following output when I run the script. http://www.warsaw.k12.in.us/files/untitled.bmp

What user needs read rights on the file. I think it is readible I just want to make sure I have the right user.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Dec 15, 2006 1:54 am 
Offline
Moderator
User avatar

Joined: Tue Jan 25, 2005 3:09 am
Posts: 2140
Location: Scotland
You have an error on the config file somewhere.

Bear in mind that the config file is executed as if it were a .vbs file, in order to set the variables in the main .vbs file.

To debug, try this...take a copy of the config, rename it config.vbs and run it with cscript config.vbs and you should see the line causing the problem!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Dec 15, 2006 2:31 am 
Offline
Newbie

Joined: Thu Dec 14, 2006 8:54 am
Posts: 12
I was able to run the audit but nothing gets entered into my database. I tried installing the items that are needed after you complete the open audit setup but alot of the files I couldn't get because the links were broke. Can I get that list on here?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Dec 15, 2006 2:48 am 
There are actually no items that are needed anymore. Additional items such as nmap are cool, but not necessary (and not used) by the audit.vbs.

hmmm... Can you check what online is set to in the config file? If you are running the code from sourceforge (the zip file), you'll need to set that to "ie". This is because xml submit was not implemented in that version. I suspect that is the issue you are having.


Top
  
Reply with quote  
 Post subject:
PostPosted: Fri Dec 15, 2006 3:16 am 
Offline
Newbie

Joined: Thu Dec 14, 2006 8:54 am
Posts: 12
That is the issue. This software rocks and thank you to those that are developing it.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Dec 15, 2006 3:38 am 
Offline
Newbie

Joined: Thu Dec 14, 2006 8:54 am
Posts: 12
One other quick question, Is there a way to hide the Admin link in the navigation unless your at the actual terminal?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Dec 15, 2006 3:41 am 
Offline
Moderator
User avatar

Joined: Tue Jan 25, 2005 3:09 am
Posts: 2140
Location: Scotland
[quote="sirhcchris"]One other quick question, Is there a way to hide the Admin link in the navigation unless your at the actual terminal?


The short answer is... No... but that gives me an idea....
:P

In the mean time, if this is a big problem either re-name admin_config.php or, modify the line in include_menu_array.php in section 40.

BTW you can set the software to need a login name and password, which hides EVERYTHING from prying eyes.

You can also use https... with the caveat that you will need to save a certificate on any machine posting data to the server if you want to submit data using https.

In Admin> Config> set....
Use https://:
Use Passwords:

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Dec 15, 2006 11:22 am 
Offline
Newbie

Joined: Thu Dec 14, 2006 8:54 am
Posts: 12
I enter a subnet for the system to audit but when I run the audit, it goes through the whole domain. Any reason this is?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Dec 15, 2006 11:42 am 
The subnet is only used when you run an nmap scan (nmap can detect ip devices on your network such as printers, routers, etc).

The audit currently can audit a list, or the domain. You can limit what computers are audited based on the ldap query. If you add OU information, it will audit that OU. Let us know if you need help generating that query.


Top
  
Reply with quote  
 Post subject:
PostPosted: Mon Jan 08, 2007 9:18 pm 
Offline
Contributor

Joined: Fri Jul 28, 2006 6:30 am
Posts: 157
Location: London
[quote]You need both the audit.vbs file and the audit.config file in the same location.

Actually, this isn't accurate. If my memory serves me correctly "audit.config" is expected to be in the current directory when CSCRIPT.EXE is run, which may not be the same directory as where "audit.vbs" resides.

e.g.
C:\CSCRIPT.EXE C:\Script\audit.vbs
will not work even if "audit.config" is also in C:\Script, but will work if it is in C:\.

To make the script function as expected I have perviously proposed a fix here:
[url]http://www.open-audit.org/phpbb2/viewtopic.php?t=1171&highlight=[/url]

A minor issue in an otherwise excellent product BTW.

Cheers, Nick.

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.  [ 14 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:  
Powered by phpBB® Forum Software © phpBB Group