remove fake login

This commit is contained in:
Christopher 2020-10-23 23:45:04 +02:00
parent 0620d1eb14
commit 70a7aa4af2
2 changed files with 2 additions and 27 deletions

View File

@ -10,8 +10,8 @@ include_once("classen/HTML.php");
include_once("classen/helper.php");
include_once("classen/docker.php");
$_SESSION['CONTAINER'] = "Game.OpenSimulator.Twix";
$_SESSION['LOGIN'] = "true";
//$_SESSION['CONTAINER'] = "Game.OpenSimulator.Twix";
//$_SESSION['LOGIN'] = "true";
if(isset($_REQUEST['logout']))
if($_REQUEST['logout'] == '1')

View File

@ -1,25 +0,0 @@
<?php
if(isset($_REQUEST['MASTERKEY']))
{
if($_REQUEST['MASTERKEY'] == $RUNTIME['SYSTEMKEY'])
{
$dockerClient = new Docker();
$allContainers = $dockerClient->getAllContainers();
foreach($allContainers as $thisContainer)
{
$apiKey = calcAPIKey($thisContainer);
echo trim(ltrim($thisContainer['Names']['0'], '/'))." == ".$apiKey."<br>\n";
}
die();
}
}
die("ACCESS DENIED!");
?>