HEX
Server: Apache
System: Linux linplesk41.pumo.com.tw 3.10.0-962.3.2.lve1.5.27.el7.x86_64 #1 SMP Sat Nov 30 02:18:52 EST 2019 x86_64
User: rajlaw (10192)
PHP: 7.4.24
Disabled: phpinfo,passthru,exec,shell_exec,system,popen,proc_open,proc_close,show_source,pcntl_exec,escapeshellcmd,proc_get_status,proc_nice,proc_terminate,escapeshellarg
Upload Files
File: /home/httpd/vhosts/rajlaw.com.tw/httpdocs/wp-content/plugins/wp-editor/uninstall.php
<?php
if ( ! defined( 'ABSPATH' ) && ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
  exit();
}

define( 'WPEDITOR_PATH', plugin_dir_path( __FILE__ ) ); // e.g. /var/www/example.com/wordpress/wp-content/plugins/wpeditor
require_once( WPEDITOR_PATH . 'classes/WPEditor.php' );
require_once( WPEDITOR_PATH . 'classes/WPEditorSetting.php' );

global $wpdb;
delete_option('wpe_log_file_name');
$prefix = WPEditor::get_table_prefix();
$sqlFile = WPEDITOR_PATH . 'sql/uninstall.sql';
$sql = str_replace( '[prefix]', $prefix, file_get_contents( $sqlFile ) );
$queries = explode( ";\n", $sql );
foreach ( $queries as $sql ) {
  if ( strlen( $sql ) > 5 ) {
    $wpdb->query( $sql );
  }
}