PHP 8.2.30
Preview: auth.php Size: 269 B
/proc/thread-self/root/usr/local/lsws/admin/html.6.2.2/includes/auth.php

<?php

require_once('global.php');

$client = CLIENT::singleton();

if ( !$client->isValid() 
	|| (isset($_SERVER['HTTP_REFERER']) 
		&& strpos($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST']) === FALSE)) 
{
	$client->clear();
	header('location:/login.php');
	die();
}

Directory Contents

Dirs: 0 × Files: 2

Name Size Perms Modified Actions
269 B lrw-r--r-- 2024-07-11 02:32:02
Edit Download
1.13 KB lrw-r--r-- 2024-07-11 02:32:02
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).