-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from r4ulcl/dev
Merge dev into main for v2.0.4 release
- Loading branch information
Showing
42 changed files
with
765 additions
and
6,500 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,30 @@ | ||
<?php session_start(); /* Starts the session */ | ||
if(!isset($_SESSION['UserData']['Username'])){ | ||
header("location:login.php"); | ||
exit; | ||
if (!isset($_SESSION['UserData']['Username'])) { | ||
header("location:login.php"); | ||
exit; | ||
} | ||
?> | ||
|
||
<?php | ||
echo "Welcome ", $_SESSION["Username"]; | ||
echo "<br><br>"; | ||
echo "<br><br>"; | ||
|
||
?> | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<title>WiFi Router Configuration</title> | ||
<link rel="stylesheet" href="style.css"> | ||
</head> | ||
|
||
<body> | ||
|
||
<?php | ||
echo "Welcome ", $_SESSION["Username"]; | ||
echo "<br><br>"; | ||
echo "<br><br>"; | ||
|
||
?> | ||
|
||
Congratulation! You have logged into password protected page. <a href="index.php">Click here</a> to go to index.php to get the flag. | ||
|
||
Congratulation! You have logged into password protected page. <a href="index.php">Click here</a> to go to index.php to get the flag. | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.