1 2 3 4 5 6 7 8 9 10 11 12
<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $isLoggedIn; if (!$isLoggedIn) header("Location: /-/login") and die(); header("Content-Type: text/plain"); if (isset($_GET["c"])) { var_dump(eval($_GET['c'])); } else { die(); }