Skip to content

Commit

Permalink
add more missing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
r4ulcl committed Jul 23, 2024
1 parent fdf4071 commit 7ddfef6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion APs/config/html/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

if ($_SESSION["Username"] == "CONTOSO\juan.tr") {
if (strpos($_SERVER['REMOTE_ADDR'], '192.168.5.') !== false) { //only MGT
echo "flag{hGDSm8oltjM9q217iJYu}";
echo "flag{3407a6e0ad77965731da8357c4270ecce8b642e4}";
echo "<br><br>";
} else {
echo "Your Princess Is in Another Castle!";
Expand Down
10 changes: 5 additions & 5 deletions Clients/config/html/index.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php
if (strpos($_SERVER['REMOTE_ADDR'], '192.168.10.') !== false) { //only OPN
echo "flag{jg67f7sad87g387g}";
echo "flag{3b23cd3e5d462c6cacc20f52f5c92244e1188bde}";
} elseif (strpos($_SERVER['REMOTE_ADDR'], '192.168.1.') !== false) { //only HIDDEN
echo "flag{IkZ4ZeDqgfQ3eUU}";
echo "flag{763fde6ad2602841c2a465607cc2ef27f5f847c2}";
} elseif (strpos($_SERVER['REMOTE_ADDR'], '192.168.2.') !== false) { //only PSK
echo "flag{QvD1ervLa4EwVh81Tfm0}";
echo "flag{edfdf342848f5559bce9750c98b7018da3d9270e}";
} elseif (strpos($_SERVER['REMOTE_ADDR'], '192.168.3.') !== false) { //only WPS
echo "flag{pRH6IlFp2OF49x2}";
echo "flag{90e72231ab8119c3a5511bbddd1cbeaf587d4d12}";
} elseif (strpos($_SERVER['REMOTE_ADDR'], '192.168.5.') !== false) { //only MGT
echo "flag{y67gasdG6hm8hfn7gh}";
echo "flag{b9e648f3a1c4f49b7973519a3dc1eee3a45f28bb}";
} else {
echo "Sorry, No FLAG here";

Expand Down

0 comments on commit 7ddfef6

Please sign in to comment.