added official hacktheboo2024 writeups

This commit is contained in:
eplots 2024-10-23 11:10:43 +02:00
parent 1f7a9b0566
commit e3c46450f7
327 changed files with 14303 additions and 0 deletions

View file

@ -0,0 +1,14 @@
<?php spl_autoload_register(function ($name) {
if (preg_match('/Controller$/', $name)) {
$name = "controllers/{$name}";
} elseif (preg_match('/Model$/', $name)) {
$name = "models/{$name}";
}
include_once "{$name}.php";
});
$router = new Router();
$router->new('GET', '/', 'IndexController@index');
$router->new('POST', '/update', 'IndexController@updateSetting');
die($router->match());