docker-vulnerable-dvwa/dvwa/vulnerabilities/weak_id/source/medium.php

10 lines
145 B
PHP
Raw Normal View History

2018-10-12 15:49:58 +00:00
<?php
$html = "";
if ($_SERVER['REQUEST_METHOD'] == "POST") {
$cookie_value = time();
setcookie("dvwaSession", $cookie_value);
}
?>