remove fake login
This commit is contained in:
parent
0620d1eb14
commit
70a7aa4af2
|
@ -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')
|
||||
|
|
|
@ -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!");
|
||||
|
||||
|
||||
|
||||
?>
|
Loading…
Reference in New Issue