+ mount -t proc none /kctf/.fullproc/proc
* Starting Apache httpd web server apache2
*
--2020-04-30 23:08:58-- http://127.0.0.1:1337/?apache-is-running
Connecting to 127.0.0.1:1337... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2020-04-30 23:08:58 ERROR 500: Internal Server Error.
==> /var/log/apache2/access.log <==
==> /var/log/apache2/error.log <==
[Thu Apr 30 23:08:58.622500 2020] [cgi:error] [pid 35:tid 139991861860096] [client 127.0.0.1:36272] AH01215: [W][2020-04-30T23:08:58+0200][1] bool mnt::mountPt(mount_t*, const char*, const char*)():202 mount(''/kctf/pow' -> '/.kctf/pow' flags:MS_RDONLY|MS_BIND|MS_REC|MS_PRIVATE type:'' options:'' dir:false mandatory:false') src:'/kctf/pow' dstpath:'/tmp/nsjail.1000.root//.kctf/pow' failed: No such file or directory: /usr/lib/cgi-bin/nsjail-php-cgi
[Thu Apr 30 23:08:58.622588 2020] [cgi:error] [pid 35:tid 139991861860096] [client 127.0.0.1:36272] AH01215: [D][2020-04-30T23:08:58+0200][1] bool mnt::mountPt(mount_t*, const char*, const char*)():126 Mounting ''/tmp' flags: type:'tmpfs' options:'' dir:true': /usr/lib/cgi-bin/nsjail-php-cgi
[Thu Apr 30 23:08:58.622709 2020] [cgi:error] [pid 35:tid 139991861860096] [client 127.0.0.1:36272] AH01215: [D][2020-04-30T23:08:58+0200][1] bool mnt::mountPt(mount_t*, const char*, const char*)():126 Mounting ''/mnt/disks/sessions' -> '/mnt/disks/sessions' flags:MS_BIND|MS_REC|MS_PRIVATE type:'' options:'' dir:false': /usr/lib/cgi-bin/nsjail-php-cgi
[Thu Apr 30 23:08:58.622854 2020] [cgi:error] [pid 35:tid 139991861860096] [client 127.0.0.1:36272] AH01215: [W][2020-04-30T23:08:58+0200][1] bool mnt::mountPt(mount_t*, const char*, const char*)():166 open('/tmp/nsjail.1000.root//mnt/disks/sessions', O_CREAT|O_RDONLY|O_CLOEXEC, 0644): Is a directory: /usr/lib/cgi-bin/nsjail-php-cgi
[Thu Apr 30 23:08:58.623050 2020] [cgi:error] [pid 35:tid 139991861860096] [client 127.0.0.1:36272] AH01215: [W][2020-04-30T23:08:58+0200][1] bool mnt::mountPt(mount_t*, const char*, const char*)():202 mount(''/mnt/disks/sessions' -> '/mnt/disks/sessions' flags:MS_BIND|MS_REC|MS_PRIVATE type:'' options:'' dir:false') src:'/mnt/disks/sessions' dstpath:'/tmp/nsjail.1000.root//mnt/disks/sessions' failed: No such file or directory: /usr/lib/cgi-bin/nsjail-php-cgi
[Thu Apr 30 23:08:58.623123 2020] [cgi:error] [pid 35:tid 139991861860096] [client 127.0.0.1:36272] AH01215: [F][2020-04-30T23:08:58+0200][1] bool subproc::runChild(nsjconf_t*, int, int, int, int)():448 Launching child process failed: /usr/lib/cgi-bin/nsjail-php-cgi
[Thu Apr 30 23:08:58.623221 2020] [cgi:error] [pid 35:tid 139991861860096] [client 127.0.0.1:36272] AH01215: [W][2020-04-30T23:08:58+0200][95] bool subproc::runChild(nsjconf_t*, int, int, int, int)():478 Received error message from the child process before it has been executed: /usr/lib/cgi-bin/nsjail-php-cgi
[Thu Apr 30 23:08:58.623288 2020] [cgi:error] [pid 35:tid 139991861860096] [client 127.0.0.1:36272] AH01215: [E][2020-04-30T23:08:58+0200][95] int nsjail::standaloneMode(nsjconf_t*)():256 Couldn't launch the child process: /usr/lib/cgi-bin/nsjail-php-cgi
[Thu Apr 30 23:08:58.623339 2020] [cgi:error] [pid 35:tid 139991861860096] [client 127.0.0.1:36272] AH01215: [D][2020-04-30T23:08:58+0200][95] int main(int, char**)():343 Returning with 255: /usr/lib/cgi-bin/nsjail-php-cgi
[Thu Apr 30 23:08:58.623368 2020] [cgi:error] [pid 35:tid 139991861860096] [client 127.0.0.1:36272] End of script output before headers: nsjail-php-cgi
==> /var/log/apache2/other_vhosts_access.log <==
kctf-nsjail-php:1337 127.0.0.1 - - [30/Apr/2020:23:08:58 +0200] "GET /?apache-is-running HTTP/1.1" 500 800 "-" "Wget/1.20.3 (linux-gnu)"