Новости | FAQ | Авторы | Документация | В действии | Библиотека |
Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
AK666 26.04.2023 23:48
/var/www/root/app.html:... ^use[/../.src/subApp/app.p] .../var/www/.src/subApp/app.p:
@auto[filespec] $self.dir[^file:dirname[$filespec]] #auto @subApp[] ... $request:document-root[/var/www/root] $inc[^file::load[binary;${self.dir}/app.inc]] ^apply-taint[optimized-as-is;$inc.text] ... #subApp
{
"result":"Exception",
"message":"unhandled",
"exception":{
"type":"file.missing",
"source":"\/var\/www\/root\/var\/www\/root\/..\/.src\/subApp\/app.inc",
"file":"\/var\/www\/root\/..\/.src\/subApp\/app.p",
"lineno":96,
"colno":22,
"comment":"read failed: No such file or directory (2), actual filename '\/var\/www\/root\/var\/www\/root\/..\/.src\/subApp\/app.inc'",
"handled":false
},
"FCGI_ROLE":"RESPONDER", "SCRIPT_NAME":"\/app.html", "SCRIPT_FILENAME":"\/var\/www\/parser\/current\/parser3.cgi", "PATH_INFO":"\/app.html", "PATH_TRANSLATED":"\/var\/www\/root\/app.html", "CGI_PARSER_LOG":"\/var\/log\/nginx\/parser.log", "REQUEST_METHOD":"GET", "REQUEST_URI":"\/app.html", "DOCUMENT_URI":"\/app.html", "DOCUMENT_ROOT":"\/var\/www\/root", "SERVER_PROTOCOL":"HTTP\/1.0", "REQUEST_SCHEME":"https", "HTTPS":"on", "GATEWAY_INTERFACE":"CGI\/1.1", "SERVER_SOFTWARE":"nginx\/1.15.12", "REMOTE_ADDR":"хрум", "SERVER_ADDR":"хрум", "SERVER_PORT":"443", "SERVER_NAME":"хрум", "REDIRECT_STATUS":"200", "HTTP_HOST":"хрум", "HTTP_X_REAL_IP":"хрум", "HTTP_X_HOST":"хрум", "HTTP_X_URI":"\/app.html", "HTTP_X_FORWARDED_PROTO":"https", "HTTP_X_FORWARDED_FOR":"хрум, хрум", "HTTP_CONNECTION":"close", "HTTP_ACCEPT_ENCODING":"gzip", "HTTP_CF_RAY":"7be1a030cfb777b6-KBP", "HTTP_CF_VISITOR":"{\"scheme\":\"https\"}", "HTTP_PRAGMA":"no-cache", "HTTP_CACHE_CONTROL":"no-cache", "HTTP_SEC_CH_UA":"\"Chromium\";v=\"112\", \"Google Chrome\";v=\"112\", \"Not:A-Brand\";v=\"99\"", "HTTP_SEC_CH_UA_MOBILE":"?0", "HTTP_SEC_CH_UA_PLATFORM":"\"Windows\"", "HTTP_DNT":"1", "HTTP_UPGRADE_INSECURE_REQUESTS":"1", "HTTP_USER_AGENT":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/112.0.0.0 Safari\/537.36", "HTTP_ACCEPT":"text\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/avif,image\/webp,image\/apng,*\/*;q=0.8,application\/signed-exchange;v=b3;q=0.7", "HTTP_SEC_FETCH_SITE":"none", "HTTP_SEC_FETCH_MODE":"navigate", "HTTP_SEC_FETCH_USER":"?1", "HTTP_SEC_FETCH_DEST":"document", "HTTP_CDN_LOOP":"cloudflare", "LANG":"en_US.UTF-8", "LANGUAGE":"en_US:en", "PATH":"\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin", "HOME":"\/var\/www", "LOGNAME":"www-data", "USER":"www-data", "SHELL":"\/usr\/sbin\/nologin"