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

XML posted to admin_pc_add_2.php
http://www.open-audit.org/phpBB3/viewtopic.php?f=5&t=3719
Page 1 of 1

Author:  barry [ Thu Jul 15, 2010 10:47 am ]
Post subject:  XML posted to admin_pc_add_2.php

Hi there,

I just started looking into using OA. Checked out SVN, server is running, everything is going well so far. I spent most of the day digging around source code and forums.

As I understand it, when using online = "yesxml" audit.vbs posts XML containing the audit results to admin_pc_add_2.php

Is that XML documented somewhere? Or could someone give me an example the text that admin.vbs posts to admin_pc_add_2.php?

I think it may help me troubleshoot some problems I am running into.


Thanks,

Barry

Author:  jpa [ Fri Jul 16, 2010 6:19 am ]
Post subject:  Re: XML posted to admin_pc_add_2.php

barry wrote:
Is that XML documented somewhere?
No. You need to review the code.

barry wrote:
Or could someone give me an example...
Set online="n" to get text dump files of what is sent to OpenAudit. Or set

Code:
online="p"
ie_visible = "y"
ie_auto_submit = "n"
to have IE post the results interactively.

Author:  barry [ Fri Jul 16, 2010 6:34 am ]
Post subject:  Re: XML posted to admin_pc_add_2.php

Thanks, but I'd really like to see that XML. I will try to dig it out and post something here. Seems to me it ought to be documented.

Author:  jpa [ Fri Jul 16, 2010 7:48 am ]
Post subject:  Re: XML posted to admin_pc_add_2.php

My explanation was two ways of getting what the audit script sends to the OpenAudit server. And even though the option says "yesxml" what is sent is not XML. The audit script audits the machine info and then packages it up for consumption by admin_pc_add_2.php. You need to review the admin_pc_add_2.php for what OpenAudit will accept.

Author:  barry [ Fri Jul 16, 2010 8:22 am ]
Post subject:  Re: XML posted to admin_pc_add_2.php

OK. Got it.

Someone ought to update this FAQ: viewtopic.php?f=6&t=1393

This statement is very misleading:
"Actually we post an XML formatted page using either a direct xml post, or by hooking into the local web browser and using that to post."

After reading the above, I thought this post: viewtopic.php?f=5&t=3702 was saying that online="n" is not the same output as is posting to admin_pc_add_2.php, but now I understand that audit.vbs does not post XML.

Thanks, I appreciate the clarification.

Barry

Author:  jpa [ Sat Jul 17, 2010 2:28 pm ]
Post subject:  Re: XML posted to admin_pc_add_2.php

No problem. Documentation is a bit sketchy for OpenAudit. Documentation is a lot of work. :D

When using OpenAudit it helps to read the code. It's a pain and not everyone can do it but sometimes that's the best or only way to figure it out. The OpenAudit community isn't huge like some projects.

To confuse you a bit more the new OpenAudit V2 alpha uses XML formatted input.

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