Open-AudIT
https://www.open-audit.org/phpBB3/

Audit.vbs runs results in CMD but nothing showing up in OA
https://www.open-audit.org/phpBB3/viewtopic.php?f=10&t=5895
Page 1 of 1

Author:  AaronJ [ Thu Jun 21, 2012 7:19 pm ]
Post subject:  Audit.vbs runs results in CMD but nothing showing up in OA

Some information:
Server:
Windows 2008 Server
IIS 7.5
MySQL Server 5.5
PHP 5.3.14
Open Audit v1 9.3.17
-------------------------------------------

I open up the command prompt and type in: cscript c:\inetpub\wwwroot\scripts\audit.vbs

It finds 1503 devies in Active directory and as you can tell from the screenshots, it just goes through all of the devices and doesn't collect any data.

What could be wrong, I'm stumped at this point? Attached are a few screen shots and below is my audit.config:

'
' Standard audit section
'
audit_location = "l"
verbose = "y"
audit_host="\\usfsrmdt"
online = "yesxml"
strComputer = ""
ie_visible = "n"
ie_auto_submit = "y"
ie_submit_verbose = "n"
ie_form_page = "http://127.0.0.1/admin_pc_add_1.php"
non_ie_page = "http://127.0.0.1/admin_pc_add_2.php"
nmap_subnet = "10.32.71." ' The subnet you wish to scan
nmap_subnet_formatted = "010.032.071." ' The subnet padded with 0's
nmap_ie_form_page = "http://127.0.0.1/admin_nmap_input.php"
nmap_ie_visible = "n"
nmap_ie_auto_close = "y"
nmap_ip_start = 1
nmap_ip_end = 254
nmap_syn_scan = "y" ' Tcp Syn scan
nmap_udp_scan = "y" ' UDP scan
nmap_srv_ver_scan = "y" ' Service version detection.
nmap_srv_ver_int = 0 ' Service version detection intensity level. Values 0-9, 0=fast
nmap_tmp_cleanup = true
input_file = ""
email_to = ""
email_from = ""
email_server = ""
send_email = false
audit_local_domain = "y"
local_domain = "LDAP://components.umeco.net"
hfnet = "n"
Count = 0
number_of_audits = 20
script_name = "audit.vbs"
monitor_detect = "y"
printer_detect = "y"
software_audit = "y"
uuid_type = "uuid"

Attachments:
File comment: Blank Open Audit
ss3.png
ss3.png [ 31.39 KiB | Viewed 5380 times ]
File comment: cscript audit.vbs picture 2
ss2.png
ss2.png [ 22.83 KiB | Viewed 5380 times ]
File comment: cscript audit.vbs picture 1
ss1.png
ss1.png [ 40.23 KiB | Viewed 5380 times ]

Author:  AaronJ [ Fri Jun 22, 2012 9:33 pm ]
Post subject:  Re: Audit.vbs runs results in CMD but nothing showing up in

Update: Still have not been able to get the domain scan to work, I did test running the commented-audit.vbs script locally on a few machines and those worked just fine. I then tried to put a few machine names in the pcname text time and made the changes to audit.config to allow the script to see the text document but it just hung for a long time.

Any assistance would be great.

Author:  AaronJ [ Fri Jun 22, 2012 9:58 pm ]
Post subject:  Re: Audit.vbs runs results in CMD but nothing showing up in

Another bit of information, I just ran a strcomputer and listed a remote machine. Per the command prompt the script ran and listed all the items like it was working just fine but below was the output which obviously isn't right:

[quote]Verbose:
User:
Verbose: y
System:
UUID:
Timestamp:
Software Audit:

SELECT MAX(system_audits_timestamp) AS timestamp FROM system_audits WHERE system_audits_uuid = ''
INSERT INTO system_audits (system_audits_uuid, system_audits_timestamp, system_audits_username) VALUES ('','','')
INSERT INTO system (system_uuid, system_first_timestamp) VALUES ('','')
UPDATE system SET system_timestamp = '' WHERE system_uuid = ''
Close

Page was generated in 1.02 seconds !

Author:  Mark [ Mon Jun 25, 2012 12:47 pm ]
Post subject:  Re: Audit.vbs runs results in CMD but nothing showing up in

I would just use OAv2, it's so much easier, but that's just me :D

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/