Файловый менеджер - Редактировать - /home/avadvi5/public_html/wp-content/advanced-headers-test.php
Ðазад
<?php /** * This file is created by Really Simple Security to test the CSP header length * It will not load during regular wordpress execution */ if ( !headers_sent() ) { if ( !function_exists("rsssl_is_ssl" ) ) { function rsssl_is_ssl() { if ( ( isset($_SERVER["HTTPS"]) && ("on" === $_SERVER["HTTPS"] || "1" === $_SERVER["HTTPS"]) ) || (isset($_ENV["HTTPS"]) && ("on" === $_ENV["HTTPS"])) || (isset($_SERVER["SERVER_PORT"]) && ( "443" === $_SERVER["SERVER_PORT"] ) ) || (isset($_SERVER["HTTP_X_FORWARDED_SSL"]) && (strpos($_SERVER["HTTP_X_FORWARDED_SSL"], "1") !== false)) || (isset($_SERVER["HTTP_X_FORWARDED_SSL"]) && (strpos($_SERVER["HTTP_X_FORWARDED_SSL"], "on") !== false)) || (isset($_SERVER["HTTP_CF_VISITOR"]) && (strpos($_SERVER["HTTP_CF_VISITOR"], "https") !== false)) || (isset($_SERVER["HTTP_CLOUDFRONT_FORWARDED_PROTO"]) && (strpos($_SERVER["HTTP_CLOUDFRONT_FORWARDED_PROTO"], "https") !== false)) || (isset($_SERVER["HTTP_X_FORWARDED_PROTO"]) && (strpos($_SERVER["HTTP_X_FORWARDED_PROTO"], "https") !== false)) || (isset($_SERVER["HTTP_X_PROTO"]) && (strpos($_SERVER["HTTP_X_PROTO"], "SSL") !== false)) ) { return true; } return false; } } if ( rsssl_is_ssl() ) header("Strict-Transport-Security: max-age=63072000; includeSubDomains;"); header("X-XSS-Protection: 0"); header("X-Content-Type-Options: nosniff"); header("Referrer-Policy: strict-origin-when-cross-origin"); header("Permissions-Policy: accelerometer=(self), autoplay=(self), camera=(self), encrypted-media=(self), fullscreen=(self), geolocation=(self), microphone=(self), midi=(self), payment=(self), display-capture=(self)"); header("X-Frame-Options: SAMEORIGIN"); header("Cross-Origin-Opener-Policy: same-origin-allow-popups"); header("Cross-Origin-Resource-Policy: same-origin"); header("Cross-Origin-Embedder-Policy: unsafe-none"); if (function_exists('header_remove')) { header_remove('X-Powered-By'); } else { header('X-Powered-By: '); } header("Content-Security-Policy: upgrade-insecure-requests;frame-ancestors 'self' ; "); header("Content-Security-Policy-Report-Only: img-src 'self' data: https://templates.underconstructionpage.com https://flytemplates.com https://aeronextgen.com https://api.wpmet.com https://updates.themepunch-ext-c.tools https://plugin.wpforms.com https://lh3.googleusercontent.com https://secure.gravatar.com https://ts.w.org https://s.w.org https://ps.w.org; default-src 'self'; script-src 'self' 'unsafe-inline' https://www.gstatic.com https://aeronextgen.com https://www.google.com https://www.googletagmanager.com https://cdn.jsdelivr.net blob: 'unsafe-eval'; script-src-elem 'self' 'unsafe-inline' https://www.gstatic.com https://aeronextgen.com https://www.google.com https://www.googletagmanager.com https://cdn.jsdelivr.net blob: ; style-src 'self' 'unsafe-inline' https://maxcdn.bootstrapcdn.com https://fonts.googleapis.com https://fonts.bunny.net https://aeronextgen.com https://code.jquery.com https://www.gstatic.com ; style-src-elem 'self' 'unsafe-inline' https://maxcdn.bootstrapcdn.com https://fonts.googleapis.com https://fonts.bunny.net https://aeronextgen.com https://code.jquery.com https://www.gstatic.com ; font-src 'self' https://fonts.bunny.net https://maxcdn.bootstrapcdn.com https://fonts.gstatic.com https://aeronextgen.com data:; frame-src 'self' https://www.google.com https://www.youtube.com blob:; connect-src 'self' https://templates.underconstructionpage.com https://aeronextgen.com https://www.google.com https://api-eu.mixpanel.com https://cdn.ampproject.org; worker-src 'self' blob:; report-uri https://aeronextgen.com/wp-json/rsssl/v1/csp?rsssl_apitoken=235514200;"); } header("X-REALLY-SIMPLE-SSL-TEST: %03%A5%B1%02%2F%96OE%9D%FB%88%EB%5B%98%A0L%E2%0F%F1s0%CB%2F%BCC%DA%8D%1Br%1B%12Z%11%8BH%B3%C3h%7CEi%BBO%7E%E22%92w%D3I%09%9A%8D%CEjc%BB%80%CD%1F%287%06%0F%0Cz_%99-R%AC.%3BlE%A6%5E%DAC%1A%96%C8%0F%60b%92%82%3F%5C%0Dm%BF%D57%1A%28%88%9B%A5%91%19%7E%EE%5B%0B%84%92w%84j%D8%A8%1B%DF%A3%17v%B0Q%B5%7D%CA%B5Q%96%A5r%7C%DD%18%F8%C5%97F%F6%CC%82wy%E6%1DU%92%EB_%E2%B7%B1+%A3%D5%3A%14-R%9A%D5i8%D9%D7.U%07%0D%01%8D%27%9F%F0%E2%15R%80%5C%D2%FDtbT%DCQ%95%AAc%B2%01%98%0B%ACW%81%A8%40%A3%B9%3F%0D%BA%FDW%14s%16D%"); echo '<html><head><meta charset="UTF-8"><META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"></head><body>Really Simple Security headers test page</body></html>';
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка