Fake GPS
2replies
2voices
258views
1image
<?php
define(“PAGE_PUBLIC”, true);
define(“LANDING_PAGE”, true);
require_once('init.php');
$minifier->add_file('home.scss', 'css');
// Set canonical link
$app->page->canonical = "https://www.hackthis.co.uk";
if (isset($_GET['api']) && isset($_GET['key'])) {
header("Content-type: text/plain");
// Make call to api
try {
$api = new api($app, $_GET['key']);
$api->handleRequest($_POST['action'], null);
} catch (Exception $e) {
echo $e->getMessage();
}
die();
}
if ($app->user->loggedIn) {
require_once("home.php");
} else {
define("_SIDEBAR", false);
require_once('header.php');
?>
<?php
if (isset($_GET[‘deleted’])) {
$app->utils->message(‘Your account has been successfully deleted. Painful though parting be, I bow to you as I see you off to distant clouds. ’, ‘info’);
}
?>
Want to learn about hacking and network security? Discover how hacks, dumps and defacements are performed and secure your website against hackers with HackThis!!
Challenges
Test your skills with 50+ hacking levels, covering all aspects of security.
Each level is hand coded with help available at every stage.
Community
Join in the discussion with 250,000+ like-minded members.
Need a hint? Want to talk about the latest cracking software tool?
Articles
Learn from our online collection of articles.
Learn from our collection of articles covering all aspects of security and technology.
<?php include('elements/home_articles.php'); ?>
</div>
<?php
$visible = true;
if (isset($COOKIE[“member”]) && $COOKIE[“member”])
$visible = false;
if (isset($GET[‘login’]))
$visible = false;
if (isset($GET[‘register’]))
$visible = true;
?>
<?php
if (isset($GET[‘request’])):
?>
<?php include(‘elements/widgets/request.php’); ?>
<?php
endif;
?>
Login
<?php
if(isset($SESSION[‘g_auth’])) {
include(‘elements/widgets/login_google_auth.php’);
} else {
include(‘elements/widgets/login.php’);
}
?>
Register
<?php include(‘elements/widgets/register.php’); ?>
<?php
}
require_once('footer.php');
?>
You must be logged in to reply to this discussion.
Login