Current Path: > home > transcarter > public_html > wp-content > plugins > LayerSlider > assets > classes
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.135 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
class.km.autoupdate.plugins.v3.php | File | 1726 bytes | March 10 2023 20:45:24. | |
class.km.autoupdate.v3.php | File | 16249 bytes | March 10 2023 20:45:24. | |
class.ls.config.php | File | 2480 bytes | March 10 2023 20:45:24. | |
class.ls.dom.php | File | 4008 bytes | March 10 2023 20:45:24. | |
class.ls.elementor.php | File | 2533 bytes | March 10 2023 20:45:24. | |
class.ls.elementor.widget.php | File | 4505 bytes | March 10 2023 20:45:24. | |
class.ls.exportutil.php | File | 6149 bytes | March 10 2023 20:45:24. | |
class.ls.filesystem.php | File | 1953 bytes | March 10 2023 20:45:24. | |
class.ls.importutil.php | File | 9880 bytes | March 10 2023 20:45:24. | |
class.ls.modulemanager.php | File | 4185 bytes | March 10 2023 20:45:24. | |
class.ls.modules.php | File | 3000 bytes | March 10 2023 20:45:24. | |
class.ls.notifications.php | File | 13031 bytes | March 10 2023 20:45:24. | |
class.ls.popups.php | File | 4787 bytes | March 10 2023 20:45:24. | |
class.ls.posts.php | File | 10320 bytes | March 10 2023 20:45:24. | |
class.ls.remotedata.php | File | 2462 bytes | March 10 2023 20:45:24. | |
class.ls.revisions.php | File | 6622 bytes | March 10 2023 20:45:24. | |
class.ls.sliders.php | File | 21612 bytes | March 10 2023 20:45:24. | |
class.ls.sources.php | File | 7556 bytes | March 10 2023 20:45:24. | |
class.ls.templateutils.php | File | 6958 bytes | March 10 2023 20:45:24. | |
class.ls.transitionpresets.php | File | 785 bytes | March 10 2023 20:45:24. | |
class.ls.uninstaller.php | File | 4185 bytes | March 10 2023 20:45:24. | |
index.php | File | 27 bytes | March 10 2023 20:45:24. |
<?php class LS_FileSystem { public static function addIndexPHP( $dir ) { if( ! file_exists( $dir.'/index.php' ) ) { @file_put_contents( $dir.'/index.php', '<?php // Silence is golden.'); } } public static function emptyDir( $path ) { if( ! file_exists( $path ) ) { return true; } if( is_file( $path ) ) { return @unlink($path); } elseif( is_dir( $path ) ) { $path = rtrim( $path, '/' ); // Attempt to also find hidden files if( defined('GLOB_BRACE') ) { $scan = glob( $path.'/{*,.[!.]*,..?*}*', GLOB_BRACE ); // Fallback if PHP version does not support GLOB_BRACE } else { $scan = glob( $path.'/*' ); } foreach( $scan as $index => $item) { self::emptyDir( $item ); } return @rmdir($path); } return true; } public static function deleteDir( $dir ) { if( ! self::emptyDir( $dir ) ) { return false; } return @rmdir( $dir ); } public static function createUploadDirs() { $uploads = wp_upload_dir(); $uploadsBaseDir = $uploads['basedir']; // Check if /uploads dir is writable if( ! is_writable( $uploadsBaseDir ) ) { return false; } $directories = [ $uploadsBaseDir.'/layerslider', $uploadsBaseDir.'/layerslider/tmp', $uploadsBaseDir.'/layerslider/modules', $uploadsBaseDir.'/layerslider/projects' ]; foreach( $directories as $dir ) { if( ! is_dir( $dir ) ) { wp_mkdir_p( $dir ); LS_FileSystem::addIndexPHP( $dir ); } } return true; } public static function unzip( $archive, $to ) { require_once( ABSPATH.'wp-admin/includes/file.php' ); // Unpack archive WP_Filesystem(); global $wp_filesystem; $file = unzip_file( $archive, $to ); if( is_wp_error( $file ) ) { if( ! defined('FS_METHOD') ) { define('FS_METHOD', 'direct'); WP_Filesystem(); } $file = unzip_file( $archive, $to ); if( is_wp_error( $file ) ) { return false; } } return true; } }
SILENT KILLER Tool