Exploit databaseDownload repository ZIP
GH-f7d33792e90befc1a6e1ace9b45e22b9
affan-7/semgrep-integration-1
Sources for CVE-2023-39848
53 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files4
affan-7/semgrep-integration-1Revision 5e695041439c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
vulnerabilities/weak_id/source/impossible.php
PHP · 246 bytes<?php
$html = "";
if ($_SERVER['REQUEST_METHOD'] == "POST") {
$cookie_value = sha1(mt_rand() . time() . "Impossible");
setcookie("dvwaSession", $cookie_value, time()+3600, "/vulnerabilities/weak_id/", $_SERVER['HTTP_HOST'], true, true);
}
?>