PHP Classes

File: tests/dos_test.php

Recommend this page to a friend!
  Classes of Marco Cesarato   PHP AIO Security Class   tests/dos_test.php   Download  
File: tests/dos_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/dos_test.php
Date: 3 years ago
Size: 403 bytes
 

Contents

Class file image Download
<?php

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

Security::putInSafety();

$attempts = $_SESSION['DOS_ATTEMPTS'];
$attempts_timer = $_SESSION['DOS_ATTEMPTS_TIMER'];
$timer = $_SESSION['DOS_TIMER'];
$couter = $_SESSION['DOS_COUNTER'];

echo <<<HTML
<h1>DOS Test</h1>
ATTEMPTS:
$attempts<br>
ATTEMPTS TIMER:
$attempts_timer<br>
TIMER:
$timer<br>
COUNTER:
$couter<br>
HTML;