403Webshell
Server IP : 185.252.147.100  /  Your IP : 216.73.216.196
Web Server : nginx/1.27.3
System : Linux mitrofanov.ru 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
User : mitr ( 1000)
PHP Version : 8.2.29
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /www/nginx/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/nginx/map.conf
map $http_cookie $logged_out {
    "~*wordpress_logged_in"     0;
     default    1 ;
}

map $status $loggable {
    ~^[23]  0;
    default 1;
}

map $request_uri    $da_block {
   "~*wp-admin\/includes"    1;
   "~*xmlrpc\.php"    1;
   "~*^\/wp-content\/uploads\/.*\.js$"  1;
   "~*^\/wp-content\/(uploads\/(sucuri|wc-logs|woocommerce_uploads)|updraft)" 1;
   "~*/(=|\$&|_mm|(wp-)?config\.(?!js)|cgi-|etc/passwd|muieblack)"   1;
   "~/\.(?!well-known/traffic-advice)"    1;
    ~*^.+\/\b(?!robots\b).*?\b\.txt$    1;
    ~*^.+\.(?:swf|s?html?|zip|md|pl|py|old|lua|orig|original|php#|php~|php_bak|save|save|swo|aspx?|tpl|sh|bash|bak?|cfg|cgi|dll|exe|git|hg|ini|jsp|log|mdb|out|sql|gz|svn|swp|tar|rdf|bzip2|7z|conf)$ 1;
    "~*eval\("  1;
    "~*self/environ" 1;
    "~*create_function" 1;
    "~*preg_replace" 1;
    "~*substring" 1;
    "~*base64" 1;
    "~*duplicate" 1;
    "~*(composer\.json|composer\.lock)" 1;
    "~*echo(.*)kae" 1;
    "~*\(null\)" 1;
    "~*_vti_" 1;
    "~*&pws=0" 1;
    "~*\{\$itemURL\}" 1;
    "~*javascript\:.*\;"    1;
    "~*(<|%3C).*script.*(>|%3E)"    1;
    "~*([a-z0-9]{2000})"    1;
    "~*(?:GLOBALS|REQUEST)(=|\[|%)"   1;#phpmyadmin error
    "~(\|%3E|\|>)"   1;
    "~*(\'|\")(.*)(?:drop|insert|md5|select|union)"   1;
    "~*(?:https?|ftp|php):/"  1;
    "~*(?:=\\\'|=\\%27|/\\\'/?)\."    1;
    "~(?:\(/\(|\.\./|\.\.\.|\+\+\+|\\\"\\\")" 1;
    "~*~$"    1;
    default     0;
}

map $request_uri $robots {
    default "";
    "~*cart"   "noindex";
    "~*checkout"   "noindex";
    "~*my-account"   "noindex";
    "~*%d0%ba%d0%be%d1%80%d0%b7%d0%b8%d0%bd%d0%b0"   "noindex";
    "~*%d0%be%d1%84%d0%be%d1%80%d0%bc%d0%bb%d0%b5%d0%bd%d0%b8%d0%b5-%d0%b7%d0%b0%d0%ba%d0%b0%d0%b7%d0%b0"   "noindex";
    "~*products-compare"   "noindex";
    "~*my-account\/lost-password"   "noindex";
    "~*editform"   "noindex";
    "~*\/wp-sitemap.*"   "index";
    "~*wp-.*"   "noindex";
    "~*wc-.*"   "noindex";
    "~*add-to-cart=.+"   "noindex";
    "~*search"   "noindex";
    "~*author"   "noindex";
    "~*users"   "noindex";
    "~*coupons"   "noindex";
    "~*trackback"   "noindex";
#    "~*feed"   "noindex";
    "~*comment"   "noindex";
    "~*attachment"   "noindex";
    "~*rss"   "noindex";
    "~*embed"   "noindex";
    "~*wlwmanifest\.xml"   "noindex";
    "~*xmlrpc"   "noindex";
    "~*attachment"   "noindex";
    "~*\.inc"   "noindex";
    "~*\.php"   "noindex";
    "~*utm_.*"   "noindex";
    "~*openstat.*"   "noindex";
}

map $request_method $var_skip_cache{
    "GET"     $var_cookie;
    "HEAD"     $var_cookie;
    default     1;
  }

map $http_cookie $var_cookie {
    "~*PHPSESSID"   1;
    "~*comment_author"     1;
    "~*wordpress_logged_in"     1;
    "~*woocommerce_(recently_viewed|cart_hash|items_in_cart)"     1;
    "~*wordpress_[a-f0-9]+"    1;
    "~*wp-postpass"     1;
    "~*wordpress_no_cache"     1;
    default     $var_request;
  }

map $request_uri $var_request {
    # корзина
    "~*/%d0%ba%d0%be%d1%80%d0%b7%d0%b8%d0%bd%d0%b0"  1;
    # оформление-заказа
    "~*/%d0%be%d1%84%d0%be%d1%80%d0%bc%d0%bb%d0%b5%d0%bd%d0%b8%d0%b5-%d0%b7%d0%b0%d0%ba%d0%b0%d0%b7%d0%b0"   1;
    "~*/checkout"   1;
    "~*/shop"   1;
    "~*/store"   1;
    "~*/cart"   1;
    "~*/addons"   1;
    "~*/my-account"   1;
    "~*/products-compare"   1;
    "~*/coupons"   1;
    "~*/editform"   1;
    "~*/wc-api"   1;
    "~*/wp-.+"   1;
    "~*([^/]*)sitemap(.*).x(m|s)l$" 1;
    "~*add-to-cart=.+"          1;
    "~*^/feed/*"    1;
    "~*/tag/.*/feed/*"  1;
    default                 $var_query_string;
}

map $query_string  $var_query_string {
    default     1;
    ""      0;
}

#map errors

map $status $status_text {
  400 'Bad Request';
  401 'Unauthorized';
  402 'Payment Required';
  #403 'Forbidden';
  403 'Доступ запрещён';
  #404 'Not Found';
  404 'Страница не существует';
  405 'Method Not Allowed';
  406 'Not Acceptable';
  407 'Proxy Authentication Required';
  408 'Request Timeout';
  409 'Conflict';
  410 'Gone';
  411 'Length Required';
  412 'Precondition Failed';
  413 'Payload Too Large';
  414 'URI Too Long';
  415 'Unsupported Media Type';
  416 'Range Not Satisfiable';
  417 'Expectation Failed';
  418 'I\'m a teapot';
  421 'Misdirected Request';
  422 'Unprocessable Entity';
  423 'Locked';
  424 'Failed Dependency';
  425 'Too Early';
  426 'Upgrade Required';
  428 'Precondition Required';
  #429 'Too Many Requests';
  429 'Слишком много запросов';
  431 'Request Header Fields Too Large';
  451 'Unavailable For Legal Reasons';
  #500 'Internal Server Error';
  500 'Внутренняя ошибка сервера';
  501 'Not Implemented';
  502 'Bad Gateway';
  #503 'Service Unavailable';
  503 'Сервис временно недоступен';
  # 504 'Gateway Timeout';
  504 'Задержка в передаче данных';
  505 'HTTP Version Not Supported';
  506 'Variant Also Negotiates';
  507 'Insufficient Storage';
  508 'Loop Detected';
  510 'Not Extended';
  511 'Network Authentication Required';
  default 'Что-то пошло не так...';
}

Youez - 2016 - github.com/yon3zu
LinuXploit