403Webshell
Server IP : 172.67.201.108  /  Your IP : 216.73.216.25
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5
System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/home2/mommybites/wp-content/plugins/insert-php-code-snippet/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/home2/mommybites/wp-content/plugins/insert-php-code-snippet/admin/uninstall.php
<?php 
if ( ! defined( 'ABSPATH' ) ) 
	exit;

function xyz_ips_network_uninstall($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);
				xyz_ips_uninstall();
			}
			switch_to_blog($old_blog);
			return;
		}
	}
	xyz_ips_uninstall();
}

function xyz_ips_uninstall(){

global $wpdb;
delete_option("xyz_ips_sort_order");
delete_option("xyz_ips_sort_field_name");
delete_option("xyz_ips_limit");
delete_option("xyz_ips_installed_date");
delete_option('xyz_ips_credit_dismiss');
/* table delete*/
$wpdb->query("DROP TABLE ".$wpdb->prefix."xyz_ips_short_code");


}

register_uninstall_hook( XYZ_INSERT_PHP_PLUGIN_FILE, 'xyz_ips_network_uninstall' );
?>

Youez - 2016 - github.com/yon3zu
LinuXploit