403Webshell
Server IP : 80.65.208.158  /  Your IP : 216.73.216.25
Web Server : Microsoft-IIS/10.0
System : Windows NT VMI1501711 10.0 build 17763 (Windows Server 2019) AMD64
User : IWPD_134(rotechno) ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Inetpub/vhosts/rotechnochem.com/httpdocs/wp-content/plugins/easy/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Inetpub/vhosts/rotechnochem.com/httpdocs/wp-content/plugins//easy/uninstall.php
<?php
// exit if uninstall is not called
if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) {
	exit();
}

$keep = get_option( 'vsel-setting-100' );
if ( $keep != 'yes' ) {
	// set global
	global $wpdb;

	// delete custom post meta
	$wpdb->query( "DELETE FROM {$wpdb->postmeta} WHERE meta_key LIKE 'event%'" );

	// delete options
	$wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE 'vsel-setting%'" );
	$wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name = 'widget_vsel_widget'" );

	// delete terms
	$wpdb->query( "
		DELETE FROM
		{$wpdb->terms}
		WHERE term_id IN
		( SELECT * FROM (
			SELECT {$wpdb->terms}.term_id
			FROM {$wpdb->terms}
			JOIN {$wpdb->term_taxonomy}
			ON {$wpdb->term_taxonomy}.term_id = {$wpdb->terms}.term_id
			WHERE taxonomy = 'event_cat'
		) as T );
 	" );

	// delete taxonomy
	$wpdb->query( "DELETE FROM {$wpdb->term_taxonomy} WHERE taxonomy = 'event_cat'" );

	// delete events
	$wpdb->query( "DELETE FROM {$wpdb->posts} WHERE post_type = 'event'" );
}

Youez - 2016 - github.com/yon3zu
LinuXploit