docker-vulnerable-dvwa/dvwa/vulnerabilities/weak_id/source/medium.php
2018-10-12 15:49:58 +00:00

10 lines
145 B
PHP

<?php
$html = "";
if ($_SERVER['REQUEST_METHOD'] == "POST") {
$cookie_value = time();
setcookie("dvwaSession", $cookie_value);
}
?>