Linux host40.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Apache
: 68.65.120.213 | : 216.73.216.131
Cant Read [ /etc/named.conf ]
7.4.33
trade
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
trade /
public_html /
system /
Filters /
[ HOME SHELL ]
Name
Size
Permission
Action
Exceptions
[ DIR ]
drwxr-xr-x
CSRF.php
1.82
KB
-rw-r--r--
DebugToolbar.php
1011
B
-rw-r--r--
FilterInterface.php
1.35
KB
-rw-r--r--
Filters.php
15.19
KB
-rw-r--r--
Honeypot.php
1.15
KB
-rw-r--r--
InvalidChars.php
2.82
KB
-rw-r--r--
SecureHeaders.php
2.05
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : SecureHeaders.php
<?php /** * This file is part of CodeIgniter 4 framework. * * (c) CodeIgniter Foundation <admin@codeigniter.com> * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ namespace CodeIgniter\Filters; use CodeIgniter\HTTP\RequestInterface; use CodeIgniter\HTTP\ResponseInterface; /** * Add Common Security Headers */ class SecureHeaders implements FilterInterface { /** * @var array<string, string> */ protected $headers = [ // https://owasp.org/www-project-secure-headers/#x-frame-options 'X-Frame-Options' => 'SAMEORIGIN', // https://owasp.org/www-project-secure-headers/#x-content-type-options 'X-Content-Type-Options' => 'nosniff', // https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/compatibility/jj542450(v=vs.85)#the-noopen-directive 'X-Download-Options' => 'noopen', // https://owasp.org/www-project-secure-headers/#x-permitted-cross-domain-policies 'X-Permitted-Cross-Domain-Policies' => 'none', // https://owasp.org/www-project-secure-headers/#referrer-policy 'Referrer-Policy' => 'same-origin', // https://owasp.org/www-project-secure-headers/#x-xss-protection // If you do not need to support legacy browsers, it is recommended that you use // Content-Security-Policy without allowing unsafe-inline scripts instead. // 'X-XSS-Protection' => '1; mode=block', ]; /** * We don't have anything to do here. * * @param array|null $arguments * * @return void */ public function before(RequestInterface $request, $arguments = null) { } /** * Add security headers. * * @param array|null $arguments * * @return void */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null) { foreach ($this->headers as $header => $value) { $response->setHeader($header, $value); } } }
Close