Hi Stuart!
Sorry, for my late response.
On 19.10.21 13:35, Stuart Henderson wrote:
>
> You need to provide $CHROOT/bin/sh as well for php's exec() function to work.
>
Thank you. Solved the issue.
Didn't know that.
Best regards,
J.K.
Hi,
I'm played around with the exec() command from
PHP for the purpose of education. Don't use
these feature in production, to avoid security
issues.
In the default configuration from OpenBSD, PHP
is inside chroot, so I linked a simple
Hello World program static and placed it in
the root
On 2021-10-19, J. K. wrote:
> Hi,
>
> I'm played around with the exec() command from
> PHP for the purpose of education. Don't use
> these feature in production, to avoid security
> issues.
>
> In the default configuration from OpenBSD, PHP
> is inside chroot, so I linked a simple
> Hello World
3 matches
Mail list logo