BejelentkezésOldalsáv elrejtése
Felhasználói név: 
Jelszó: 
IP korlátozás 
Kérdések  |  score: 4  |  5.55 7.33 6.85 |  424 játékos oldotta meg  |  73202 views  |  óta Július 19, 2013 - 17:14:48

HOST me (PHP, HTTP)

HOST me
One of our coworkers has put code in the admin panel, which blocked access for all the staff.
GeSHi`ed PHP kód
1
2
3
4
56
7
8
9
<?php
 
$challenge = function()
{
        return $_SERVER['HTTP_HOST'] === 'localhost';}
 
?>
 
Fun Fact: There is even a virtualhost named localhost, which probably does not make it easier.
It seems like we need to reinstall the box, unless you can access this page with the correct constraints.

Good Luck!
© 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 és 2024 by space