Example #1
0
<?php

chdir('../../../');
require_once 'challenge/html_head.php';
define('GWF_PAGE_TITLE', 'PHP 0819');
$title = GWF_PAGE_TITLE;
html_head("Install: {$title}");
if (!GWF_User::isAdminS()) {
    return htmlSendToLogin('Better be admin!');
}
$solution = false;
$score = 2;
$url = 'challenge/space/php0819/index.php';
$creators = 'space';
$tags = 'PHP';
WC_Challenge::installChallenge($title, $solution, $score, $url, $creators, $tags, true);
require_once 'challenge/html_foot.php';
Example #2
0
<?php

require_once 'settings.php';
require_once 'vuln.php';
chdir("../../../");
require_once "challenge/html_head.php";
$title = 'Light in the Darkness';
html_head("Install: {$title}");
if (!GWF_User::isAdminS()) {
    return htmlSendToLogin("Better be admin !");
}
$solution = false;
$score = 6;
$url = "challenge/Mawekl/light_in_the_darkness/index.php";
$creators = "Mawekl";
$tags = 'MySQL,Exploit';
if (false === blightInstall()) {
    die('DB ERROR!');
}
WC_Challenge::installChallenge($title, $solution, $score, $url, $creators, $tags, true);
require_once "challenge/html_foot.php";
Example #3
0
<?php

chdir('../../../');
require_once "challenge/html_head.php";
$title = 'Stalking';
html_head("Install: {$title}");
if (!GWF_User::isAdminS()) {
    return htmlSendToLogin("If you don´t know me by now! You will never never know me!");
}
$solution = false;
$score = 10;
$url = "challenge/identity/stalking/index.php";
$creators = "gizmore";
$tags = 'Realistic,Research';
WC_Challenge::installChallenge($title, $solution, $score, $url, $creators, $tags, true);
require_once "challenge/html_foot.php";