Put the files from www into htdocs -
zipfile\www -> c:\xampp\htdocs
Put the files in OAv2 into xampp
zipfile\OAv2 -> c:\xampp\OAv2
Check the file c:\xampp\htdocs\index.php for the $system_folder variable.
Ensure it is set as below.
$system_folder = "c:/xampp/OAv2/code_igniter/system";
Go to the \other folder (C:\xampp\OAv2\other) and edit the file audit_windows.vbs
Make sure the variable "url" points to your server.
Copy the file
c:\xampp\OAv2\other\OAv2_mysql.sql -> c:\xampp\mysql\bin
Create the database in Mysql
cd into the c:\xampp\mysql\bin folder.
Run the following -
mysql -u root -pYOURPASSWORD
then run
create database OAv2;
then run
exit;
Back at the dos prompt, run
mysql -u root -pYOURPASSWORD OAv2 < OAv2_mysql.sql
Lastly, check the file
c:\xampp\OAv2\code_igniter\system\application\config\database.php
Make sure the credentials are correct to access the database you just created.
Finally, point your browser at
http://OASERVERNAME/ and you should be asked to log in.
Username: admin
Password: password
If you can do that - then it is installed.
Next, get a dos prompt and go to c:\xampp\OAv2\other and run
cscript audit_windows.vbs .
It should run and post the result to the database.
Go back to your web browser and refresh. You should have a group or two created. Go into one of them and click the machine name. You should see the machine details.
To audit your domain, edit the file
c:\xampp\OAv2\other\audit_domain.vbs
Depending on your system's power, you may wish to ajust the "number_of_audits".
I usually use 20.
Make sure the "script_name" points to the correct place -
script_name = "c:\xampp\OAv2\other\audit_windows.vbs"
Make sure the "local_domain" is correct.
Try setting "operating_system" to "Windows" (I think people have had issue's leaving it blank).
Run the script with -
cscript audit_domain.vbs
You should see your domain PCs start to get audited by seperate audit_windows scripts.
Enjoy !!!