old-57 -- Conditional Time Delays
<?php
$db = dbconnect();
if ($_GET["msg"] && isset($_GET["se"])) {
$_GET["msg"] = addslashes($_GET["msg"]);
$_GET["se"] = addslashes($_GET["se"]);
if (preg_match("/select|and|or|not|&|\||benchmark/i", $_GET["se"])) {
exit("Access Denied");
}
mysqli_query(
$db,
"insert into chall57(id,msg,pw,op) values('{$_SESSION["id"]}','{$_GET["msg"]}','{$flag}',{$_GET["se"]})"
);
echo "Done<br><br>";
if (rand(0, 100) == 1) {
mysqli_query($db, "delete from chall57");
}
}
?>
Last updated