[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
wp-optimize
/
vendor
/
intervention
/
httpauth
/
src
/
Token
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 HttpAuthentification.php
1,022 B
SET
[ EDIT ]
|
[ DEL ]
📄 HttpAuthorization.php
513 B
SET
[ EDIT ]
|
[ DEL ]
📄 NullToken.php
1,188 B
SET
[ EDIT ]
|
[ DEL ]
📄 PhpAuthDigest.php
1,041 B
SET
[ EDIT ]
|
[ DEL ]
📄 PhpAuthUser.php
1,110 B
SET
[ EDIT ]
|
[ DEL ]
📄 RedirectHttpAuthorization.php
536 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: PhpAuthUser.php
<?php namespace Intervention\HttpAuth\Token; use Intervention\HttpAuth\Key; class PhpAuthUser extends NullToken { /** * Parsed authentification username * * @var string */ protected $username; /** * Parsed authentification password * * @var string */ protected $password; /** * Transform current instance to key object * * @return Key */ public function toKey(): Key { $key = new Key(); $key->setProperty('username', $this->username); $key->setProperty('password', $this->password); return $key; } /** * Parse environment variables and store value in object * * @return bool "true" if value was found or "false" */ protected function parse(): bool { if ($username = $this->getArrayValue($_SERVER, 'PHP_AUTH_USER')) { $this->username = $username; $this->password = array_key_exists('PHP_AUTH_PW', $_SERVER) ? $_SERVER['PHP_AUTH_PW'] : null; return true; } return false; } }