Removed example file

This commit is contained in:
Matteo Gheza 2020-07-01 21:48:29 +02:00
parent f4ad903ccd
commit cad2f10703
1 changed files with 0 additions and 16 deletions

View File

@ -1,16 +0,0 @@
<?php
require("ui.php");
if(isset($_GET["mod"])){
$_SESSION["token"] = bin2hex(random_bytes(64));
?>
<form>
<input type="hidden" name="token" value="<?php echo $_SESSION["token"]; ?>"></input>
<input type="submit"></input>
</form>
<?php
bdump($_SESSION["token"]);
} else if (isset($_GET["token"])) {
echo $_SESSION["token"] . "<br>";
echo $_GET["token"];
}