So I'm one step further from yesterday, but now I'm having issues executing audit.vbs. This may be beyond the scope of this bb but i figured I'd ask. Its more of an apache/windows config but here goes...
I'm using the latest svn release and the setup process went swimmingly, then I went to 'audit my machine' and it came up with the plane text of the script. I added
<Directory "C:/Program Files/Apache Group/Apache2/htdocs/openaudit/scripts/">
Options +ExecCGI
</Directory>
and
AddHandler cgi-script .cgi .pl .vbs
to httpd.conf. Now when i audit machine I get:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
with the following in my error logs:
[Wed Oct 25 16:46:16 2006] [error] [client 10.1.20.102] C:/Program Files/Apache Group/Apache2/htdocs/openaudit/scripts/audit.vbs is not executable; ensure interpreted scripts have "#!" first line, referer: xxxxx (edited out)
[Wed Oct 25 16:46:16 2006] [error] [client 10.1.20.102] (9)Bad file descriptor: don't know how to spawn child process: C:/Program Files/Apache Group/Apache2/htdocs/openaudit/scripts/audit.vbs, referer: xxxxx
So I'm assuming apache is not setup to correctly execute vbs' and I can't find any info on that kind of setup. Also, when I try to execute audit.vbs from a command promt I get : Microsoft VBScript runtime error: Input past end of file
my default script host is cscript.exe and other vb scripts run fine on this machine.
Again, I know this is a long shot here but I appretiate the help.
Jared
Last edited by jaredg on Fri Oct 27, 2006 2:57 am, edited 1 time in total.
|