Re: Excecute PHP script in SSL protected dir / sched. task on win 2k3 server




"J.O. Aho" <user@xxxxxxxxxxx> schreef in bericht
news:42keiuF1j641qU1@xxxxxxxxxxxxxxxxx
> Marcel wrote:
>> Hello all,
>>
>> I want to execute a PHP script that is in a SSL secured directory through
>> a
>> scheduled task on a win2k3 server.
>>
>> The problem is that because the PHP script is in the SSL secured
>> directory
>> this won't work because no SSL-certificat can be checked.
>>
>> Does anyone have encounterd the same problem.
>>
>> Is there a solution? The systemadministrator's idea was to put the script
>> in
>> a 'normal' directory (without SSL) but maybe there's another solution?
>>
>> Is openssl a solution?
>
> If the server has a working 'https', then no additional ssl layer is
> needed.
>
> The question is how had you in mind to execute the script?
> Is this a script that anyone could execute?
> Do you need to auth yourself to execute it?
> wget is a tool that can be used.
>
>
> Does the script need to be executed each X <timeunit>?
> This should be able to be added to the schedule with help of a small batch
> script where php.exe is used to execute the script.
>
>
> //Aho

Actually we call a batch-file from our scheduled task. In that batch-file we
call an instance of the browser calling the https url of the php file. The
problem with that is that sometimes instances of IE are not closed after
script execution. This makes us need to check that all the time because many
open IE's windows can end up in a severe reduction of server-performance.

Marcel


.



Relevant Pages

  • Re: [PHP] Re: how to detect type of image
    ... you detect if a script is HTML or PHP? ... to execute a file that starts with 'GIF89a' as if it were a binary ... manage to trick your PHP script into putting it somewhere that it will ... Every extra barrier you layer in there will slim down the number of ...
    (php.general)
  • Re: Will Linux become as vulnerable as MS ??
    ... > beeing vulnerable to viruses. ... > that they know are executable, and execute intentionally. ... >> Linux, each distro is a little different, and even within the distro, ... > Since clicking on a script is easier than typing it's name, ...
    (comp.os.linux.security)
  • Re: Small, understandable Forth
    ... intelligence from the word to the script. ... niclos file script files, but only in the directory in which they are ... \ there are required support vocabularies, ... RDROP EXECUTE DEFINITIONS; ...
    (comp.lang.forth)
  • Re: [Full-Disclosure] ColdFusion cross-site scripting security vulnerability of an error page
    ... > execute the arbitrary javascript and HTML code which the attacker ... > It is possible to display the contents transmitted from the client ... > cross-site scripting attack can be executed. ... the script will be executed when the script for an attack ...
    (Full-Disclosure)
  • CGIscript.net - csMailto.cgi - Remote Command Execution
    ... CGIscript.net - csMailto.cgi - Remote Command ... csMailto is a perl cgi formmail script developed by ... execute command on server and mail output to anyone ...
    (Bugtraq)