PHP Classes

File: tests/xss_test.php

Recommend this page to a friend!
  Classes of Marco Cesarato   PHP AIO Security Class   tests/xss_test.php   Download  
File: tests/xss_test.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP AIO Security Class
Filter untrusted data to prevent security issues
Author: By
Last change: Update of tests/xss_test.php
Date: 4 years ago
Size: 309 bytes
 

Contents

Class file image Download
<?php

require_once '../src/Security.php';
use
marcocesarato\security\Security;

Security::putInSafety();
Security::cleanGlobals();

$debug = var_export(Security::debugGlobals(), true);

echo <<<HTML
<h1>Security XSS Test</h1>
PS: On \$_GET & \$_COOKIE html is not permitted<br><br>
<pre>
$debug
</pre>
HTML;