403Webshell
Server IP : 65.108.144.40  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : dev ( 1000)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/reach24/wp-content/plugins/super-socializer/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/reach24/wp-content/plugins/super-socializer//uninstall.php
<?php
//if uninstall not called from WordPress, exit
if(!defined('WP_UNINSTALL_PLUGIN')){
	exit();
}
$theChampGeneralOptions = get_option('the_champ_general');
if(isset($theChampGeneralOptions['delete_options'])){
	global $wpdb;
	$theChampOptions = array(
		'the_champ_login',
		'the_champ_facebook',
		'the_champ_sharing',
		'the_champ_counter',
		'the_champ_general',
		'the_champ_ss_version',
		'the_champ_feedback_submitted',
		'widget_thechamplogin',
		'widget_thechamphorizontalsharing',
		'widget_thechampverticalsharing',
		'widget_thechamphorizontalcounter',
		'widget_thechampverticalcounter',
		'heateor_ss_fb_access_token'
	);
	// For Multisite
	if(function_exists('is_multisite') && is_multisite()){
		// For Multisite
		$theChampBlogIds = $wpdb->get_col("SELECT blog_id FROM $wpdb->blogs");
		$theChampOriginalBlogId = $wpdb->blogid;
		foreach($theChampBlogIds as $blogId){
			switch_to_blog($blogId);
			foreach($theChampOptions as $option){
				delete_site_option($option);
			}
		}
		switch_to_blog($theChampOriginalBlogId);
	}else{
		foreach($theChampOptions as $option){
			delete_option( $option );
		}
		try {
			// delete heateor folder from wp-content/uploads 
			$heateorSsUploadsDir = wp_upload_dir();
			global $wp_filesystem;
            require_once ABSPATH . 'wp-admin/includes/file.php';
            WP_Filesystem();
            // check whether the directory exists
            if($wp_filesystem->exists($heateorSsUploadsDir['basedir'] . '/heateor')){
            	// delete
            	$wp_filesystem->delete($heateorSsUploadsDir['basedir'] . '/heateor', true, 'd');
            }
		}catch(Exception $e){}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit