PHP Classes

File: Demo/dos_test.php

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

Contents

Class file image Download
<?php
require_once '../security.class.php';
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;
?>