PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/computertipsandfix.kerihosting.com/wp-content/plugins/backupbuddy/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/computertipsandfix.kerihosting.com/wp-content/plugins/backupbuddy/_repairbuddy.php |
<?php /** * * -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- * * WARNING: THERE ARE ABSOLUTELY NO EDITABLE PORTIONS OF THIS SCRIPT. * ALL OPTIONS ARE CONFIGURABLE VIA THE WEB INTERFACE. * YOU CAN EXTEND THE FUNCTIONALITY BY WRITING A MODULE * SEE /repairbuddy/modules/ FOR EXAMPLES ON FUNCTIONAL MODULES * * -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- * * Script Name: RepairBuddy.php for use with BackupBuddy backups. * Plugin URI: http://pluginbuddy.com/backupbuddy/ * Description: Backup - Restore - Migrate. Backs up files, settings, and content for a complete snapshot of your site. Allows migration to a new host or URL. * Version: 0.0.1 - See repairbuddy/history.txt * Author: Dustin Bolton and Ronald Huereca * Author URI: http://pluginbuddy.com/ * * Usage: * * 1. Upload this script to the server you would like to repair/troubleshoot. * 2. Upload your backup ZIP file created with BackupBuddy. * 3. Navigate to the web address of this script. Ex: http://yoursite.com/repairbuddy.php * 4. Follow the on screen instructions. * */ //EXTRACT REPAIRBUDDY // Unpack files into directory. /** * mkdir_recursive() * * Recursively creates the directories needed to generate a full directory path. * * $path string Full absolute path to generate. * @return null * */ function mkdir_recursive( $path ) { if ( empty( $path ) ) { // prevent infinite loop on bad path return; } is_dir( dirname( $path ) ) || mkdir_recursive( dirname( $path ) ); return is_dir( $path ) || mkdir( $path ); } /** * unpack_packbuddy() * * Unpacks required files encoded in importbuddy.php into stand-alone files. * * @return null */ function unpack_repairbuddy( $pb_abspath = '' ) { if ( !is_writable( $pb_abspath ) ) { echo 'Error #224834. This directory is not write enabled. Please verify write permissions to continue.'; die(); } else { $unpack_file = ''; $handle = @fopen( $pb_abspath . 'repairbuddy.php', 'r' ); if ( $handle ) { while ( ( $buffer = fgets( $handle ) ) !== false ) { if ( substr( $buffer, 0, 11 ) == '###PACKDATA' ) { $packdata_commands = explode( ',', trim( $buffer ) ); array_shift( $packdata_commands ); if ( $packdata_commands[0] == 'BEGIN' ) { // Start packed data. } elseif ( $packdata_commands[0] == 'FILE_START' ) { $unpack_file = $packdata_commands[2]; } elseif ( $packdata_commands[0] == 'FILE_END' ) { $unpack_file = ''; } elseif ( $packdata_commands[0] == 'END' ) { return; } } else { if ( $unpack_file != '' ) { if ( !is_dir( dirname( $pb_abspath . $unpack_file ) ) ) { mkdir_recursive( dirname( $pb_abspath . $unpack_file ) ); } file_put_contents( $pb_abspath . $unpack_file, trim( base64_decode( $buffer ) ) ); } } } if ( !feof( $handle ) ) { echo "Error: unexpected fgets() fail\n"; } fclose( $handle ); } } } //end unpack_repairbuddy $pb_abspath = dirname( __FILE__ ) . '/'; if ( !file_exists( $pb_abspath . 'repairbuddy' ) ) { unpack_repairbuddy( $pb_abspath ); if ( !file_exists( $pb_abspath . 'repairbuddy' ) ) { die( 'Unable to unpack RepairBuddy. Error #24349489.' ); } } require_once( 'repairbuddy/_load.php' ); class pluginbuddy_repairbuddy { var $_version = '1.0.0'; var $_bbversion = '#VERSION#'; var $_selfdestruct = '#SELFDESTRUCT#'; var $debug = false; var $_timestamp = 'M j, Y, H:i:s'; // PHP timestamp format. var $_bootstrap_wordpress = false; var $_defaults = array( 'repair_password' => '#PASSWORD#', // MD5 hash of the import password. Prevents unauthorized access. Default: #PASSWORD# 'password' => '', // MD5 hash of password given. ); var $_modules = array(); var $_options = array(); var $_database_connected = false; var $_wpconfig_loaded = false; /** * pluginbuddy_importbuddy() * * Default constructor. * */ function __construct() { // SELF DESTRUCT IF APPLICABLE! if ( $this->_selfdestruct != ' #SELFDESTRUCT#' ) { if ( $this->_selfdestruct > time() ) { echo '<html><body><h3>RepairBuddy is self-destructing . . .</h3>This copy of RepairBuddy has been set to self destruct & expire and the expiration time has passed.</body></html>'; $this->wipe_repairbuddy(); } } // Prevent access to importbuddy.php if it is still in plugin directory. if ( file_exists( dirname( __FILE__ ) . '/backupbuddy.php' ) ) { echo 'This file can ONLY be accessed on the destination server that you wish to use the script on.<br>'; echo 'Upload the importer in the root web directory on the destination server and try again.<br><br>'; echo 'If you need assistance visit <a href="http://pluginbuddy.com">http://pluginbuddy.com</a>'; die(); } // Start logging time for steps that report how long they took. $this->time_start = microtime( true ); // Set up PHP error levels. if ( ( $this->debug === true ) || ( isset( $this->_options[ 'show_php_warnings' ] ) &&$this->_options['show_php_warnings'] === true ) ) { error_reporting( E_ERROR | E_WARNING | E_PARSE | E_NOTICE ); // HIGH $this->log( 'PHP error reporting set HIGH.' ); } else { error_reporting( E_ALL ^ E_NOTICE ); // LOW } // Detect max execution time for database steps so they can pause when needed for additional PHP processes. $this->detected_max_execution_time = str_ireplace( 's', '', ini_get( 'max_execution_time' ) ); if ( is_numeric( $this->detected_max_execution_time ) === false ) { $detected_max_execution_time = 30; } // Handle authentication (if needed). $this->has_access = false; // default if ( $this->_defaults['repair_password'] == '#PASSWORD#' ) { //$this->has_access = true; die( 'Error #454545. A password is required for this script to function.' ); } else { if ( md5( $this->_options['password'] ) == $this->_defaults['repair_password'] ) { $this->has_access = true; } if ( isset( $_POST['password'] ) || isset( $_GET['v'] ) ) { if ( md5( $_POST['password'] ) == $this->_defaults['repair_password'] ) { $this->_options['password'] = $_POST['password']; $this->has_access = true; } if ( isset( $_GET['v'] ) && ( $_GET['v'] == ( 'xv' . md5( $this->_defaults['repair_password'] . 'repairbuddy' . $_GET['page'] ) ) ) ) { $this->has_access = true; } } elseif ( isset( $_POST[ 'hash' ] ) && isset( $_POST[ 'page' ] ) ) { if ( $_POST[ 'hash' ] == ( 'xv' . md5( $this->_defaults[ 'repair_password' ] . 'repairbuddy' . $_POST[ 'page' ] ) ) ) { $this->has_access = true; } } } //Initialize The database if ( $this->_wpconfig_loaded = ( defined( 'PB_WP_CONFIG' ) ) ) { $this->_database_connected = defined( 'PB_DB_LOADED' ); } pb_add_action( 'repairbuddy_init', array( &$this, 'init' ) ); } //end constructor function has_db_access() { return $this->_database_connected; } //end has_db_access function has_access() { return $this->has_access; } //end has_db_access function ajax_url( ) { $path = 'repairbuddy/ajax.php'; $plugin == __FILE__; $plugin_dir = rtrim( dirname( $plugin ), '/' ); //die( $plugin_dir ); $plugin_path = rtrim( str_replace( ABSPATH, '', $plugin_dir ), '/' ); $root_path = 'http://' . $_SERVER[ 'HTTP_HOST' ] . str_replace( $plugin_path, '', $_SERVER[ 'REQUEST_URI' ] ); $filename = basename( $_SERVER[ 'REQUEST_URI' ] ); $full_url = "http://" . $_SERVER['HTTP_HOST'] .$_SERVER['REQUEST_URI']; $full_url = rtrim( str_replace( $filename, '', $full_url ), '/' ) . '/' . $plugin_path; if ( !empty( $path ) && is_string( $path) ) { $full_url .= ltrim( $path, '/' ); } ?> <script type='text/javascript'> var pb_ajaxurl = '<?php echo $full_url; ?>'; </script> <?php } //end ajax_url function init() { pb_do_action( 'init' ); // LOAD PAGE TEMPLATE. if ( defined( "PB_DOING_AJAX" ) ) return; require_once( 'repairbuddy/_template.php' ); } //Returns a Module title, false on failure function get_module_title( $slug = '' ) { $page_slug = isset( $_GET[ 'page' ] ) ? $_GET[ 'page' ] : false; if ( !empty( $slug ) ) $page_slug = $slug; foreach ( $this->_modules as $priority => $modules ) { foreach ( $modules as $module ) { if ( $module[ 'slug' ] == $page_slug ) { return $module[ 'title' ]; } } } return false; } //end get_module_name /** * register_module() * * Registers a new module. Typically this is called from the module's init.php within the module directory. * Modules must be registered here to show on the main page. * * @param $module_slug string Module slug. Alphanumeric + underscores + dashes permitted. * @param $module_title string Informative short title. 1-3 words. * @param $module_description string Short descriptive sentence explaining the module. * @param $module_default_page string Base name of the default page to load when clicking the module. pagename.php in the pages directory within the module. * @param $bootstrap_wordpress boolean True: Load WordPress backend via wp-load.php. * @param $is_minimode string True: Display the module at the bottom of the page as a small button. False: Large button up top. * @param $is_subtle string True: Display the button as less prominent than other buttons. Currently only in use for minimode. * @return null */ function register_module( $args = array() ) { $defaults = array( 'slug' => '', 'title' => '', 'description' => '', 'page' => '', 'bootstrap_wordpress' => false, 'mini_mode' => '', 'is_subtle' => '', 'priority' => 10, ); $defaults = array_merge( $defaults, $args ); $this->_modules[ intval( $defaults[ 'priority' ] ) ][] = $defaults; } //end register_module /** * alert() * * Displays a message to the user. * * $message string Message you want to display to the user. * $error boolean OPTIONAL! true indicates this alert is an error and displays as red. Default: false * $error_code int OPTIONAL! Error code number to use in linking in the wiki for easy reference. */ function alert( $message_title, $message_details = '', $error_code = '' ) { ?> <div class="alert"> <img src="repairbuddy/images/alert.png" style="float: left;" height="55"> <div style="margin-left: 65px;"> <b><?php echo $message_title; ?></b><br><br> <?php echo $message_details; ?> <?php if ( ( $error_code != '' ) && ( $error_code != '9021' ) ) { echo '<p><a href="http://ithemes.com/codex/page/BackupBuddy:_Error_Codes#' . $error_code . '" target="_new"><i>BackupBuddy Error Code ' . $error_code . ' - Click for more details.</i></a></p>'; $this->log( 'Error #' . $error_code . ': ' . $message_title, 'error' ); } ?> </div> </div> <?php } function output_status( $message, $is_error = false ) { $class = $is_error ? 'error' : 'updated'; ?> <div class='<?php echo $class; ?>'><p><strong><?php echo $message; ?></strong></p></div> <?php } //end status /** * log() * * Logs to a text file depending on settings. * 0 = none, 1 = errors only, 2 = errors + warnings, 3 = debugging (all kinds of actions) * * $text string Text to log. * $log_type string Valid options: error, warning, all (default so may be omitted). * */ function log( $text, $log_type = 'all' ) { $write = false; if ( $this->_options['log_level'] == 0 ) { // No logging. return; } elseif ( $this->_options['log_level'] == 1 ) { // Errors only. if ( $log_type == 'error' ) { $write = true; } } elseif ( $this->_options['log_level'] == 2 ) { // Errors and warnings only. if ( ( $log_type == 'error' ) || ( $log_type == 'warning' ) ) { $write = true; } } elseif ( $this->_options['log_level'] == 3 ) { // Log all; Errors, warnings, actions, notes, etc. $write = true; } if ( is_writable( ABSPATH ) ) { $fh = fopen( ABSPATH . 'importbuddy.txt', 'a'); if ( $fh !== false ) { fwrite( $fh, '[' . date( $this->_timestamp, time() ) . '-' . $log_type . '] ' . $text . "\n" ); fclose( $fh ); } else { // Don't use alert here since it could recursively look writing to the log. echo 'Warning: Unable to write to log file. Verify write permissions to this directory.' ; } } } /** * tip() * * Displays a message to the user when they hover over the question mark. Gracefully falls back to normal tooltip. * HTML is supposed within tooltips. * * $message string Actual message to show to user. * $title string Title of message to show to user. This is displayed at top of tip in bigger letters. Default is blank. (optional) * $echo_tip boolean Whether to echo the tip (default; true), or return the tip (false). (optional) */ function tip( $message, $title = '', $echo_tip = true ) { $tip = ' <a class="pluginbuddy_tip" title="' . $title . ' - ' . $message . '"><img src="repairbuddy/images/pluginbuddy_tip.png"></a>'; if ( $echo_tip === true ) { echo $tip; } else { return $tip; } } function page_link( $module_slug, $page, $force_wordpress_bootstrap = 'false' ) { if ( $this->has_access != true ) { return '?'; } if ( $this->_modules[$module_slug]['bootsrap_wordpress'] == 'true' ) { $bootstrap = 'true'; } else { if ( $force_wordpress_bootstrap == true ) { $bootstrap = 'true'; } else { $bootstrap = 'false'; } } return '?module=' . $module_slug . '&page=' . $page . '&v=xv' . md5( $this->_defaults['repair_password'] . 'repairbuddy' . $page ) . '&bootstrap=' . $bootstrap; } /** * status_box() * * Displays a textarea for placing status text into. * * @param $default_text string First line of text to display. * @return string HTML for textarea. */ function status_box( $default_text = '' ) { return '<textarea readonly="readonly" style="width: 100%; height: 120px;" id="importbuddy_status">' . $default_text . '</textarea>'; } /** * status() * * Write a status line into an existing textarea created with the status_box() function. * * @param $type string message, details, error, or warning. Currently not in use. * @param $message string Message to append to the status box. * @return null */ function status( $type, $message ) { $message = htmlentities( addslashes( $message ) ); $status = date( $this->_timestamp, time() ) . ': ' . $message; echo '<script type="text/javascript">jQuery( "#importbuddy_status" ).append( "\n' . $status . '"); textareaelem = document.getElementById( "importbuddy_status" ); textareaelem.scrollTop = textareaelem.scrollHeight; </script>'; flush(); if ( $type == 'error' ) { $this->log( $message, 'error' ); } elseif ( $type == 'warning' ) { $this->log( $message, 'warning' ); } else { $this->log( '[' . $type . ']' . $message, 'all' ); } } function format_size( $size ) { $sizes = array( ' Bytes', ' KB', ' MB', ' GB', ' TB', ' PB', ' EB', ' ZB', ' YB'); if ( $size == 0 ) { return( 'empty' ); } else { return ( round( $size / pow( 1024, ( $i = floor( log( $size, 1024 ) ) ) ), $i > 1 ? 2 : 0) . $sizes[$i] ); } } function wipe_repairbuddy() { $this->remove_file( ABSPATH . 'repairbuddy/', 'RepairBuddy Directory', true ); $this->remove_file( ABSPATH . 'repairbuddy.txt', 'RepairBuddy Log File', true ); $this->remove_file( ABSPATH . 'repairbuddy.php', 'RepairBuddy.php main file.', true ); } function remove_file( $file, $description, $error_on_missing = false ) { $this->status( 'message', 'Deleting `' . $description . '`...' ); @chmod( $file, 0755 ); // High permissions to delete. if ( is_dir( $file ) ) { // directory. $this->remove_dir( $file ); if ( file_exists( $file ) ) { $this->status( 'error', 'Unable to delete directory: `' . $description . '`. You should manually delete it.' ); } else { $this->status( 'message', 'Deleted.' ); } } else { // file if ( file_exists( $file ) ) { if ( @unlink( $file ) != 1 ) { $this->status( 'error', 'Unable to delete file: `' . $description . '`. You should manually delete it.' ); } else { $this->status( 'message', 'Deleted.' ); } } } } /** * remove_dir() * * ? * * @return ? */ function remove_dir( $dir ) { if ( !file_exists( $dir ) ) { return true; } if ( !is_dir( $dir ) || is_link( $dir ) ) { return unlink($dir); } foreach ( scandir( $dir ) as $item ) { if ( $item == '.' || $item == '..' ) { continue; } if ( !$this->remove_dir( $dir . "/" . $item ) ) { chmod( $dir . "/" . $item, 0777 ); if ( !$this->remove_dir( $dir . "/" . $item ) ) { return false; } } } return rmdir($dir); } } // end class. define( 'pluginbuddy_importbuddy', true ); // Tell Server Info page to not load some sections. global $pluginbuddy_repairbuddy; $pluginbuddy_repairbuddy = new pluginbuddy_repairbuddy(); pb_do_action( 'repairbuddy_init' ); function pb_register_module( $args = array() ) { global $pluginbuddy_repairbuddy; $pluginbuddy_repairbuddy->register_module( $args ); } //end pb_register_module function pb_has_db_access() { global $pluginbuddy_repairbuddy; return $pluginbuddy_repairbuddy->has_db_access(); } //end pb_has_database_access function pb_has_access() { global $pluginbuddy_repairbuddy; return $pluginbuddy_repairbuddy->has_access(); } ?> <?php /* ###PACKDATA,BEGIN ###PACKDATA,FILE_START,/repairbuddy/_home.php,repairbuddy/_home.php PHN0eWxlPiAKCS5ncmF5YnV0dG9uIHsKCQliYWNrZ3JvdW5kOiB1cmwocmVwYWlyYnVkZHkvaW1hZ2VzL2J1dHRvbnMvZ3JheXMyLnBuZykgdG9wIHJlcGVhdC14OwoJCS8qIG1pbi13aWR0aDogMTU4cHg7ICovCgkJd2lkdGg6IDIyMHB4OwoJCWhlaWdodDogMTM4cHg7CgkJZGlzcGxheTogYmxvY2s7CgkJLyogZmxvYXQ6IGxlZnQ7ICovCgkJLW1vei1ib3JkZXItcmFkaXVzOiA2cHg7CgkJYm9yZGVyLXJhZGl1czogNnB4OwoJCWJvcmRlcjogMXB4IHNvbGlkICNjOWM5Yzk7Cgl9CgkuZ3JheWJ1dHRvbjpob3ZlciB7CgkJYmFja2dyb3VuZDogdXJsKHJlcGFpcmJ1ZGR5L2ltYWdlcy9idXR0b25zL2dyYXlzMi5wbmcpIGJvdHRvbSByZXBlYXQteDsKCQlib3JkZXI6IDFweCBzb2xpZCAjYWFhYWFhOwoJfQoJLmdyYXlidXR0b246YWN0aXZlIHsKCQliYWNrZ3JvdW5kOiB1cmwocmVwYWlyYnVkZHkvaW1hZ2VzL2J1dH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WxlIC4gJy9pbml0LnBocCcgKSApIHsKCQlyZXF1aXJlX29uY2UoICRmaWxlIC4gJy9pbml0LnBocCcgKTsKCX0KCS8vSWYgaW5pdC5waHAgZG9lc24ndCBleGlzdCwgZG8gbm90aGluZyEgbXV3YWhhaGFoYWhhCn0KPz4= ###PACKDATA,FILE_END,/repairbuddy/_load.php,repairbuddy/_load.php ###PACKDATA,FILE_START,/repairbuddy/_modules.php,repairbuddy/_modules.php PD9waHAKY2xhc3MgcmVwYWlyYnVkZHlfbW9kdWxlIHsKCWZ1bmN0aW9uIF9fY29uc3RydWN0KCkgewoJCgl9CglmdW5jdGlvbiBnZXRfcGx1Z2luX2RpciggJHBhdGggPSAnJywgJHBsdWdpbiA9ICcnICkgewoJCSRwbHVnaW5fZGlyID0gcnRyaW0oIGRpcm5hbWUoICRwbHVnaW4gKSwgJy8nICk7CgkJaWYgKCAhZW1wdHkoICRwYXRoICkgJiYgaXNfc3RyaW5nKCAkcGF0aCkgKQoJCQkkcGx1Z2luX2RpciAuPSAnLycgLiBsdHJpbSggJHBhdGgsICcvJyApOwoJCXJldHVybiAkcGx1Z2luX2RpcjsJCQoJfQoJLy9SZXR1cm5zIHRoZSBwbHVnaW4gdXJsCglmdW5jdGlvbiBnZXRfcGx1Z2luX3VybCggJHBhdGggPSAnJywgJHBsdWdpbiA9ICcnICkgewoJCSRwbHVnaW5fZGlyID0gcnRyaW0oIGRpcm5hbWUoICRwbHVnaW4gKSwgJy8nICk7CgkJLy9kaWUoICRwbHVnaW5fZGlyICk7CgkJJHBsdWdpbl9wYXRoID0gcnRyaW0oIHN0cl9yZXBsYWNlKCBBQlNQQVRILCAnJywgJHBsdWdpbl9kaXIgKSwgJy8nICk7CgkJJHJvb3RfcGF0aCA9ICdodHRwOi8vJyAuICRfU0VSVkVSWyAnSFRUUF9IT1NUJyBdIC4gc3RyX3JlcGxhY2UoICRwbHVnaW5fcGF0aCwgJycsICRfU0VSVkVSWyAnUkVRVUVTVF9VUkknIF0gK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lwZT0ndGV4dC9qYXZhc2NyaXB0JyBzcmM9Jzw/cGhwIGVjaG8gJHNyYzsgPz4nPjwvc2NyaXB0PgoJCTw/cGhwCgkJaWYgKCAhZW1wdHkoICRsb2NhbGl6ZWRfdmFycyApICkgewoJCQkkdGhpcy0+anNfbG9jYWxpemUoICRqc19vYmplY3QsICRsb2NhbGl6ZWRfdmFycyApOwoJCX0gCgl9IC8vZW5kIGxvYWRfamF2YXNjcmlwdAoJZnVuY3Rpb24gbG9hZF9jc3MoICRzcmMgKSB7CgkJPz4KCQk8bGluayByZWw9InN0eWxlc2hlZXQiIHR5cGU9InRleHQvY3NzIiBocmVmPSI8P3BocCBlY2hvICRzcmM7ID8+IiAvPgoJCTw/cGhwCgl9IC8vZW5kIGxvYWRfY3NzCglmdW5jdGlvbiBqc19sb2NhbGl6ZSgkbmFtZSwgJHZhcnMpIHsgCgkJJGRhdGEgPSAidmFyICRuYW1lID0geyI7IAoJCSRhcnIgPSBhcnJheSgpOyAKCQlmb3JlYWNoICggJHZhcnMgYXMgJGtleSA9PiAkdmFsdWUgKSB7IAoJCQkkYXJyW2NvdW50KCRhcnIpXSA9ICRrZXkgLiAiIDogJyIgLiAkdmFsdWUgLiAiJyI7IAoJCX0gCgkJJGRhdGEgLj0gaW1wbG9kZSgiLCIsJGFycik7IAoJCSRkYXRhIC49ICJ9OyI7IAoJCWVjaG8gIjxzY3JpcHQgdHlwZT0ndGV4dC9qYXZhc2NyaXB0Jz5cbiI7IAoJCWVjaG8gIi8qIDwhW0NEQVRBWyAqL1xuIjsgCgkJZWNobyAkZGF0YTsgCgkJZWNobyAiXG4vKiBdXT4gKi9cbiI7IAoJCWVjaG8gIjwvc2NyaXB0PlxuIjsKCX0gLy9lbmQganNfbG9jYWxpemUKfQ== ###PACKDATA,FILE_END,/repairbuddy/_modules.php,repairbuddy/_modules.php ###PACKDATA,FILE_START,/repairbuddy/_template.php,repairbuddy/_template.php PGh0bWw+Cgk8aGVhZD4KCQk8dGl0bGU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vICc8YSBocmVmPSJodHRwOi8vcGx1Z2luYnVkZHkuY29tIj5QbHVnaW5CdWRkeS5jb208L2E+PGJyPic7CgkJCWVjaG8gJzwvZGl2Pic7CgkJCWlmICggJHRoaXMtPl92ZXJzaW9uID09ICcjVkVSU0lPTiMnKSB7CgkJCQkvL2VjaG8gJzxpPlZlcnNpb24gVW5rbm93bjwvaT4nOwoJCQl9IGVsc2UgewoJCQkJZWNobyAnPGJyPjxpPlJlcGFpckJ1ZGR5IHYnIC4gJHRoaXMtPl92ZXJzaW9uIC4gJyBwcm92aWRlZCB3aXRoIEJhY2t1cEJ1ZGR5IHYnIC4gJHRoaXMtPl9iYnZlcnNpb24gLiAnPC9pPic7CgkJCX0KCQkJPz4KCQk8L2Rpdj4KCQk8P3BocCBwYl9kb19hY3Rpb24oICdmb290ZXInICk7ID8+CjwvYm9keT4KPC9odG1sPg== ###PACKDATA,FILE_END,/repairbuddy/_template.php,repairbuddy/_template.php ###PACKDATA,FILE_START,/repairbuddy/ajax.php,repairbuddy/ajax.php PD9waHAKLyoKCTEuICBUbyBsb2FkIFdvcmRQcmVzcywgcGFzcyBhIEdFVCBvciBQT1NUIHZhcmlhYmxlIG9mIGxvYWRfd3AKCTIuICBZb3UgbXVzdCBwYXNzIHRoZSBhIFBPU1QgdmFpYWJsZSBvZiBwYXNzd29yZCBvciBhIEdFVCB2YXJpYWJsZSBvZiAidiIgd2l0aCB0aGUgcGFzc2VkIHRva2VuCgkzLiAgWW91IG11c3QgaGF2ZSBhbHJlYWR5IHJlZ2lzdGVyZWQgeW91ciBhY3Rpb24gYW5kIHBhc3MgYSBHRVQgb3IgUE9TVCB2YXJpYWJsZSBvZiBhY3Rpb24KKi8KZGVmaW5lKCdQQl9ET0lOR19BSkFYJywgdHJ1ZSk7CgppZiAoICEgaXNzZXQoICRfUkVRVUVTVFsnYWN0aW9uJ10gKSApCglkaWUoJy0xJyk7CiRwYl9wYXRoID0gZGlybmFtZSggZGlybmFtZSggX19GSUxFX18g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7CiAgICBib3JkZXItcmFkaXVzOiAzcHggM3B4IDNweCAzcHg7CiAgICBib3JkZXItc3R5bGU6IHNvbGlkOwogICAgYm9yZGVyLXdpZHRoOiAxcHg7CiAgICBtYXJnaW46IDVweCAxNXB4IDJweDsKICAgIHBhZGRpbmc6IDAgMC42ZW07Cn0KZGl2LnVwZGF0ZWQgcCwgZGl2LmVycm9yIHAgewogICAgbWFyZ2luOiAwLjVlbSAwOwogICAgcGFkZGluZzogMnB4Owp9CmRpdi51cGRhdGVkIHsKICAgIGJhY2tncm91bmQtY29sb3I6ICNGRkZGRTA7CiAgICBib3JkZXItY29sb3I6ICNFNkRCNTU7Cn0KLmJyZWFkY3J1bWIgewoJYmFja2dyb3VuZC1jb2xvcjogI2U5ZmZlMDsKCWJvcmRlci1jb2xvcjogI2EwZTY1NTsKCWJvcmRlci1yYWRpdXM6IDNweCAzcHggM3B4IDNweDsKCWJvcmRlci1zdHlsZTogc29saWQ7Cglib3JkZXItd2lkdGg6IDFweDsKCW1hcmdpbjogNXB4IDE1cHggMnB4OwoJcGFkZGluZzogMCAwLjZlbTsKCXRleHQtYWxpZ246IGxlZnQ7Cn0KLmJyZWFkY3J1bWIgYSB7Cgl0ZXh0LWRlY29yYXRpb246IHVuZGVybGluZTsKfQ== ###PACKDATA,FILE_END,/repairbuddy/css/style.css,repairbuddy/css/style.css ###PACKDATA,FILE_START,/repairbuddy/images/alert.png,repairbuddy/images/alert.png iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAABoWSURBVHic7Z15kB1Hfcc/v5m392pXq5VWq/ta3fd9WbdWx2pXtmzJ2BhhGwuDLZ+DcYwNBcSASUIUAkWRP6iiKqlKUpWqkEqqkjJFSIBA2fERqIAjg/ElGx+yZN3H7r7X+WOON2/ezLyZee/t20NfVWv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fxPrhUf8uRpjftQsflTDvJs5KmHfdZp44pdcG+oaj9Aa5h6KPoLWKuYWjjGgFGOK4RYITjGgFGOK4RYITjGgFGOK4RYITjGgFGOP4fYzLJoyapk+0AAAAASUVORK5CYII= ###PACKDATA,FILE_END,/repairbuddy/images/alert.png,repairbuddy/images/alert.png ###PACKDATA,FILE_START,/repairbuddy/images/button-grad.png,repairbuddy/images/button-grad.png iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAACF0RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgNC4w6iYndQAAABZ0RVh0Q3JlYXRpb24gVGltZQAxMS8xNy8wONpsdXEAAABGSURBVHicY9Ts2fWfAQ2wMPzHEGNg+f//H6Ygwz9sgthU/sdmJlbtlFpEgpOwWoTszv+Dz0lUtOg/ukoSfATT+5+gSkxBAOqCS3dTeDKPAAAAAElFTkSuQmCC ###PACKDATA,FILE_END,/repairbuddy/images/button-grad.png,repairbuddy/images/button-grad.png ###PACKDATA,FILE_START,/repairbuddy/images/gray-grad.png,repairbuddy/images/gray-grad.png iVBORw0KGgoAAAANSUhEUgAAAAUAAAAfCAIAAACgQJBPAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAsSAAALEgHS3X78AAAAIXRFWHRTb2Z0d2FyZQBNYWNyb21lZGlhIEZpcmV3b3JrcyA0LjDqJid1AAAAFnRFWHRDcmVhdGlvbiBUaW1lADEwLzI0LzA4KQ6r+wAAAClJREFUeJxjfPv2LQMSYPn//z8yn4kBFaDzqa0eXZ5U9QMtT6l5tFYPADsXLPcJwrwLAAAAAElFTkSuQmCC ###PACKDATA,FILE_END,/repairbuddy/images/gray-grad.png,repairbuddy/images/gray-grad.png ###PACKDATA,FILE_START,/repairbuddy/images/pluginbuddy.png,repairbuddy/images/pluginbuddy.png iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/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m4AAdS0OTSwmnIwrQqZPpy19eXgJSvm4usA8cVI2cf2qjT5Y6bUyn8pFKJwPAHpBonJrB8TgIeplPVSMgu9/97fsH+j8FsqNrL8aBZt/eB3aPC/w7AI6b1V5KLAy/AAAAAElFTkSuQmCC ###PACKDATA,FILE_END,/repairbuddy/images/pluginbuddy.png,repairbuddy/images/pluginbuddy.png ###PACKDATA,FILE_START,/repairbuddy/images/pluginbuddy_tip.png,repairbuddy/images/pluginbuddy_tip.png iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAB/ElEQVR42n2RPYgaQRiG585rclGLhKQ2gYOUipjiyBGCTQhpNEVsrhAigsWhkEKwSEQQjCBroSBiYQpFEBv/Cn+XCLsElOMCBvUaFYWARoXgKSc3eVlQ9jY/LzwwzHzPzDczJJPJCOTzeVIqlQRqtdpj8BK8Bk/AfrFYJOl0mogjlV8A5ivS6XS+93q9ThMpl8t1yG/+J1tYluXm8/mMSrJcLn/xPN+E/B7KvlR+XqlU+M1mc03/kRsEG5xHIpF30GSCHIvFSCKRCEyn05/bwsFgQLPZLI3H4xQ3EHdwlUqlWJVK9WArP0Q7HBUll8sJTCYTGo1G6Xg83q3V6/ULi8XyFuoBCYVCJ9Vq9ZtYXq1WdDgcChsEg0G6WCx2a61W69JqtX6ArCB+v/+4UChAvhWhXWxM+/0+FYfjuEuTyeSFfJ94PB5FIBBo3CCiGqFVdESlSSaTLZ1Od7aVidPp/Njtdn+Ii/Bt1OVy3RJHo9HMbDbnIerBXWK32wlQu93uBu52JS7GD+zG6/X62ufzcTjVD/EIyLYywQue4qRGu93edSD6upnX6+X1ev1nSM+AnEiyZzQaj/EYjM1mYxmGaYbD4XOHw/HFYDBk1Wr1J9ScgHtgD0gjTB7K5XKVVqs1ajQas1KpfIW5p+ARUEjEPwOZIDJwBxyCg79JvwFn8/sITKnYXQAAAABJRU5ErkJggg== ###PACKDATA,FILE_END,/repairbuddy/images/pluginbuddy_tip.png,repairbuddy/images/pluginbuddy_tip.png ###PACKDATA,FILE_START,/repairbuddy/images/white-grad.png,repairbuddy/images/white-grad.png iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAACF0RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgNC4w6iYndQAAABZ0RVh0Q3JlYXRpb24gVGltZQAxMS8xNy8wONpsdXEAAAAlSURBVHicY/z///9/BjTAhC7AwMDAwIJFIXbBoaJ9qLhz+IUSAIMMOibeSzRBAAAAAElFTkSuQmCC ###PACKDATA,FILE_END,/repairbuddy/images/white-grad.png,repairbuddy/images/white-grad.png ###PACKDATA,FILE_START,/repairbuddy/images/working.gif,repairbuddy/images/working.gif R0lGODlhKwALAPEAAPn5+SiKt5LC2CiKtyH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAKwALAAACMoSOCMuW2diD88UKG95W88uF4DaGWFmhZid93pq+pwxnLUnXh8ou+sSz+T64oCAyTBUAACH5BAkKAAAALAAAAAArAAsAAAI9xI4IyyAPYWOxmoTHrHzzmGHe94xkmJifyqFKQ0pwLLgHa82xrekkDrIBZRQab1jyfY7KTtPimixiUsevAAAh+QQJCgAAACwAAAAAKwALAAACPYSOCMswD2FjqZpqW9xv4g8KE7d54XmMpNSgqLoOpgvC60xjNonnyc7p+VKamKw1zDCMR8rp8pksYlKorgAAIfkECQoAAAAsAAAAACsACwAAAkCEjgjLltnYmJS6Bxt+sfq5ZUyoNJ9HHlEqdCfFrqn7DrE2m7Wdj/2y45FkQ13t5itKdshFExC8YCLOEBX6AhQAADs= ###PACKDATA,FILE_END,/repairbuddy/images/working.gif,repairbuddy/images/working.gif ###PACKDATA,FILE_START,/repairbuddy/js/jquery.js,repairbuddy/js/jquery.js LyohCiAqIGpRdWVyeSBKYXZhU2NyaXB0IExpYnJhcnkgd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J5KTs= ###PACKDATA,FILE_END,/repairbuddy/js/ui.core.js,repairbuddy/js/ui.core.js ###PACKDATA,FILE_START,/repairbuddy/js/ui.tabs.js,repairbuddy/js/ui.tabs.js LyoKICogalF1ZXJ5IFVJIFRhYnMgMS44LjEyCiAqCiAqIENvcHlyaWdodCAyMDExLCBBVVRIT1JTLnR4dCAoaHR0cDovL2pxdWVyeXVpLmNvbS9hYm91dCkKICogRHVhbCBsaWNlbnNlZCB1bmRlciB0aGUgTUlUIG9yIEdQTCBWZXJzaW9uIDIgbGljZW5zZXMuCiAqIGh0dHA6Ly9qcXVlcnkub3JnL2xpY2Vuc2UKICoKICogaHR0cDovL2RvY3MuanF1ZXJ5LmNvbS9VSS9UYWJzCiAqCiAqIERlcGVuZHM6CiAqCWpxdWVyeS51aS5jb3JlLmpzCiAqCWpxdWVyeS51aS53aWRnZXQuanMKICovCihmdW5jdGlvbihkLHApe2Z1bmN0aW9uIHUoKXtyZXR1cm4rK3Z9ZnVuY3Rpb24gdygpe3JldHVybisreH12YXIgdj0wLHg9MDtkLndpZGdldCgidWkudGFicyIse29wdGlvbnM6e2FkZDpudWxsLGFqYXhPcHRpb25zOm51bGwsY2FjaGU6ZmFsc2UsY29va2llOm51bGwsY29sbGFwc2libGU6ZmFsc2UsZGlzYWJsZTpudWxsLGRpc2FibGVkOltdLGVuYWJsZTpudWxsLGV2ZW50OiJjbGljayIsZng6bnVsbCxpZFByZWZpeDoidWktdGFicy0iLGxvYWQ6bnVsbCxwYW5lbFRlbXBsYXRlOiI8ZGl2PjwvZGl2PiIscmVtb3ZlOm51bGwsc2VsZWN0Om51bGwsc2hvdzpudWxsLHNwaW5uZXI6IjxlbT5Mb2FkaW5nJiM4MjMwOzwvZW0+Iix0YWJUZW1wbGF0ZToiPGxpPjxhIGhyZWY9JyN7aHJlZn0nPjxzcGFuPiN7bGFiZWx9PC9zcGFuPjwvYT48L2xpPiJ9LF9jcmVhdGU6ZnVuY3Rpb24oKXt0aGlzLl90YWJ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pb24oail7Y2xlYXJUaW1lb3V0KGEucm90YXRpb24pO2Eucm90YXRpb249c2V0VGltZW91dChmdW5jdGlvbigpe3ZhciBrPWMuc2VsZWN0ZWQ7YS5zZWxlY3QoKytrPGEuYW5jaG9ycy5sZW5ndGg/azowKX0sYik7aiYmai5zdG9wUHJvcGFnYXRpb24oKX0pO2U9YS5fdW5yb3RhdGV8fChhLl91bnJvdGF0ZT0hZT9mdW5jdGlvbihqKXtqLmNsaWVudFgmJgphLnJvdGF0ZShudWxsKX06ZnVuY3Rpb24oKXt0PWMuc2VsZWN0ZWQ7aCgpfSk7aWYoYil7dGhpcy5lbGVtZW50LmJpbmQoInRhYnNzaG93IixoKTt0aGlzLmFuY2hvcnMuYmluZChjLmV2ZW50KyIudGFicyIsZSk7aCgpfWVsc2V7Y2xlYXJUaW1lb3V0KGEucm90YXRpb24pO3RoaXMuZWxlbWVudC51bmJpbmQoInRhYnNzaG93IixoKTt0aGlzLmFuY2hvcnMudW5iaW5kKGMuZXZlbnQrIi50YWJzIixlKTtkZWxldGUgdGhpcy5fcm90YXRlO2RlbGV0ZSB0aGlzLl91bnJvdGF0ZX1yZXR1cm4gdGhpc319KX0pKGpRdWVyeSk7 ###PACKDATA,FILE_END,/repairbuddy/js/ui.tabs.js,repairbuddy/js/ui.tabs.js ###PACKDATA,FILE_START,/repairbuddy/js/ui.widget.js,repairbuddy/js/ui.widget.js LyohCiAqIGpRdWVyeSBVSSBXaWRnZXQgMS44LjEyCiAqCiAqIENvcHlyaWdodCAyMDExLCBBVVRIT1JTLnR4dCAoaHR0cDovL2pxdWVyeXVpLmNvbS9hYm91dCkKICogRHVhbCBsaWNlbnNlZCB1bmRlciB0aGUgTUlUIG9yIEdQTCBWZXJzaW9uIDIgbGljZW5zZXMuCiAqIGh0dHA6Ly9qcXVlcnkub3JnL2xpY2Vuc2UKICoKICogaHR0cDovL2RvY3MuanF1ZXJ5LmNvbS9VSS9XaWRnZXQKICovCihmdW5jdGlvbihiLGope2lmKG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HRpb25zW2FdPWM7aWYoYT09PSJkaXNhYmxlZCIpdGhpcy53aWRnZXQoKVtjPyJhZGRDbGFzcyI6InJlbW92ZUNsYXNzIl0odGhpcy53aWRnZXRCYXNlQ2xhc3MrIi1kaXNhYmxlZCB1aS1zdGF0ZS1kaXNhYmxlZCIpLmF0dHIoImFyaWEtZGlzYWJsZWQiLGMpO3JldHVybiB0aGlzfSwKZW5hYmxlOmZ1bmN0aW9uKCl7cmV0dXJuIHRoaXMuX3NldE9wdGlvbigiZGlzYWJsZWQiLGZhbHNlKX0sZGlzYWJsZTpmdW5jdGlvbigpe3JldHVybiB0aGlzLl9zZXRPcHRpb24oImRpc2FibGVkIix0cnVlKX0sX3RyaWdnZXI6ZnVuY3Rpb24oYSxjLGQpe3ZhciBlPXRoaXMub3B0aW9uc1thXTtjPWIuRXZlbnQoYyk7Yy50eXBlPShhPT09dGhpcy53aWRnZXRFdmVudFByZWZpeD9hOnRoaXMud2lkZ2V0RXZlbnRQcmVmaXgrYSkudG9Mb3dlckNhc2UoKTtkPWR8fHt9O2lmKGMub3JpZ2luYWxFdmVudCl7YT1iLmV2ZW50LnByb3BzLmxlbmd0aDtmb3IodmFyIGY7YTspe2Y9Yi5ldmVudC5wcm9wc1stLWFdO2NbZl09Yy5vcmlnaW5hbEV2ZW50W2ZdfX10aGlzLmVsZW1lbnQudHJpZ2dlcihjLGQpO3JldHVybiEoYi5pc0Z1bmN0aW9uKGUpJiZlLmNhbGwodGhpcy5lbGVtZW50WzBdLGMsZCk9PT1mYWxzZXx8Yy5pc0RlZmF1bHRQcmV2ZW50ZWQoKSl9fX0pKGpRdWVyeSk7 ###PACKDATA,FILE_END,/repairbuddy/js/ui.widget.js,repairbuddy/js/ui.widget.js ###PACKDATA,FILE_START,/repairbuddy/images/buttons/allcontent-icon.png,repairbuddy/images/buttons/allcontent-icon.png iVBORw0KGgoAAAANSUhEUgAAADwAAAA7CAYAAAAn+enKAAAACXBIWXMAAAsTAAALEwEAmpwYAAAP0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AElFTkSuQmCC ###PACKDATA,FILE_END,/repairbuddy/images/buttons/allcontent-icon.png,repairbuddy/images/buttons/allcontent-icon.png ###PACKDATA,FILE_START,/repairbuddy/images/buttons/dbonly-icon.png,repairbuddy/images/buttons/dbonly-icon.png iVBORw0KGgoAAAANSUhEUgAAADwAAAA7CAYAAAAn+enKAAAACXBIWXMAAAsTAAALEwEAmpwYAAAJnklEQVRo3tWbS2hcyRWGq1vderYlvxTbyMSRCSGxGAgTmEU2Wc12wmxnYQKBmCxkbxPIxll4MRszGz+yGTBkIW8C2WSXRQiYDATHhDgmMI6IbEu2bPklW7aeOV9Zvzhdru6+V7YS9YXi9r1d93b9dV7/OVVd2djYCP44f/58o6+v7+fWPqrX6z/o6ekZ536lUgm7/QDL+vr68urq6lfLy8t/tTY1OTl5zfepeMAXLlz40Z49e74cGhoaHxgYCAY61Gq1UK1Wdz1gcNDW1tbCyspKePXqVXjx4kVYXFz8ws6/OnPmzGIT4MuXL3+2b9++346MjITh4eEAYJNwMAlHsN0AmMMkHEzCEfDLly/D06dPw5MnT/5m7YenT59eqtHp0qVLYwcOHPjy4MGDwUAHk3BXSdcfAJaUl5aWhOP7NiGf29eTEbCp8S8MaO/+/fsDEka6KdhusWEPure3N2oo920CfmZa/OsI2CT6CWqMZKXKqRqnzm03HxIUDfDmvFDv3sHBwU97jh07NmCq/PnevXtDo9GIKtBtapw7vMCciv/DNLc2ivp6B9VtEu0EHFxgtDZS0wVSpe3EsalS0YngPbnmLG+KBBgYZ6414QgBjeMz3/f398fBy+y4pmGKnHNayT1hi6BzRv8u0rW4F9uzZ8/CwsJCPL9+/TqCo+n972Iyep6zBIaDwiSJMvgjGg5YWPR7Nen6dgcACGLd3NxcePjwYQSLBHMHA9upUIRm0BgDBxPBBGgS6APGbY8AFZ2ZmQn379+PgP8XwMoeMC00bHp6OjotQNe2I9Hbt2+HO3fuxJcwa9jZbj3wC/Ijjx8/fgNYPLST/TJjt27dCs+fP49AsZtuiMlRsm+8dKh5oB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/ttn/g/34mLbqpVvp04plrkjmiYRUVvVqTwebPOfm5LQiHv696TJqjnXpWjwcgZ47d+43TcTj5MmTfzfQE9bxgg3us3QVgYc1a3yOyxab+a+XpufOOvuqpb9utT6cAk5rWrm14rRtgr1r/mXy7Nmzv9vy3jk1mpqa+sjU6BOT+Khm/ebNm3GflvZwKOfVfyQ6AZYD8ZlSK6eVs2GfIPjEwH/2yYgB/rNJ9vcm2aa9zf8FKQw2ML0EZDQAAAAASUVORK5CYII= ###PACKDATA,FILE_END,/repairbuddy/images/buttons/dbonly-icon.png,repairbuddy/images/buttons/dbonly-icon.png ###PACKDATA,FILE_START,/repairbuddy/images/buttons/grays2.png,repairbuddy/images/buttons/grays2.png iVBORw0KGgoAAAANSUhEUgAAAA8AAAEUCAYAAAD0sGymAAAJkElEQVR42o2a2W4WWQyE6/3vQLzJzDAjNokLBFkgC4SEEAKEEBKWZ+hJtfJF/m2f/nNReKuyz+n+0Yhp6+TkZDJOT09nhBg7rOnPnz/Tz58/J1t8rEH869evyJmh379/T+Dq6mrKMRbfTairIRGPckF83cndLi8vJ/s+ji0x6GKLs8iIvpsXoaGmI8ccTqWhCBIJcVvjqnIyAUIml+uIu4ZJkIiHOeVuXcxzwGegfJwfP35MtoZJ+IAjw0PjY5MgaQxzkS8KkDrBFVPhRDHd7PvYCCHGXLyCSIDQpJ4i+ky+uLjwdFuDGLjRSp4nLicub45uZDHN4wCOrVDInckNG6spDo9PHMW+U2rQ5oovfnbfv383LAI8dddLzbFSIvttUxqKYpqGELTN1Rx1JCpNdX5+Pj8AW8PHcXxxQ3BMHpC32NMoFCI58uYSCwcSnVPDFkrFcgXQDdG3b99mgS1w0ZYj2hJHKxzgOKDk4PlqUZwJbVOLiAWZ4xObxPENhDHW2dnZZFgIaBTR8UQhE6tfYxF0ImxErKk5nu9WyPjc274cfP36dU7iY/Fp5tiWuiCtCM7PEZVGFp/f1JUmgiiEXIYoHIP7ZNIwVv6b8uXLF8M+dujLjqcV0biRJzsukymW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+7DA1N8ICeHBEAVDsyACemondNN8THj6fU3twpS7Pex5uN0QhfoyVyFnYWiC+7DfCjMypewYGDbs1ghhraYvBTfCxM9yE9Yi9SsIHZbohBxTWLGMA4rqkQIxtaqAsKcSJo2agTG4njTgaCLERpcZvuy4kgPUbDhV8j0aAH2OFrghiE+J2ugiaY62NWVLISwmLawJYESRi16BwhMPUuwiJlQpYsJhjw8FwoltSwBYokWiQxdheDMbNagM1heK3V6vi9Y1iXWwrpC/5YHFdQIHoIxUhze1naGG7IaM0ZvJQnE8WT6PcDQuW6oqrAbb42M3B9/d5ckjktYhFa4guTiaw7TBqkibXhYRWGMUEI1Cn4d2XFLa3tsiXrQ85sXWDly9f4pecFxPsE1un58+fTy9evJhhfykmhxXbCmw0eMuBTQaDujcciOHrr38eTsbD//6b/n74r0EMiEvuf39jaF4zyLBEAAAAAElFTkSuQmCC ###PACKDATA,FILE_END,/repairbuddy/images/buttons/grays2.png,repairbuddy/images/buttons/grays2.png ###PACKDATA,FILE_START,/repairbuddy/images/buttons/restoremigrate-icon.png,repairbuddy/images/buttons/restoremigrate-icon.png iVBORw0KGgoAAAANSUhEUgAAADwAAAA7CAYAAAAn+enKAAAACXBIWXMAAAsTAAALEwEAmpwYAAAPx0lEQVRo3s1bCYwUVRr+6pqZnos5OQZEQEEUELx1V1013mtMxKgr68Ybj0RXY4y7Hru4RF3RaIgb7w0rauJgVLwXFMV1I4J4I6jACiI4OMw9PdNXVe33v37VU93TwyFzWMk/011dx/vef33//6oM3/cR3h588MHSwsLCayhHOo5zmGVZ42W/YRj4pW+CxfO8RCqVWpVIJD6m1MdisRUU3HHHHeoYO3zCww8//JuampoFJSUl4yORCAgatm3DNM1fPGABK+K6bkEymTyWII+NRqN/7OzsnM//t/OQTqW4QMOPPfbYrMrKymeHDRuG8vJyCGBqGNSwAjsQgBsbGyH3Kygo6BfAslHDoIYhWu3q6kJbWxtaW1s/o/zq+uuv71YafvTRR0dXV1cvoHZB0KCGB0W7Ari4uFjdr782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+qlmZb5dnQMLUcqqAlZnhgqGbuUikkXZykQjxdBir8jK34THHiqN/TxUhMaV6qOpr66FGYynWtKaTK0vWQ56bDjXh3qAIWFL/2M7V4sS4lc+lq9nc/Y95BQRJXBQn3jajFuJnnYsbvZyGS0wnNrC1xBhooTIeeFTz6MJiP+zc5tvK1olBJauVpI+WSi4QGmmBbtmzGdExmA29/WT2sqMi7iKYZXaN6BWDRokVf8Gn4afLMtDxCHKzNDniEFr/iysM2PjDTIA+v8VlseazJlf3xeO8oLc9/EVBk5EhUHHAARh56KOpmzEBFH48kq4d1WJHxnQe08MnAhoaGs5QP8/2Aej5EPU1+dPSazWBpuYSvHRx41llKBoKnB68DxOPxZmJ8R6mS7wbMp3wnL0bIj0Plz/21ZZ5KkoU6WTcmLuL787XXXtudeatl4cKF0/jOw5s069HyBHn4nYeB0nYHy8vg/Yr+AhquwAQsX+MR15l/3nnn3aDXo3s0SdB8x2PYw+zrzgpekBgsf+5v7YqlUrNbCfg6+u9Ls2fPRi/AwVZfX38kg9fZ9OfagdTwQAHWpvxf5t9XCLitnc+R3HLLLer3/wO4cK+MymnLNwAAAABJRU5ErkJggg== ###PACKDATA,FILE_END,/repairbuddy/images/buttons/restoremigrate-icon.png,repairbuddy/images/buttons/restoremigrate-icon.png ###PACKDATA,FILE_START,/repairbuddy/images/sucuri/3.png,repairbuddy/images/sucuri/3.png iVBORw0KGgoAAAANSUhEUgAAAGQAAAAyCAYAAACqNX6+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi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V6zq/MdIBaQNNijxbkJCwgew9M34vVZ5CzkfReIRgLIeAfgCQO1AgD4FL/rJmjVrlsA7fovNlLOvPvirBIINv1GyINYEPOpnIUc6BLi7QW/rQItMe11KTn0Go2TkWMgSd+jQoVgeMmL+Psi1DTL/BolArcr42N9fTSALZV/cAvidSCxyUQbU08gQj/iaOJKUamwYe48X0nDV62usa6MRkk30Y/B9EN9C+jwElv0yPhLwYwoWXAC+jcVgO/8CRHqGByD0woLrYd0n0e8ALDoX1NSjtzJVaaOGOMwTUfw2DdZ8CTVMg9q88aBP0RnjhO7U1qvmVEcOHI9gn4W+lxHUVyD4rwQ1zcB6oTwWp4xQXC88sRb7yYYxfIG+pSwMCSjflyCu/APm+COe/QXoMBkJQiwMgOcY6qiANQir5m7I0wIjvQZ6vLh48eIiKPI8qLSe82HtOsyzF3ME8127pEoz5OiDjgqUwXFvLEolqDTWkytXrhwDo/CqP7pgjMZa1Viru9+z/8D1A/9dVuAKABK4AoAEAAlcAUACgASuACABQAJXAJAAIIErAEjg8nf9twADAIRpmwU8cinAAAAAAElFTkSuQmCC ###PACKDATA,FILE_END,/repairbuddy/images/sucuri/3.png,repairbuddy/images/sucuri/3.png ###PACKDATA,FILE_START,/repairbuddy/lib/dbreplace/dbreplace.php,repairbuddy/lib/dbreplace/dbreplace.php PD9waHAKLyoqCiAqCXBsdWdpbmJ1ZGR5X2RicmVwbGFjZSBDbGFzcwogKgogKglIYW5kbGVzIHJlcGxhY2VtZW50IG9mIGRhdGEgaW4gYSB0YWJsZS9kYXRhYmFzZSwgdGV4dCBvciBzZXJpYWxpemVkLiBBIGRhdGFiYXNlIGNvbm5lY3Rpb24gc2hvdWxkIGJlIGluaXRpYWxpemVkIGJlZm9yZSBpbnN0YW50aWF0aW9uLgogKgkKICoJVmVyc2lvbjogMS4wLjAKICoJQXV0aG9yOiBEdXN0aW4gQm9sdG9uCiAqCUF1dGhvciBVUkk6IGh0dHA6Ly9kdXN0aW5ib2x0b24uY29tLwogKgogKgl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BhcmUgd2l0aCBmaXJzdC4gKHJlZmVyZW5jZSkKCQkgKglAcmV0dXJuCQludWxsCQkJCUFycmF5cyBwYXNzZWQgYXJlIHVwZGF0ZWQgYXMgdGhleSBhcmUgcGFzc2VkIGJ5IHJlZmVyZW5jZS4KCQkgKgoJCSAqLwoJCWZ1bmN0aW9uIHJlbW92ZV9tYXRjaGluZ19hcnJheV9lbGVtZW50cyggJiRhLCAmJGIgKSB7CgkJCSRzaXplb2YgPSBzaXplb2YoICRhICk7CgkJCWZvciggJGk9MDsgJGkgPCAkc2l6ZW9mOyAkaSsrICkgewoJCQkJaWYgKCAkYVskaV0gPT0gJGJbJGldICkgewoJCQkJCXVuc2V0KCAkYVskaV0gKTsKCQkJCQl1bnNldCggJGJbJGldICk7CgkJCQl9CgkJCX0KCQl9CgkJCgkJCgl9IC8vIGVuZCBwbHVnaW5idWRkeV9kYnJlcGxhY2UgY2xhc3MuCn0KPz4= ###PACKDATA,FILE_END,/repairbuddy/lib/dbreplace/dbreplace.php,repairbuddy/lib/dbreplace/dbreplace.php ###PACKDATA,FILE_START,/repairbuddy/lib/dbreplace/history.txt,repairbuddy/lib/dbreplace/history.txt MS4wLjAgLSAyMDExLTA4LTE4IC0gRHVzdGluIEJvbHRvbgoJQ3JlYXRlZCBkYnJlcGxhY2UgY2xhc3Mu ###PACKDATA,FILE_END,/repairbuddy/lib/dbreplace/history.txt,repairbuddy/lib/dbreplace/history.txt ###PACKDATA,FILE_START,/repairbuddy/lib/zipbuddy/history.txt,repairbuddy/lib/zipbuddy/history.txt Mi4wLjAgLSAyMDExLTEwLTA4IC0gRHVzdGluIEJvbHRvbgoJQWRkZWQgaGlzdG9yeS50eHQuCglBZGRlZCB1bnppcCBmdW5jdGlvbmFsaXR5Lg== ###PACKDATA,FILE_END,/repairbuddy/lib/zipbuddy/history.txt,repairbuddy/lib/zipbuddy/history.txt ###PACKDATA,FILE_START,/repairbuddy/lib/zipbuddy/x-zipbuddy.php,repairbuddy/lib/zipbu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IHVzZWQgZm9yIGNyZWF0aW5nIGZpbGVzIGFuZCBzdHVmZgogICAgICAgICAqIAogICAgICAgICAqIEB2YXIgc3RyaW5nCiAgICAgICAgICovCiAgICAgICAgcHJvdGVjdGVkICRfdGVtcGRpciA9ICIiOwogICAgICAgIAogICAgICAgIC8qKgogICAgICAgICAqIFRoZSBsaXN0IG9mIHppcCBtZXRob2RzIHRoYXQgYXJlIHJlcXVlc3RlZCB0byBiZSB1c2VkCiAgICAgICAgICogCiAgICAgICAgICogQHZhciBhcnJheSBvZiBzdHJpbmcKICAgICAgICAgKi8KICAgICAgICBwcm90ZWN0ZWQgJF9yZXF1ZXN0ZWRfemlwX21ldGhvZHMgPSBhcnJheSgpOwoKICAgICAgICAvKioKICAgICAgICAgKiBUaGUgbW9kZSB3aGljaCB0aGUgb2JqZWN0IGlzIGJlaW5nIGNyZWF0ZWQgZm9yCiAgICAgICAgICogCiAgICAgICAgICogQHZhciBzdHJpbmcKICAgICAgICAgKi8KICAgICAgICBwcm90ZWN0ZWQgJF9tb2RlID0gIiI7CgogICAgICAgIC8qKgogICAgICAgICAqIFN0YXR1cyBtZXNzYWdlIGFycmF5IHVzZWQgd2hlbiBjYWxsaW5nIG90aGVyIG1ldGhvZHMgdG8gZ2V0IHN0YXR1cyBpbmZvcm1hdGlvbiBiYWNrCiAgICAgICAgICogCiAgICAgICAgICogQHZhciBhcnJheSBvZiBzdHJpbmcKICAgICAgICAgKi8KICAgICAgICBwdWJsaWMgJF9zdGF0dXMgPSBhcnJheSgpOwoKICAgICAgICAvKioKICAgICAgICAgKiBUaGUgbGlzdCBvZiB6aXAgbWV0aG9kcyB0aGF0IGFyZSB0byBiZSB1c2VkIG9yIGFyZSBhdmFpbGFibGUKICAgICAgICAgKiBIYWQgdG8gbWFrZSB0aGlzIHB1YmxpYyBmb3Igbm93IGJlY2F1c2Ugc29tZXRoaW5nIGFjY2Vzc2VzIGl0IGRpcmVjdGx5IC0gYmFkIGthcm1hCiAgICAgICAgICogC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QkoRXhwZWN0ZWQpIFN0YXR1cyBtZXNzYWdlIHR5cGUuCgkJICoJQHBhcmFtCQlzdHJpbmcJCShFeHBlY3RlZCkgU3RhdHVzIG1lc3NhZ2UuCgkJICoJQHJldHVybgkJbnVsbAoJCSAqCgkJICovCgkJcHVibGljIGZ1bmN0aW9uIHN0YXR1cygpIHsKCQkKCQkJaWYgKCAkdGhpcy0+X2hhdmVfc3RhdHVzX2NhbGxiYWNrICYmICggZnVuY19udW1fYXJncygpID4gMCApICkgewoKCQkJCSRhcmdzID0gZnVuY19nZXRfYXJncygpOwoJCQkJY2FsbF91c2VyX2Z1bmNfYXJyYXkoICR0aGlzLT5fc3RhdHVzX2NhbGxiYWNrLCAkYXJncyApOwoJCQkJCgkJCX0KCQkJCgkJfQoJCgl9IC8vIEVuZCBjbGFzcwoJCgkvLyRwbHVnaW5idWRkeV96aXBidWRkeSA9IG5ldyBwbHVnaW5idWRkeV96aXBidWRkeSggJHRoaXMtPl9vcHRpb25zWydiYWNrdXBfZGlyZWN0b3J5J10gKTsKCn0= ###PACKDATA,FILE_END,/repairbuddy/lib/zipbuddy/x-zipbuddy.php,repairbuddy/lib/zipbuddy/x-zipbuddy.php ###PACKDATA,FILE_START,/repairbuddy/lib/zipbuddy/zbdir.php,repairbuddy/lib/zipbuddy/zbdir.php PD9waHAKLyoqCiAqCXBsdWdpbmJ1ZGR5X3piZGlyIENsYXNzCiAqCiAqICBQcm92aWRlcyBhIGRpcmVjdG9yeSBjbGFzcyBmb3IgemlwYnVkZHkgZm9yIGJ1aWxkaW5nIGEgZGlyZWN0b3J5IHRyZWUgZm9yIGJhY2t1cAogKgkKICoJVmVyc2lvbjogMS4wLjAKICoJQXV0aG9yOgogKglBdXRob3IgVVJJOgogKgogKglAcGFyYW0JCSRwYXJlbnQJCW9iamVjdAkJT3B0aW9uYWwgcGFyZW50IG9iamVjdCB3aGljaCBjYW4gcHJvdmlkZSBmdW5jdGlvbnMgZm9yIHJlcG9ydGluZywgZXRjLgogKglAcmV0dXJuCQludWxsCiAqCiAqLwppZiAoICFjbGFzc19leGlzdHMoICJwbHVnaW5idWRkeV96YmRpciIgKSApIHsKCgljbGFzcyBwbHVnaW5idWRkeV96YmRpciB7CgkKCQkvLyBzdGF0dXMgbWV0aG9kIHR5cGUgcGFyYW1ldGVyIHZhbHVlcyAtIHdvdWxkIGxpa2UgYSBjbGFzcyBmb3IgdGhpcwoJCWNvbnN0IFNUQVRVU19UWVBFX0RFVEFJTFMgPSAnZGV0YWlscyc7CgoJCXB1YmxpYyAkX3ZlcnNpb24gPSAnMS4wJzsKCiAgICAgICAgLyoqCiAgICAgICAgICogcGFyZW50IG9iamVjdAogICAgICAgICAqIAogICAgICAgICAqIEB2YXIgcGFyZW50IG9iamVjdAogICAgICAgICAqLwogICAgICAgIHByb3RlY3RlZCAkX3BhcmVudCA9IE5VTEw7CgogICAgICAgIC8qKgogICAgICAgICAqIFRoZSBwYXRoIG9mIHRoaXMgZGlyZWN0b3J5IG5vZGUKICAgICAgICAgKiAKICAgICAgICAgKiBAdmFyIHBhdGggc3RyaW5nCiAgICAgICAgICovCiAgICAgICAgcHJvdGVjdGVkICRfcGF0aCA9ICIiOwogICAgICAgIAogICAgICAgIC8qKgogICAgICAgICAqIFRoZSBhYnNvbHV0ZSBwYXRocyB0byBiZSBleGNsdWRlZCwgbXVzdCBiZSAvIHRlcm1pbmF0ZWQKICAgICAgICAgKiAKICAgICAgICAgKiBAdmFyIHBhdGhzX3RvX2V4Y2x1ZGUgYXJyYXkgb2Ygc3RyaW5nCiAgICAgICAgICovCiAgICAgICAgcHJvdGVjdGVkICRfcGF0aHNfdG9fZXhjbHVkZSA9IGFycmF5KCk7CgogICAgICAgIC8qKgogICAgICAgICAqIFRoZSBkaXJlY3RvcnkgbGlzdGluZyBpdGVtcyB0byBiZSBpZ25vcmVkCiAgICAgICAgICogCiAgICAgICAgICogQHZhciBpdGVtc190b19pZ25vcmUgYXJyYXkgb2Ygc3RyaW5nCiAgICAgICAgICovCiAgICAgICAgcHJvdGVjdGVkICRfaXRlbXNfdG9faWdub3JlID0gYXJyYXkoICIuIiwgIi4uIiwgIi5EU19TdG9yZSIgKTsKCiAgICAgICAgLyoqCiAgICAgICAgICogVGhlIGl0ZW1zIHRoYXQgYXJlIHRlcm1pbmFscyBhbmQgd2UgY2FuIGFkZCBkaXJlY3RseSBmb3IgdGhpcyBkaXJlY3RvcnkgKGFic29sdXRlIHBhdGhzKQogICAgICAgICAqIAogICAgICAgICAqIEB2YXIgdGVybWluYWxzIGFycmF5IG9mIHN0cmluZwogICAgICAgICAqLwogICAgICAgIHByb3RlY3RlZCAkX3Rlcm1pbmFscyA9IGFycmF5KCk7CgogICAgICAgIC8qKgogICAgICAgICAqIFRoZSBicmFuY2ggbm9kZXMgb2Ygc3Vib3JkaW5hdGUgZGlyZWN0b3JpZXMgdGhhdCBhcmUgb24gYW4gZXhjbHVzaW9uIHBhdGgKICAgICAgICAgKiAKICAgICAgICAgKiBAdmFyIGJyYW5jaGVzIGFycmF5IG9mIHN0cmluZyA9PiBwbHVnaW5idWRkeV96YmRpcgogICAgICAgICAqLwogICAgICAgIHByb3RlY3RlZCAkX2JyYW5jaGVzID0gYXJyYXkoKTsKCiAgICAgICAgLyoqCiAgICAgICAgICogV2hldGhlciBvciBub3Qgd2UgY2FuIGNhbGwgYSBzdGF0dXMgY2FsYmFjawogICAgICAgICAqIAogICAgICAgICAqIEB2YXIgaGF2ZV9zdGF0dXNfY2FsbGJhY2sgYm9vbAogICAgICAgICAqLwoJCXByb3RlY3RlZCAkX2hhdmVfc3RhdHVzX2NhbGxiYWNrID0gZmFsc2U7CgkJCiAgICAgICAgLyoqCiAgICAgICAgICogT2JqZWN0LT5tZXRob2QgYXJyYXkgZm9yIHN0YXR1cyBmdW5jdGlvbgogICAgICAgICAqIAogICAgICAgICAqIEB2YXIgc3RhdHVzX2NhbGxiYWNrIGFycmF5CiAgICAgICAgICovCgkJcHJvdGVjdGVkICRfc3RhdHVzX2NhbGx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oJCgkJICoJQ2hlY2sgaWYgdGhlIGdpdmVuIHN0cmluZyBpcyBhIHByZWZpeCBvZiBhbnkgc3RyaW5nIGluIHRoZSBnaXZlbiBhcnJheQoJCSAqCQoJCSAqICBAcGFyYW0JCXN0cmluZwkkcHJlZml4CQlUaGUgcHJlZml4IHN0cmluZwoJCSAqICBAcGFyYW0JCWFycmF5CSRjYW5kaWRhdGVzCVRoZSBhcnJheSBvZiBzdHJpbmdzCgkJICoJQHJldHVybgkJYm9vbAl0cnVlIGlmIHRoZSBzdHJpbmcgaXMgYSBwcmVmaXgsIGZhbHNlIG90aGVyd2lzZQoJCSAqCgkJICovCgkJcHVibGljIGZ1bmN0aW9uIGluX2FycmF5X3ByZWZpeCggJHByZWZpeCwgYXJyYXkgJGNhbmRpZGF0ZXMgKSB7CgoJCQlmb3JlYWNoICggJGNhbmRpZGF0ZXMgYXMgJGNhbmRpZGF0ZSApIHsKCQkJCgkJCQlpZiAoICEoIGZhbHNlID09PSBzdHJwb3MoICRjYW5kaWRhdGUsICRwcmVmaXggKSApICkgewoKCQkJCQkvLyBXZSBmb3VuZCB0aGUgcHJlZml4CgkJCQkJcmV0dXJuIHRydWU7CgkJCQkJCgkJCQl9CgkJCQkKCQkJfQoJCQkKCQkJLy8gR290IHRoaXMgZmFyIHNvIG5vdCBhIHByZWZpeAoJCQlyZXR1cm4gZmFsc2U7CgkJCQoJCX0KCQkKCX0gLy8gZW5kIHBsdWdpbmJ1ZGR5X3piZGlyIGNsYXNzLgkKCQp9Cj8+ ###PACKDATA,FILE_END,/repairbuddy/lib/zipbuddy/zbdir.php,repairbuddy/lib/zipbuddy/zbdir.php ###PACKDATA,FILE_START,/repairbuddy/lib/zipbuddy/zbzipcore.php,repairbuddy/lib/zipbuddy/zbzipcore.php PD9waHAKLyoqCiAqCXBsdWdpbmJ1ZGR5X3piemlwY29yZSBDbGFzcwogKgogKiAgUHJvdmlkZXMgYW4gYWJzdHJhY3QgemlwIGNhcGFiaWxpdHkgY29yZSBjbGFzcwogKgkKICoJVmVyc2lvbjogMS4wLjAKICoJQXV0aG9yOgogKglBdXRob3IgVVJJOgogKgogKglAcGFyYW0JCSRwYXJlbnQJCW9iamVjdAkJT3B0aW9uYWwgcGFyZW50IG9iamVjdCB3aGljaCBjYW4gcHJvdmlkZSBmdW5jdGlvbnMgZm9yIHJlcG9ydGluZywgZXRjLgogKglAcmV0dXJuCQludWxsCiAqCiAqLwppZiAoICFjbGFzc19leGlzdHMoICJwbHVnaW5idWRkeV96YnppcGNvcmUiICkgKSB7CgoJYWJzdHJhY3QgY2xhc3MgcGx1Z2luYnVkZHlfemJ6aXBjb3JlIHsKCQoJCS8vIHN0YXR1cyBtZXRob2QgdHlwZSBwYXJhbWV0ZXIgdmFsdWVzIC0gd291bGQgbGlrZSBhIGNsYXNzIGZvciB0aGlzCgkJY29uc3QgU1RBVFVTX1RZUEVfREVUQUlMUyA9ICdkZXRhaWxzJzsKCQljb25zdCBNQVhfRVJST1JfTElORVNfVE9fU0hPVyA9IDEwOwoKCQlwdWJsaWMgJF92ZXJzaW9uID0gJzEuMCc7CgogICAgICAgIC8qKgogICAgICAgICAqIHBhcmVudCBvYmplY3QKICAgICAgICAgKiAKICAgICAgICAgKiBAdmFyIHBhcmVudCBvYmplY3QKICAgICAgICAgKi8KICAgICAgICBwcm90ZWN0ZWQgJF9wYXJlbnQgPSBOVUxMOwoKICAgICAgICAvKioKICAgICAgICAgKiBUaGUgcGx1Z2luIHBhdGggZm9yIHRoaXMgcGx1Z2luCiAgICAgICAgICogCiAgICAgICAgICogQHZhciAkX3BsdWdpblBhdGggc3RyaW5nCiAgICAgICAgICovCiAgICAgICAgcHVibGljICRfcGx1Z2luUGF0aCA9ICcnOwoKICAgICAgICAvKioKICAgICAgICAgKiBUaGUgcGF0aCBvZiB0aGlzIGRpcmVjdG9yeSBub2RlCiAgICAgICAgICogCiAgICAgICAgICogQHZhciBwYXRoIHN0cmluZwogICAgICAgICAqLwogICAgICAgIHByb3RlY3RlZCAkX3BhdGggPSAiIjsKICAgICAgICAKICAgICAgICAvKioKICAgICAgICAgKiBUaGUgYWJzb2x1dGUgcGF0aHMgdG8gYmUgZXhjbHVkZWQsIG11c3QgYmUgLyB0ZXJtaW5hdGVkCiAgICAgICAgICogCiAgICAgICAgICogQHZhciBwYXRoc190b19leGNsdWRlIGFycmF5IG9mIHN0cmluZwogICAgICAgICAqLwogICAgICAgIHByb3RlY3RlZCAkX3BhdGhzX3RvX2V4Y2x1ZGUgPSBhcnJheSgpOwoKICAgICAgICAvKioKICAgICAgICAgKiBUaGUgZGV0YWlscyBvZiB0aGUgbWV0aG9kCiAgICAgICAgICogCiAgICAgICAgICogQHZhciBtZXRob2RfZGV0YWlscyBhcnJheQogICAgICAgICAqLwoJCXByb3RlY3RlZCAkX21ldGhvZF9kZXRhaWxzID0gYXJyYXkoKTsKCQkKICAgICAgICAvKioKICAgICAgICAgKiBUaGUgc2V0IG9mIHBhdGhzIGZvciB3aGVyZSB0byBsb29rIGZvciB6aXAgb3Igb3RoZXIgZXhlY3V0YWJsZXMKICAgICAgICAgKgogICAgICAgICAqIEFwcGxpZXMgdG8gTGludXggb25seSAtIGZpcnN0IHBhdGggaXMgZW1wdHkgc28gdGhhdCBkZWZhdWx0IGVudmlyb25tZW50IFBBVEggaXMgdXNlZAogICAgICAgICAqIGZpcnN0LCBhZnRlciB0aGF0IHBvc3NpYmxlIHBhdGhzIChtdXN0IGluY2x1ZGUgbGVhZGluZyBhbmQgdHJhaWxpbmcgc2xhc2gpCiAgICAgICAgICogCiAgICAgICAgICogQHZhciAgZXhlY3V0YWJsZV9wYXRocwlhcnJheQogICAgICAgICAqLwoJCXByb3RlY3RlZCAkX2V4ZWN1dGFibGVfcGF0aHMgPSBhcnJheSggJycsICcvdXNyL2Jpbi8nLCAnL3Vzci9sb2NhbC9iaW4vJyApOwoJCQogICAgICAgIC8qKgogICAgICAgICAqIFdoZXRoZXIgb3Igbm90IHdlIGNhbiBjYWxsIGEgc3RhdHVz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ZWN0CSRsaXN0bWFrZXIJCVRoZSBvYmplY3QgZnJvbSB3aGljaCB3ZSBjYW4gZ2V0IGFuIGluY2x1c2lvbnMgbGlzdAoJCSAqCUByZXR1cm4JCWJvb2wJCQkJCVRydWUgaWYgdGhlIGNyZWF0aW9uIHdhcyBzdWNjZXNzZnVsLCBmYWxzZSBvdGhlcndpc2UKCQkgKgoJCSAqLwoJCWFic3RyYWN0IHB1YmxpYyBmdW5jdGlvbiBjcmVhdGUoICR6aXAsICRkaXIsICRjb21wcmVzc2lvbiwgJGV4Y2x1ZGVzLCAkdGVtcGRpciwgJGxpc3RtYWtlciA9IE5VTEwgKTsKCQkKCX0gLy8gZW5kIHBsdWdpbmJ1ZGR5X3piemlwY29yZSBjbGFzcy4JCgkKfQo/Pg== ###PACKDATA,FILE_END,/repairbuddy/lib/zipbuddy/zbzipcore.php,repairbuddy/lib/zipbuddy/zbzipcore.php ###PACKDATA,FILE_START,/repairbuddy/lib/zipbuddy/zbzipexec.php,repairbuddy/lib/zipbuddy/zbzipexec.php PD9waHAKLyoqCiAqCXBsdWdpbmJ1ZGR5X3piemlwZXhlYyBDbGFzcwogKgogKiAgRXh0ZW5kcyB0aGUgemlwIGNhcGFiaWxpdHkgY29yZSBjbGFzcyB3aXRoIHByb2Mgc3BlY2lmaWMgY2FwYWJpbGl0eQogKgkKICoJVmVyc2lvbjogMS4wLjAKICoJQXV0aG9yOgogKglBdXRob3IgVVJJOgogKgogKglAcGFyYW0JCSRwYXJlbnQJCW9iamVjdAkJT3B0aW9uYWwgcGFyZW50IG9iamVjdCB3aGljaCBjYW4gcHJvdmlkZSBmdW5jdGlvbnMgZm9yIHJlcG9ydGluZywgZXRjLgogKglAcmV0dXJuCQludWxsCiAqCiAqLwppZiAoICFjbGFzc19leGlzdHMoICJwbHVnaW5idWRkeV96YnppcGV4ZWMiICkgKSB7CgoJY2xhc3MgcGx1Z2luYnVkZHlfemJ6aXBleGVjIGV4dGVuZHMgcGx1Z2luYnVkZHlfem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ygnVGVtcG9yYXJ5IGRpcmVjdG9yeSBjb3VsZCBub3QgYmUgZGVsZXRlZDogJywgJ2l0LWwxMG4tYmFja3VwYnVkZHknKSAuICR0ZW1wZGlyICk7CgkJCQoJCQl9CgkJCQoJCQlyZXR1cm4gJHJlc3VsdDsKCQkJCQkJCQkJCQkJCgkJfQoJCQoJfSAvLyBlbmQgcGx1Z2luYnVkZHlfemJ6aXBleGVjIGNsYXNzLgkKCQp9Cj8+ ###PACKDATA,FILE_END,/repairbuddy/lib/zipbuddy/zbzipexec.php,repairbuddy/lib/zipbuddy/zbzipexec.php ###PACKDATA,FILE_START,/repairbuddy/lib/zipbuddy/zbzippclzip.php,repairbuddy/lib/zipbuddy/zbzippclzip.php PD9waHAKLyoqCiAqCXBsdWdpbmJ1ZGR5X3piemlwcGNsemlwIENsYXNzCiAqCiAqICBFeHRlbmRzIHRoZSB6aXAgY2FwYWJpbGl0eSBjb3JlIGNsYXNzIHdpdGggcHJvYyBzcGVjaWZpYyBjYXBhYmlsaXR5CiAqCQogKglWZXJzaW9uOiAxLjAuMAogKglBdXRob3I6CiAqCUF1dGhvciBVUkk6CiAqCiAqCUBwYXJhbQkJJHBhcmVudAkJb2JqZWN0CQlPcHRpb25hbCBwYXJlbnQgb2JqZWN0IHdoaWNoIGNhbiBwcm92aWRlIGZ1bmN0aW9ucyBmb3IgcmVwb3J0aW5nLCBldGMuCiAqCUByZXR1cm4JCW51bGwKICoKICovCmlmICggIWNsYXNzX2V4aXN0cyggInBsdWdpbmJ1ZGR5X3piemlwcGNsemlwIiApICkgewoKCWNsYXNzIHBsdWdpbmJ1ZGR5X3piemlwcGNsemlwIGV4dGVuZHMgcGx1Z2luYnVkZHlfemJ6aXBjb3JlIHsKCQoJCWNvbnN0IFpJUF9DT05URU5UX0ZJTEVfTkFNRSA9ICdsYXN0X3BjbHppcF9saXN0LnR4dCc7CgogICAgICAgIC8qKgogICAgICAgICAqIG1ldGhvZCB0YWcgdXNlZCB0byByZWZlciB0byB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y/lib/zipbuddy/zbzippclzip.php,repairbuddy/lib/zipbuddy/zbzippclzip.php ###PACKDATA,FILE_START,/repairbuddy/lib/zipbuddy/zbzipproc.php,repairbuddy/lib/zipbuddy/zbzipproc.php PD9waHAKLyoqCiAqCXBsdWdpbmJ1ZGR5X3piemlwcHJvYyBDbGFzcwogKgogKiAgRXh0ZW5kcyB0aGUgemlwIGNhcGFiaWxpdHkgY29yZSBjbGFzcyB3aXRoIHByb2Mgc3BlY2lmaWMgY2FwYWJpbGl0eQogKgkKICoJVmVyc2lvbjogMS4wLjAKICoJQXV0aG9yOgogKglBdXRob3IgVVJJOgogKgogKglAcGFyYW0JCSRwYXJlbnQJCW9iamVjdAkJT3B0aW9uYWwgcGFyZW50IG9iamVjdCB3aGljaCBjYW4gcHJvdmlkZSBmdW5jdGlvbnMgZm9yIHJlcG9ydGluZywgZXRjLgogKglAcmV0dXJuCQludWxsCiAqCiAqLwppZiAoICFjbGFzc19leGlzdHMoICJwbHVnaW5idWRkeV96YnppcHByb2MiICkgKSB7CgoJY2xhc3MgcGx1Z2luYnVkZHlfemJ6aXBwcm9jIGV4dGVuZHMgcGx1Z2luYnVkZHlfemJ6aXBjb3JlIHsKCQoJCWNvbnN0IFpJUF9MT0dfRklMRV9OQU1FID0gJ3RlbXBfemlwX3Byb2NfbG9nLnR4dCc7CgkJY29uc3QgWklQX0VSUk9SX0ZJTEVfTkFNRSA9ICdsYXN0X3Byb2NfZXJyb3JzLnR4dCc7CgkKICAgICAgICAvKioKICAgICAgICAgKiBtZXRob2QgdGFnIHVzZWQgdG8gcmVmZXIgdG8gdGhlIG1ldGhvZCBhbmQgZW50aXRpZXMgYXNzb2NpYXRlZCB3aXRoIGl0IHN1Y2ggYXMgY2xhc3MgbmFtZQogICAgICAgICAqIAogICAgICAgICAqIEB2YXIgc3RyaW5nCiAgICAgICAgICovCgkJcHVibGljIHN0YXRpYyAkX21ldGhvZF90YWcgPSAncHJvYyc7CgkJCQoJCiAgICAgICAgLyoqC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mNvbXBsZXRlIHppcCBmaWxlCQkJCgkJCSR0aGlzLT5zdGF0dXMoICdkZXRhaWxzJywgX18oJ1JlbW92aW5nIHRlbXBvcmFyeSBkaXJlY3RvcnkuJywgJ2l0LWwxMG4tYmFja3VwYnVkZHknKSApOwoJCQkKCQkJaWYgKCAhKCAkdGhpcy0+ZGVsZXRlX2RpcmVjdG9yeV9yZWN1cnNpdmUoICR0ZW1wZGlyICkgKSApIHsKCQkJCgkJCQkJJHRoaXMtPnN0YXR1cyggJ2RldGFpbHMnLCBfXygnVGVtcG9yYXJ5IGRpcmVjdG9yeSBjb3VsZCBub3QgYmUgZGVsZXRlZDogJywgJ2l0LWwxMG4tYmFja3VwYnVkZHknKSAuICR0ZW1wZGlyICk7CgkJCQoJCQl9CgkJCQoJCQlyZXR1cm4gJHJlc3VsdDsKCQkJCQkJCQkJCgkJfQoJCQoJfSAvLyBlbmQgcGx1Z2luYnVkZHlfemJ6aXBwcm9jIGNsYXNzLgkKCQp9Cj8+ ###PACKDATA,FILE_END,/repairbuddy/lib/zipbuddy/zbzipproc.php,repairbuddy/lib/zipbuddy/zbzipproc.php ###PACKDATA,FILE_START,/repairbuddy/lib/zipbuddy/zbzipziparchive.php,repairbuddy/lib/zipbuddy/zbzipziparchive.php PD9waHAKLyoqCiAqCXBsdWdpbmJ1ZGR5X3piemlwemlwYXJjaGl2ZSBDbGFzcwogKgogKiAgRXh0ZW5kcyB0aGUgemlwIGNhcGFiaWxpdHkgY29yZSBjbGFzcyB3aXRoIHByb2Mgc3BlY2lmaWMgY2FwYWJpbGl0eQogKgkKICoJVmVyc2lvbjogMS4wLjAKICoJQXV0aG9yOgogKglBdXRob3IgVVJJOgogKgogKglAcGFyYW0JCSRwYXJlbnQJCW9iamVjdAkJT3B0aW9uYWwgcGFyZW50IG9iamVjdCB3aGljaCBjYW4gcHJvdmlkZSBmdW5jdGlvbnMgZm9yIHJlcG9ydGluZywgZXRjLgogKglAcmV0dXJuCQludWxsCiAqCiAqLwpp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wYXJjaGl2ZSBjbGFzcy4JCgkKfQo/Pg== ###PACKDATA,FILE_END,/repairbuddy/lib/zipbuddy/zbzipziparchive.php,repairbuddy/lib/zipbuddy/zbzipziparchive.php ###PACKDATA,FILE_START,/repairbuddy/lib/zipbuddy/zipbuddy.php,repairbuddy/lib/zipbuddy/zipbuddy.php PD9waHAKLyoqCiAqCXBsdWdpbmJ1ZGR5X3ppcGJ1ZGR5IENsYXNzCiAqCiAqCUhhbmRsZXMgemlwcGluZyBhbmQgdW56aXBwaW5nLCB1c2luZyB0aGUgYmVzdCBtZXRob2RzIGF2YWlsYWJsZSBhbmQgZmFsbGluZyBiYWNrIHRvIHdvcnNlIG1ldGhvZHMKICoJYXMgbmVlZGVkIGZvciBjb21wYXRpYmlsaXR5LiBBbGxvd3MgZm9yIGZvcmNpbmcgY29tcGF0aWJpbGl0eSBtb2Rlcy4KICoJCiAqCVZlcnNpb246IDIuMC4wCiAqCUF1dGhvcjogRHVzdGluIEJvbHRvbgogKglBdXRob3IgVVJJOiBodHRwOi8vZHVzdGluYm9sdG9uLmNvbS8KICoKICoJJHRlbXBfZGlyCQlzdHJpbmcJCVRlbXBvcmFyeSBkaXJlY3RvcnkgYWJzb2x1dGUgcGF0aCBmb3IgdGVtcG9yYXJ5IGZpbGUgc3RvcmFnZS4gTXVzdCBiZSB3cml0YWJsZSEKICoJJHppcF9tZXRob2RzCWFycmF5CQlPcHRpb25hbC4gQXJyYXkgb2YgYXZhaWxhYmxlIHppcCBtZXRob2RzIHRvIHVzZS4gVXNlZnVsIGZvciBub3QgaGF2aW5nIHRvIHJlLXRlc3QgZXZlcnkgdGltZS4KICoJCQkJCQkJCUlmIG9taXR0ZWQgdGhlbiBhIHRlc3Qgd2lsbCBiZSBwZXJmb3JtZWQgdG8gZmluZCB0aGUgbWV0aG9kcyB0aGF0IHdvcmsgb24gdGhpcyBob3N0LgogKgkkbW9kZQkJCXN0cmluZwkJRnV0dXJlIHVzZSB0byBhbGxvdyBmb3Igb3R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CS8qKgoJCSAqCXNldF9zdGF0dXNfY2FsbGJhY2soKQoJCSAqCgkJICoJU2V0cyBhIHJlZmVyZW5jZSB0byB0aGUgZnVuY3Rpb24gdG8gY2FsbCBmb3IgZWFjaCBzdGF0dXMgdXBkYXRlLgoJCSAqCgkJICoJJGNhbGxiYWNrCXJlZmVyZW5jZQlSZWZlcmVuY2UgdG8gZnVuY3Rpb24gdG8gY2FsbCBmb3Igc3RhdHVzIHVwZGF0ZXMuCgkJICoJCQkJCQkJRXg6ICR0aGlzLT5femlwYnVkZHktPnNldF9zdGF0dXNfY2FsbGJhY2soIGFycmF5KCAmJHRoaXMsICdzdGF0dXMnICkgKTsKCQkgKglAcmV0dXJuCQludWxsCgkJICoKCQkgKi8KCQlmdW5jdGlvbiBzZXRfc3RhdHVzX2NhbGxiYWNrKCAkY2FsbGJhY2sgKSB7CgkJCSR0aGlzLT5fc3RhdHVzX2Z1bmN0aW9uID0gJGNhbGxiYWNrOwoJCX0KCQkKCQkKCQlmdW5jdGlvbiBzZXRfemlwX21ldGhvZHMoICRtZXRob2RzICkgewoJCQkkdGhpcy0+X3ppcF9tZXRob2RzID0gJG1ldGhvZHM7CgkJfQoJCQoJfSAvLyBFbmQgY2xhc3MKCQoJLy8kcGx1Z2luYnVkZHlfemlwYnVkZHkgPSBuZXcgcGx1Z2luYnVkZHlfemlwYnVkZHkoICR0aGlzLT5fb3B0aW9uc1snYmFja3VwX2RpcmVjdG9yeSddICk7Cn0KPz4= ###PACKDATA,FILE_END,/repairbuddy/lib/zipbuddy/zipbuddy.php,repairbuddy/lib/zipbuddy/zipbuddy.php ###PACKDATA,FILE_START,/repairbuddy/modules/admin_creator/init.php,repairbuddy/modules/admin_creator/init.php PD9waHAKLy8gbW9kdWxlX3NsdWcsIE1vZHVsZSBUaXRsZSwgTW9kdWxlIERlc2NyaXB0aW9uLCBib290c3RyYXAgV29yZFByZXNzPwpjbGFzcyByYl9hZG1pbl9jcmVhdG9yIGV4dGVuZHMgcmVwY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nID0+ICdTYXZpbmcuLi4nLAoJCQknY2FuY2VsJyA9PiAnQ2FuY2VsJywKCQkJJ3VzZXJfZWRpdCcgPT4gJ0VkaXRpbmcgYW4gZXhpc3RpbmcgdXNlci4uLicKCQkpOwoJCSR0aGlzLT5sb2FkX2pzKCAkdGhpcy0+Z2V0X3BsdWdpbl91cmwoICcvanMvYWRtaW4tY3JlYXRvci5qcycsIF9fRklMRV9fICksICdwYl9hZG1pbl9jcmVhdG9yJywgJGxvY2FsaXplZF92YXJzICk7Cgl9IC8vZW5kIHByaW50X3NjcmlwdHMKCWZ1bmN0aW9uIHByaW50X3N0eWxlcygpIHsKCQlpZiAoICR0aGlzLT5fbW9kdWxlX25hbWUgIT0gJHRoaXMtPmdldF9jdXJyZW50X21vZHVsZSgpICkgcmV0dXJuOwoJCSR0aGlzLT5sb2FkX2NzcyggJHRoaXMtPmdldF9wbHVnaW5fdXJsKCAnL2Nzcy9zdHlsZXMuY3NzJywgX19GSUxFX18gKSApOwoJfSAvL2VuZCBwcmludF9zdHlsZXMKCQp9IC8vZW5kIGNsYXNzCiRyYl9hZG1pbl9jcmVhdG9yID0gbmV3IHJiX2FkbWluX2NyZWF0b3IoKTsKPz4= ###PACKDATA,FILE_END,/repairbuddy/modules/admin_creator/init.php,repairbuddy/modules/admin_creator/init.php ###PACKDATA,FILE_START,/repairbuddy/modules/backupbuddy_dat/init.php,repairbuddy/modules/backupbuddy_dat/init.php PD9waHAKLy8gbW9kdWxlX3NsdWcsIE1vZHVsZSBUaXRsZSwgTW9kdWxlIERlc2NyaXB0aW9uLCBib290c3RyYXAgV29yZFByZXNzPwpjbGFzcyByYl9kYXRfcmVhZGVyIGV4dGVuZHMgcmVwYWlyYnVkZHlfbW9kdWxlIHsKCXZhciAkX21vZHVsZV9uYW1lID0gJyc7CglmdW5jdGlvbiBfX2NvbnN0cnVjdCgpIHsKCQlwYl9hZGRfYWN0aW9uKCAnaW5pdCcsIGFycmF5KCAmJHRoaXMsICdpbml0JyApIC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ZGlzcGxheV9wYWdlCgkKfSAvL2VuZCBjbGFzcwokcmJfZGF0X3JlYWRlciA9IG5ldyByYl9kYXRfcmVhZGVyKCk7Cj8+ ###PACKDATA,FILE_END,/repairbuddy/modules/backupbuddy_dat/init.php,repairbuddy/modules/backupbuddy_dat/init.php ###PACKDATA,FILE_START,/repairbuddy/modules/database_information/init.php,repairbuddy/modules/database_information/init.php PD9waHAKLy8gbW9kdWxlX3NsdWcsIE1vZHVsZSBUaXRsZSwgTW9kdWxlIERlc2NyaXB0aW9uLCBib290c3RyYXAgV29yZFByZXNzPwpjbGFzcyByYl90b29sc19kYXRhYmFzZSBleHRlbmRzIHJlcGFpcmJ1ZGR5X21vZHVsZSB7Cgl2YXIgJF9tb2R1bGVfbmFtZSA9ICcnOwoJZnVuY3Rpb24gX19jb25zdHJ1Y3QoKSB7CgkJcGJfYWRkX2FjdGlvbiggJ2luaXQnLCBhcnJheSggJiR0aGlzLCAnaW5pdCcgKSApOwoJfSAvL2VuZCBjb25zdHJ1Y3RvcgoJZnVuY3Rpb24gaW5pdCgpIHsKCQkkYXJncyA9IGFycmF5KAoJCQknc2x1ZycgPT4gJ2RhdGFiYXNlX2luZm9ybWF0aW9uJywKCQkJJ3RpdGxlJyA9PiAnRGF0YWJhc2UgSW5mb3JtYXRpb24nLAoJCQknZGVzY3JpcHRpb24nID0+ICdWaWV3IGluZm9ybWF0aW9uIGFib3V0IHlvdXIgZGF0YWJhc2UgYW5kIGl0cyB0YWJsZXMuJywKCQkJJ3BhZ2UnID0+ICdob21lJywKCQkJJ2Jvb3RzdHJhcF93b3JkcHJlc3MnID0+IGZhbHNlLAoJCQknbWluaV9tb2RlJyA9PiB0cnVlLAoJCQknc3VidGxlJyA9PiB0cnVlLAoJCQkncHJpb3JpdHknID0+IDEKCQkpOwoJCQoJCSR0aGlzLT5fbW9kdWxlX25hbWUgPSAkYXJnc1sgJ3NsdWcnIF07CgkJcGJfcmVnaXN0ZXJfbW9kdWxlKCAkYXJncyApOwoJCQoJCS8vQWN0aW9ucwoJCSRhY3Rpb24gPSBzcHJpbnRmKCAncGJfbG9hZHBhZ2VfJXNfJXMnLCAkYXJnc1sgJ3NsdWcnIF0sICRhcmdzWyAncGFnZScgXSApOwoJCXBiX2FkZF9hY3Rpb24oICRhY3Rpb24gLCBhcnJheSggJiR0aGlzLCAnZGlzcGxheV9wYWdlJyApICk7Cgl9IC8vZW5kIGluaXQKCQoJZnVuY3Rpb24gZGlzcGxheV9wYWdlKCkgewoJCQoJCSRwYWdlID0gJHRoaXMtPmdldF9wbHVnaW5fZGlyKCAncGFnZXMvaG9tZS5waHAnLCBfX0ZJTEVfXyApOwoJCQoJCWlmICggIWZpbGVfZXhpc3RzKCAkcGFnZSApICkgewoJCQk/PgoJCQk8aDI+Q291bGQgbm90IGxvYWQgcGFnZTwvaDI+CgkJCTw/cGhwCgkJfSBlbHNlIHsKCQkJZ2xvYmFsICRwbHVnaW5idWRkeV9yZXBhaXJidWRkeTsKCQkJJHBhcmVudF9jbGFzcyA9ICRwbHVnaW5idWRkeV9yZXBhaXJidWRkeTsKCQkJcmVxdWlyZV9vbmNlKCAkcGFnZSApOwoJCX0KCX0gLy9lbmQgZGlzcGxheV9wYWdlCgkKfSAvL2VuZCBjbGFzcwokcmJfdG9vbHNfZGF0YWJhc2UgPSBuZXcgcmJfdG9vbHNfZGF0YWJhc2UoKTsKPz4= ###PACKDATA,FILE_END,/repairbuddy/modules/database_information/init.php,repairbuddy/modules/database_information/init.php ###PACKDATA,FILE_START,/repairbuddy/modules/database_string_replace/init.php,repairbuddy/modules/database_string_replace/init.php PD9waHAKLy8gbW9kdWxlX3NsdWcsIE1vZHVsZSBUaXRsZSwgTW9kdWxlIERlc2NyaXB0aW9uLCBib290c3RyYXAgV29yZFByZXNzPwpjbGFzcyByYl9kYl9zdHJpbmdfcmVwbGFjZSBleHRlbmRzIHJlcGFpcmJ1ZGR5X21vZHVsZSB7Cgl2YXIgJF9tb2R1bGVfbmFtZSA9ICcnOwo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gkJCTw/cGhwCgkJfSBlbHNlIHsKCQkJcmVxdWlyZV9vbmNlKCAkcGFnZSApOwoJCX0KCX0gLy9lbmQgZGlzcGxheV9wYWdlCgkKfSAvL2VuZCBjbGFzcwokcmJfZGJfc3RyaW5nX3JlcGxhY2UgPSBuZXcgcmJfZGJfc3RyaW5nX3JlcGxhY2UoKTsKPz4= ###PACKDATA,FILE_END,/repairbuddy/modules/database_string_replace/init.php,repairbuddy/modules/database_string_replace/init.php ###PACKDATA,FILE_START,/repairbuddy/modules/malware_scan/init.php,repairbuddy/modules/malware_scan/init.php PD9waHAKLy8gbW9kdWxlX3NsdWcsIE1vZHVsZSBUaXRsZSwgTW9kdWxlIERlc2NyaXB0aW9uLCBib290c3RyYXAgV29yZFByZXNzPwpjbGFzcyByYl9tYWx3YXJlX3NjYW4gZXh0ZW5kcyByZXBhaXJidWRkeV9tb2R1bGUgewoJdmFyICRfbW9kdWxlX25hbWUgPSAnJzsKCWZ1bmN0aW9uIF9fY29uc3RydWN0KCkgewoJCXBiX2FkZF9hY3Rpb24oICdpbml0JywgYXJyYXkoICYkdGhpcywgJ2luaXQnICkgKTsKCX0gLy9lbmQgY29uc3RydWN0b3IKCWZ1bmN0aW9uIGluaXQoKSB7CgkJJGFyZ3MgPSBhcnJheSgKCQkJJ3NsdWcnID0+ICdtYWx3YXJlX3NjYW4nLAoJCQkndGl0bGUnID0+ICdNYWx3YXJlIFNjYW4nLAoJCQknZGVzY3JpcHRpb24nID0+ICdTY2FuIHlvdXIgc2l0ZSBmb3IgbWFsd2FyZSBvciBzdXNwaWNpb3VzIGZpbGVzLicsCgkJCSdwYWdlJyA9PiAndmlld19tYWx3YXJlJywKCQkJJ2Jvb3RzdHJhcF93b3JkcHJlc3MnID0+IHRydWUsCgkJCSdtaW5pX21vZGUnID0+IGZhbHNlLAoJCQknaXNfc3VidGxlJyA9PiAnJywKCQkJJ3ByaW9yaXR5JyA9PiAyMAoJCSk7CgkJCQkKCQkkdGhpcy0+X21vZH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VkZHk7CgkJCQlyZXF1aXJlX29uY2UoICRwYWdlICk7CgkJCX0KCQl9Cgl9IC8vZW5kIGRpc3BsYXlfcGFnZQoJCn0gLy9lbmQgY2xhc3MKJHJiX21hbHdhcmVfc2NhbiA9IG5ldyByYl9tYWx3YXJlX3NjYW4oKTsKPz4= ###PACKDATA,FILE_END,/repairbuddy/modules/malware_scan/init.php,repairbuddy/modules/malware_scan/init.php ###PACKDATA,FILE_START,/repairbuddy/modules/options_editor/init.php,repairbuddy/modules/options_editor/init.php PD9waHAKLy8gbW9kdWxlX3NsdWcsIE1vZHVsZSBUaXRsZSwgTW9kdWxlIERlc2NyaXB0aW9uLCBib290c3RyYXAgV29yZFByZXNzPwpjbGFzcyByYl9vcHRpb25zX2VkaXRvciBleHRlbmRzIHJlcGFpcmJ1ZGR5X21vZHVsZSB7Cgl2YXIgJF9tb2R1bGVfbmFtZSA9ICcnOwoJZnVuY3Rpb24gX19jb25zdHJ1Y3QoKSB7CgkJcGJfYWRkX2FjdGlvbiggJ2luaXQnLCBhcnJheSggJiR0aGlzLCAnaW5pdCcgKSApOwoJfSAvL2VuZCBjb25zdHJ1Y3RvcgoJZnVuY3Rpb24gaW5pdCgpIHsKCQkkYXJncyA9IGFycmF5KAoJCQknc2x1ZycgPT4gJ29wdGlvbnNfZWRpdG9yJywKCQkJJ3RpdGxlJyA9PiAnV29yZFByZXNzIE9wdGlvbnMgRWRpdG9yJywKCQkJJ2Rlc2NyaXB0aW9uJyA9PiAnVmlldyBhbmQgZWRpdCBkYXRhIGZyb20gdGhlIFdvcmRQcmVzcyBPcHRpb25zIHRhYmxlLiBTZXJpYWxpemVkIGRhdGEgaXMgdmlld2FibGUuJywKCQkJJ3BhZ2UnID0+ICdob21lJywKCQkJJ2Jvb3RzdHJhcF93b3JkcHJlc3MnID0+IHRydWUsCgkJCSdtaW5pX21vZGUnID0+IHRydWUsCgkJCSdzdWJ0bGUnID0+IHRydWUsCgkJCSdwcmlvcml0eScgPT4gMgoJCSk7CgkJCgkJJHRoaXMtPl9tb2R1bGVfbmFtZSA9ICRhcmdzWyAnc2x1ZycgXTsKCQlwYl9yZWdpc3Rlcl9tb2R1bGUoICRhcmdzICk7CgkJCgkJLy9BY3Rpb25zCgkJJGFjdGlvbiA9IHNwcmludGYoICdwYl9sb2FkcGFnZV8lc18lcycsICRhcmdzWyAnc2x1ZycgXSwgJGFyZ3NbICdwYWdlJyBdICk7CgkJcGJfYWRkX2FjdGlvbiggJGFjdGlvbiAsIGFycmF5KCAmJHRoaXMsICdkaXNwbGF5X3BhZ2UnICkgKTsKCX0gLy9lbmQgaW5pdAoJCglmdW5jdGlvbiBkaXNwbGF5X3BhZ2UoKSB7CgkJCgkJJHBhZ2UgPSAkdGhpcy0+Z2V0X3BsdWdpbl9kaXIoICdwYWdlcy9ob21lLnBocCcsIF9fRklMRV9fICk7CgkJCgkJaWYgKCAhZmlsZV9leGlzdHMoICRwYWdlICkgKSB7CgkJCT8+CgkJCTxoMj5Db3VsZCBub3QgbG9hZCBwYWdlPC9oMj4KCQkJPD9waHAKCQl9IGVsc2UgewoJCQlyZXF1aXJlX29uY2UoICRwYWdlICk7CgkJfQoJfSAvL2VuZCBkaXNwbGF5X3BhZ2UKCQp9IC8vZW5kIGNsYXNzCiRyYl9vcHRpb25zX2VkaXRvciA9IG5ldyByYl9vcHRpb25zX2VkaXRvcigpOwo/Pg== ###PACKDATA,FILE_END,/repairbuddy/modules/options_editor/init.php,repairbuddy/modules/options_editor/init.php ###PACKDATA,FILE_START,/repairbuddy/modules/server_info/init.php,repairbuddy/modules/server_info/init.php PD9waHAKLy8gbW9kdWxlX3NsdWcsIE1vZHVsZSBUaXRsZSwgTW9kdWxlIERlc2NyaXB0aW9uLCBib290c3RyYXAgV29yZFByZXNzPwpjbGFzcyByYl9zZXJ2ZXJfaW5mbyBleHRlbmRzIHJlcGFpcmJ1ZGR5X21vZHVsZSB7Cgl2YXIgJF9tb2R1bGVfbmFtZSA9ICcnOwoJZnVuY3Rpb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ciggJ3BhZ2VzL3BocGluZm8ucGhwJywgX19GSUxFX18gKTsKCQlpZiAoICFmaWxlX2V4aXN0cyggJHBhZ2UgKSApIHsKCQkJPz4KCQkJPGgyPkNvdWxkIG5vdCBsb2FkIHBhZ2U8L2gyPgoJCQk8P3BocAoJCX0gZWxzZSB7CgkJCXJlcXVpcmVfb25jZSggJHBhZ2UgKTsKCQl9CgoJfSAvL2VuZCBkaXNwbGF5X3BocGluZm8KCWZ1bmN0aW9uIGRpc3BsYXlfcGFnZSgpIHsKCQkKCQkkcGFnZSA9ICR0aGlzLT5nZXRfcGx1Z2luX2RpciggJ3BhZ2VzL2hvbWUucGhwJywgX19GSUxFX18gKTsKCQkKCQlpZiAoICFmaWxlX2V4aXN0cyggJHBhZ2UgKSApIHsKCQkJPz4KCQkJPGgyPkNvdWxkIG5vdCBsb2FkIHBhZ2U8L2gyPgoJCQk8P3BocAoJCX0gZWxzZSB7CgkJCWdsb2JhbCAkcGx1Z2luYnVkZHlfcmVwYWlyYnVkZHk7CgkJCSRwYXJlbnRfY2xhc3MgPSAkcGx1Z2luYnVkZHlfcmVwYWlyYnVkZHk7CgkJCXJlcXVpcmVfb25jZSggJHBhZ2UgKTsKCQl9Cgl9IC8vZW5kIGRpc3BsYXlfcGFnZQoJCn0gLy9lbmQgY2xhc3MKJHJiX3NlcnZlcl9pbmZvID0gbmV3IHJiX3NlcnZlcl9pbmZvKCk7Cj8+ ###PACKDATA,FILE_END,/repairbuddy/modules/server_info/init.php,repairbuddy/modules/server_info/init.php ###PACKDATA,FILE_START,/repairbuddy/modules/wipe_repairbuddy/init.php,repairbuddy/modules/wipe_repairbuddy/init.php PD9waHAKLy8gbW9kdWxlX3NsdWcsIE1vZHVsZSBUaXRsZSwgTW9kdWxlIERlc2NyaXB0aW9uLCBib290c3RyYXAgV29yZFByZXNzPwpjbGFzcyByYl93aXBlX3JlcGFpcmJ1ZGR5IGV4dGVuZHMgcmVwYWlyYnVkZHlfbW9kdWxlIHsKCXZhci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8aDI+Q291bGQgbm90IGxvYWQgcGFnZTwvaDI+CgkJCTw/cGhwCgkJfSBlbHNlIHsKCQkJcmVxdWlyZV9vbmNlKCAkcGFnZSApOwoJCX0KCX0gLy9lbmQgZGlzcGxheV9wYWdlCgkKfSAvL2VuZCBjbGFzcwokcmJfd2lwZV9yZXBhaXJidWRkeSA9IG5ldyByYl93aXBlX3JlcGFpcmJ1ZGR5KCk7Cj8+ ###PACKDATA,FILE_END,/repairbuddy/modules/wipe_repairbuddy/init.php,repairbuddy/modules/wipe_repairbuddy/init.php ###PACKDATA,FILE_START,/repairbuddy/modules/admin_creator/css/styles.css,repairbuddy/modules/admin_creator/css/styles.css aW5wdXQjdXNlcl9zZWFyY2ggewoJY29sb3I6ICNBQUE7Cn0KI2xvYWRpbmcgewoJbWFyZ2luOiAwIGF1dG87Cgl0ZXh0LWFsaWduOiBjZW50ZXI7Cn0K ###PACKDATA,FILE_END,/repairbuddy/modules/admin_creator/css/styles.css,repairbuddy/modules/admin_creator/css/styles.css ###PACKDATA,FILE_START,/repairbuddy/modules/admin_creator/images/working.gif,repairbuddy/modules/admin_creator/images/working.gif R0lGODlhKwALAPEAAPn5+SiKt5LC2CiKtyH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAKwALAAACMoSOCMuW2diD88UKG95W88uF4DaGWFmhZid93pq+pwxnLUnXh8ou+sSz+T64oCAyTBUAACH5BAkKAAAALAAAAAArAAsAAAI9xI4IyyAPYWOxmoTHrHzzmGHe94xkmJifyqFKQ0pwLLgHa82xrekkDrIBZRQab1jyfY7KTtPimixiUsevAAAh+QQJCgAAACwAAAAAKwALAAACPYSOCMswD2FjqZpqW9xv4g8KE7d54XmMpNSgqLoOpgvC60xjNonnyc7p+VKamKw1zDCMR8rp8pksYlKorgAAIfkECQoAAAAsAAAAACsACwAAAkCEjgjLltnYmJS6Bxt+sfq5ZUyoNJ9HHlEqdCfFrqn7DrE2m7Wdj/2y45FkQ13t5itKdshFExC8YCLOEBX6AhQAADs= ###PACKDATA,FILE_END,/repairbuddy/modules/admin_creator/images/working.gif,repairbuddy/modules/admin_creator/images/working.gif ###PACKDATA,FILE_START,/repairbuddy/modules/admin_creator/js/admin-creator.js,repairbuddy/modules/admin_creator/js/admin-creator.js alF1ZXJ5KCBkb2N1bWVudCApLnJlYWR5KCBmdW5jdGlvbiggJCApIHsKCS8vQ2xlYXIgb3Igc2V0IGRlZmF1bHRzIGZvciBzZWFyY2ggYmFyCgkkKCAiI3VzZXJfc2VhcmNoIiApLmxpdmUoICJjbGljayBmb2N1cyIsIGZ1bmN0aW9uKCkgewoJCXZhciB1c2VyX3NlYXJjaCA9ICQoICIjdXNlcl9zZWFyY2giICkudmFsKCk7CgkJaWYgKCB1c2VyX3NlYXJjaCA9PSBwYl9hZG1pbl9jcmVhdG9yLmRlZmF1bHQgKSB7CgkJCSQoICIjdXNlcl9zZWFyY2giICkudmFsKCAnJyApOwoJCX0KCX0gKTsKCSQoICIjdXNlcl9zZWFyY2giICkubGl2ZSggImJsdXIiLCBmdW5jdGlvbigpIHsKCQl2YXIgdXNlcl9zZWFyY2ggPSAkKCAiI3VzZXJfc2VhcmNoIiApLnZhbCgpOwoJCWlmICggdXNlcl9zZWFyY2ggPT0gJycgKSB7CgkJCSQoICIjdXNlcl9zZWFyY2giICkudmFsKCBwYl9hZG1pbl9jcmVhdG9yLmRlZmF1bHQgKTsKCQl9Cgl9ICk7CgkKCS8vRXZlbnQgZm9yIFNlYXJjaCBCdXR0b24KCSQoICIjc2VhcmNoIiApLmxpdmUoICJjbGljayIsIGZ1bmN0aW9uKCkgewoJCSQoICIjc2VhcmNoIiApLmF0dHIoICdkaXNhYmxlZCcsICdkaXNhYmxlZCcgKTsKCQkkKCAiI3NlYXJjaCIgKS52YWwoIHBiX2FkbWluX2NyZWF0b3Iuc2VhcmNoaW5nICk7CgkJJCggIiNsb2FkaW5nIiApLnNob3coKTsKCQ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nZhbCggcGJfYWRtaW5fY3JlYXRvci5zYXZlICk7CgkJCQkJJCggIiNjYW5jZWwiICkuc2hvdygpOwoJCQkJCSQoICIjc3RhdHVzX21lc3NhZ2UiICkuaHRtbCggcmVzcG9uc2UuZXJyb3IgKTsKCQkJCQkkKCAiI3N0YXR1cyIgKS5yZW1vdmVDbGFzcyggInVwZGF0ZWQiICkuYWRkQ2xhc3MoICJlcnJvciIgKS5zaG93KCk7CgkJCQkJCgkJCQl9IGVsc2UgewoJCQkJCSQoICIjY3JlYXRlX3VzZXIiICkuaGlkZSgpOwoJCQkJCSQoICIjc3RhdHVzX21lc3NhZ2UiICkuaHRtbCggcmVzcG9uc2Uuc3VjY2VzcyApOwoJCQkJCSQoICIjc3RhdHVzIiApLnJlbW92ZUNsYXNzKCAiZXJyb3IiICkuYWRkQ2xhc3MoICJ1cGRhdGVkIiApLnNob3coKTsKCQkJCX0KCQkJY29uc29sZS5sb2coIHJlc3BvbnNlICk7CQkJCgkJfSwgJ2pzb24nKTsKCQkkKCAiI3VzZXJfaWQiICkudmFsKCAnMCcgKTsKCQlyZXR1cm4gZmFsc2U7Cgl9ICk7Cn0gKTs= ###PACKDATA,FILE_END,/repairbuddy/modules/admin_creator/js/admin-creator.js,repairbuddy/modules/admin_creator/js/admin-creator.js ###PACKDATA,FILE_START,/repairbuddy/modules/admin_creator/pages/home.php,repairbuddy/modules/admin_creator/pages/home.php PD9waHAKaWYgKCAhZGVmaW5lZCggJ1BCX1dQX0xPQURFRCcgKSApIDoKCWdsb2JhbCAkcGx1Z2luYnVkZHlfcmVwYWlyYnVkZHk7CgkkcGx1Z2luYnVkZHlfcmVwYWlyYnVkZHktPm91dHB1dF9zdGF0dXMoICJXb3JkUHJlc3MgaXMgcmVxdWlyZWQgZm9yIHRoaXMgZnVuY3Rpb25hbGl0eS4gIFBsZWFzZSBtYWtlIHN1cmUgUmVwYWlyQnVkZHkgaXMgcGxhY2VkIGF0IHRoZSByb290IG9mIHlvdXIgV29yZFBy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ZW4nIG5hbWU9J2hhc2gnIGlkPSdoYXNoJyB2YWx1ZT0nPD9waHAgZWNobyBodG1sc3BlY2lhbGNoYXJzKCAkX0dFVFsgJ3YnIF0gKTsgPz4nIC8+CgkJPGlucHV0IHR5cGU9J2hpZGRlbicgbmFtZT0ncGFnZScgaWQ9J3BhZ2UnIHZhbHVlPSc8P3BocCBlY2hvIGh0bWxzcGVjaWFsY2hhcnMoICRfR0VUWyAncGFnZScgXSApOyA/PicgLz4KCQk8aW5wdXQgdHlwZT0naGlkZGVuJyBuYW1lPSd1c2VyX2lkJyBpZD0ndXNlcl9pZCcgdmFsdWU9JzAnIC8+CgkJCgk8L2Zvcm0+Cgk8ZGl2IGNsYXNzPSd1cGRhdGVkJyBpZD0nc3RhdHVzJyBzdHlsZT0nZGlzcGxheTogbm9uZTsnPjxwPjxzdHJvbmcgaWQ9J3N0YXR1c19tZXNzYWdlJz5kZDwvc3Ryb25nPjwvcD48L2Rpdj4KCTxkaXYgaWQ9J2xvYWRpbmcnIHN0eWxlPSdkaXNwbGF5OiBub25lOyc+PGltZyBzcmM9Jzw/cGhwIGVjaG8gJHRoaXMtPmdldF9wbHVnaW5fdXJsKCAnaW1hZ2VzL3dvcmtpbmcuZ2lmJywgZGlybmFtZSggX19GSUxFX18gKSApOyA/PicgdGl0bGU9IkxvYWRpbmciIGFsdD0iTG9hZGluZyIgLz48L2Rpdj4KPC9kaXY+Cjw/cGhwIAplbmRpZjsKPz4= ###PACKDATA,FILE_END,/repairbuddy/modules/admin_creator/pages/home.php,repairbuddy/modules/admin_creator/pages/home.php ###PACKDATA,FILE_START,/repairbuddy/modules/backupbuddy_dat/pages/home.php,repairbuddy/modules/backupbuddy_dat/pages/home.php PD9waHAKaWYgKCBzdWJzdHIoICRfUE9TVFsnc3VibWl0J10sIDAsIDEgKSA9PSAnRCcgKSB7IC8vIERFQ1JZUFQKCSRkYXRfZW5jcnlwdGVkID0gdHJpbSggJF9QT1NUWydkYXRfZW5jcnlwdGVkJ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uddy/modules/backupbuddy_dat/pages/home.php ###PACKDATA,FILE_START,/repairbuddy/modules/database_information/pages/home.php,repairbuddy/modules/database_information/pages/home.php PD9waHAKaWYgKCAhZGVmaW5lZCggJ1BCX0RCX0xPQURFRCcgKSApIHsKCWdsb2JhbCAkcGx1Z2luYnVkZHlfcmVwYWlyYnVkZHk7CgkkcGx1Z2luYnVkZHlfcmVwYWlyYnVkZHktPm91dHB1dF9zdGF0dXMoICdDb3VsZCBub3QgY29ubmVjdCB0byB0aGUgZGF0YWJhc2UuICBQbGVhc2UgbWFrZSBzdXJlIFJlcGFpckJ1ZGR5IGlzIHBsYWNlZCBhdCB0aGUgcm9vdCBvZiB5b3VyIFdvcmRQcmVzcyBpbnN0YWxsIGFuZCB2ZXJpZnkgeW91ciB3cC1jb25maWcucGhwIGRhdGFiYXNlIGNyZWRlbnRpYWxzLicsIHRydWUgKTsKfSBlbHNlIHsKCXJlcXVpcmUoICd2aWV3X3Rvb2xzLWRhdGFiYXNlLnBocCcgKTsKfQo/Pg== ###PACKDATA,FILE_END,/repairbuddy/modules/database_information/pages/home.php,repairbuddy/modules/database_information/pages/home.php ###PACKDATA,FILE_START,/repairbuddy/modules/database_string_replace/pages/home.php,repairbuddy/modules/database_string_replace/pages/home.php PD9waHAKaWYgKCAhZGVmaW5lZCggJ1BCX1dQX0xPQURFRCcgKSApIDoKCWdsb2JhbCAkcGx1Z2luYnVkZHlfcmVwYWlyYnVkZHk7CgkkcGx1Z2luYnVkZHlfcmVwYWlyYnVkZHktPm91dHB1dF9zdGF0dXMoICJXb3JkUHJlc3MgaXMgcmVxdWlyZWQgZm9yIHRoaXMgZnVuY3Rpb25hbGl0eS4gIFBsZWFzZSBtYWtlIHN1cmUgUmVwYWlyQnVkZHkgaXMgcGxhY2VkIGF0IHRoZSByb290IG9mIHlvdXIgV29yZFByZXNzIGluc3RhbGwuIiwgdHJ1ZSApOwplbHNlOgoKZ2xvYmFsICRwbHVnaW5idWRkeV9yZXBhaXJidWRke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lvbl90YWJsZSI+PGlucHV0IGlkPSJ0YWJsZV9zZWxlY3Rpb25fdGFibGUiIHR5cGU9InJhZGlvIiBuYW1lPSJ0YWJsZV9zZWxlY3Rpb24iIHZhbHVlPSJzaW5nbGVfdGFibGUiPiBzaW5nbGU6PC9sYWJlbD4KCQk8c2VsZWN0IG5hbWU9InRhYmxlIiBpZD0idGFibGVfc2VsZWN0aW9uX3RhYmxlIiBvbmNsaWNrPSJqUXVlcnkoJyN0YWJsZV9zZWxlY3Rpb25fdGFibGUnKS5jbGljaygpOyI+CgkJCTw/cGhwCgkJCWZvcmVhY2goICR0YWJsZXMgYXMgJHRhYmxlICkgewoJCQkJZWNobyAnPG9wdGlvbiB2YWx1ZT0iJyAuICR0YWJsZSAuICciPicgLiAkdGFibGUgLiAnPC9vcHRpb24+JzsKCQkJfQoJCQk/PgoJCTwvc2VsZWN0PgoJCTxicj48YnI+PGJyPgoJCQoJCTxwIHN0eWxlPSJ0ZXh0LWFsaWduOiBjZW50ZXI7Ij48aW5wdXQgdHlwZT0ic3VibWl0IiBuYW1lPSJzdWJtaXQiIHZhbHVlPSJQZXJmb3JtIFJlcGxhY2VtZW50ICZyYXF1bzsiIGNsYXNzPSJidXR0b24iIC8+PC9wPgoJCQoJPC9mb3JtPgo8P3BocCB9IC8vZW5kIGlmID8+Cjw/cGhwIGVuZGlmOyA/Pg== ###PACKDATA,FILE_END,/repairbuddy/modules/database_string_replace/pages/home.php,repairbuddy/modules/database_string_replace/pages/home.php ###PACKDATA,FILE_START,/repairbuddy/modules/options_editor/pages/home.php,repairbuddy/modules/options_editor/pages/home.php PD9waHAKaWYgKCAhZGVmaW5lZCggJ1BCX1dQX0xPQURFRCcgKSApIDoKCWdsb2JhbCAkcGx1Z2luYnVkZHlfcmVwYWlyYnVkZHk7CgkkcGx1Z2luYnVkZHlfcmVwYWlyYnVkZHktPm91dHB1dF9zdGF0dXMoICJXb3JkUHJlc3MgaXMgcmVxdWlyZWQgZm9yIHRoaXMgZnV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1Ym1pdCIgbmFtZT0ic3VibWl0IiB2YWx1ZT0iU2F2ZSBDaGFuZ2VzIiBjbGFzcz0iYnV0dG9uIiAvPjwvcD4KCjwvZm9ybT4KPD9waHAgZW5kaWY7ID8+ ###PACKDATA,FILE_END,/repairbuddy/modules/options_editor/pages/home.php,repairbuddy/modules/options_editor/pages/home.php ###PACKDATA,FILE_START,/repairbuddy/modules/server_info/pages/home.php,repairbuddy/modules/server_info/pages/home.php PD9waHAKZWNobyAnPGgzPlNlcnZlciBDb25maWd1cmF0aW9uPC9oMz4nOwpyZXF1aXJlKCAndmlld190b29scy1zZXJ2ZXIucGhwJyApOwoKZWNobyAnPGJyPic7CgplY2hvICc8aDM+RmlsZSBQZXJtaXNzaW9uczwvaDM+JzsKcmVxdWlyZSggJ3ZpZXdfdG9vbHMtcGVybWlzc2lvbnMucGhwJyApOwo/Pg== ###PACKDATA,FILE_END,/repairbuddy/modules/server_info/pages/home.php,repairbuddy/modules/server_info/pages/home.php ###PACKDATA,FILE_START,/repairbuddy/modules/server_info/pages/phpinfo.php,repairbuddy/modules/server_info/pages/phpinfo.php PD9waHAKcGhwaW5mbygpOwo/Pg== ###PACKDATA,FILE_END,/repairbuddy/modules/server_info/pages/phpinfo.php,repairbuddy/modules/server_info/pages/phpinfo.php ###PACKDATA,FILE_START,/repairbuddy/modules/server_info/pages/view_tools-permissions.php,repairbuddy/modules/server_info/pages/view_tools-permissions.php PD9waHAKJHRlc3RzID0gYXJyYXkoKTsKCgokdGhpc190ZXN0ID0gYXJyYXkoCgkJCQkndGl0bGUnCQkJPT4JCScvJywKCQkJCSdzdWdnZXN0aW9uJwk9PgkJJzw9IDc1NScsCgkJCQkndmFsdWUnCQkJPT4JCXN1YnN0ciggc3ByaW50ZiggJyVvJywgQGZpbGVwZXJtcyggQUJTUEFUSCAuICcvJyApICksIC00ICksCgkJCSk7CmlmICggIUBmaWxlcGVybXMoIEFCU1BBVEggLiAnLycgKSB8fCBzdWJzdHIoIHNwcmludGYo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JCWVjaG8gJzxkaXYgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICMyMkVFNUI7IGJvcmRlcjogMXB4IHNvbGlkICNFMkUyRTI7Ij4mbmJzcDsmbmJzcDsmbmJzcDs8L2Rpdj4nOwoJCQl9IGVsc2VpZiAoICR0aGlzX3Rlc3RbJ3N0YXR1cyddID09IF9fKCdGQUlMJywgJ0xJT04nKSApIHsKCQkJCWVjaG8gJzxkaXYgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNDRjMzMzM7IGJvcmRlcjogMXB4IHNvbGlkICNFMkUyRTI7Ij4mbmJzcDsmbmJzcDsmbmJzcDs8L2Rpdj4nOwoJCQl9IGVsc2VpZiAoICR0aGlzX3Rlc3RbJ3N0YXR1cyddID09IF9fKCdXQVJOSU5HJywgJ0xJT04nKSApIHsKCQkJCWVjaG8gJzxkaXYgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNGRUZGN0Y7IGJvcmRlcjogMXB4IHNvbGlkICNFMkUyRTI7Ij4mbmJzcDsmbmJzcDsmbmJzcDs8L2Rpdj4nOwoJCQl9IGVsc2UgewoJCQkJZWNobyAndW5rbm93bic7CgkJCX0KCQkJZWNobyAnCTwvdGQ+JzsKCQkJZWNobyAnPC90cj4nOwoJCX0KCQk/PgoJPC90Ym9keT4KPC90YWJsZT4= ###PACKDATA,FILE_END,/repairbuddy/modules/server_info/pages/view_tools-permissions.php,repairbuddy/modules/server_info/pages/view_tools-permissions.php ###PACKDATA,FILE_START,/repairbuddy/modules/server_info/pages/view_tools-server.php,repairbuddy/modules/server_info/pages/view_tools-server.php PD9waHAKaWYgKCAhaXNzZXQoICRwYXJlbnRfY2xhc3MgKSApIHsKCSRwYXJlbnRfY2xhc3MgPSAkdGhpczsKfQovKgogKglJTVBPUlRBTlQgTk9URToKICoKICoJVGhpcyBmaWxlIGlzIHNoYXJlZCBiZXR3ZWVuIG11bHRpcGxlIHByb2plY3RzIC8gcHVycG9zZXM6CiAqCQkrIEJh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2NsYXNzLT5wYWdlX2xpbmsoICdzZXJ2ZXJfaW5mbycsICdwaHBpbmZvJyApIC4gJyIgY2xhc3M9ImJ1dHRvbi1zZWNvbmRhcnkiIHN0eWxlPSJtYXJnaW4tdG9wOiAzcHg7IHRleHQtZGVjb3JhdGlvbjogbm9uZTsiPicuIF9fKCdEaXNwbGF5IEV4dGVuZGVkIFBIUCBTZXR0aW5ncyB2aWEgcGhwaW5mbygpJywgJ0xJT04nKSAuICc8L2E+JzsKCQl9IGVsc2UgewoJCQllY2hvICc8YSBocmVmPSI/c3RlcD0wJmFjdGlvbj1waHBpbmZvJnY9eHYnIC4gbWQ1KCAkcGFyZW50X2NsYXNzLT5fZGVmYXVsdHNbJ2ltcG9ydF9wYXNzd29yZCddIC4gJ2ltcG9ydGJ1ZGR5JyApIC4gJyIgY2xhc3M9ImJ1dHRvbi1zZWNvbmRhcnkiIHN0eWxlPSJtYXJnaW4tdG9wOiAzcHg7IHRleHQtZGVjb3JhdGlvbjogbm9uZTsiPicuIF9fKCdEaXNwbGF5IEV4dGVuZGVkIFBIUCBTZXR0aW5ncyB2aWEgcGhwaW5mbygpJywgJ0xJT04nKSAuICc8L2E+JzsKCQl9Cgl9CgllY2hvICc8L2NlbnRlcj4nOwoJCgkvKgoJZWNobyAnPHByZT4nOwoJcHJpbnRfciggaW5pX2dldF9hbGwoKSApOwoJZWNobyAnPC9wcmU+JzsKCSovCn0KPz4= ###PACKDATA,FILE_END,/repairbuddy/modules/server_info/pages/view_tools-server.php,repairbuddy/modules/server_info/pages/view_tools-server.php ###PACKDATA,FILE_START,/repairbuddy/modules/wipe_repairbuddy/pages/home.php,repairbuddy/modules/wipe_repairbuddy/pages/home.php PD9waHAKZ2xvYmFsICRwbHVnaW5idWRkeV9yZXBhaXJidWRkeTsKZWNobyAkcGx1Z2luYnVkZHlfcmVwYWlyYnVkZHktPnN0YXR1c19ib3goICdSZW1vdmluZyBSZXBhaXJCdWRkeSBmaWxlcy4uLicpOwplY2hvICc8ZGl2IGlkPSJwYl9yZXBhaXJidWRkeV93b3JraW5nIj48aW1nIHNyYz0icmVwYWlyYnVkZHkvaW1hZ2VzL3dvcmtpbmcuZ2lmIiB0aXRsZT0iV29ya2luZy4gUGxlYXNlIHdhaXQgYXMgdGhpcyBtYXkgdGFrZSBhIG1vbWVudC4iPjwvZGl2Pic7CgpmbHVzaCgpOwpzbGVlcCggMTAgKTsKCiRwbHVnaW5idWRkeV9yZXBhaXJidWRkeS0+d2lwZV9yZXBhaXJidWRkeSgpOwoKZWNobyAnPHNjcmlwdCB0eXBlPSJ0ZXh0L2phdmFzY3JpcHQiPmpRdWVyeSgiI3BiX3JlcGFpcmJ1ZGR5X3dvcmtpbmciKS5oaWRlKCk7PC9zY3JpcHQ+JzsKPz4= ###PACKDATA,FILE_END,/repairbuddy/modules/wipe_repairbuddy/pages/home.php,repairbuddy/modules/wipe_repairbuddy/pages/home.php ###PACKDATA,FILE_START,/lib/dbreplace/dbreplace.php,repairbuddy/lib/dbreplace/dbreplace.php PD9waHAKLyoqCiAqCXBsdWdpbmJ1ZGR5X2RicmVwbGFjZSBDbGFzcwogKgogKglIYW5kbGVzIHJlcGxhY2VtZW50IG9mIGRhdGEgaW4gYSB0YWJsZS9kYXRhYmFzZSwgdGV4dCBvciBzZXJpYWxpemVkLiBBIGRhdGFiYXNlIGNvbm5lY3Rpb24gc2hvdWxkIGJlIGluaXRpYWxpemVkIGJlZm9yZSBpbnN0YW50aWF0aW9uLgogKgkKICoJVmVyc2lvbjogMS4wLjAKICoJQXV0aG9yOiBEdXN0aW4gQm9sdG9uCiAqCUF1dGhvciBVUkk6IGh0dHA6Ly9kdXN0aW5ib2x0b24uY29tLwogKgogKglAcGFyYW0JCSRzdGF0dXNfY2FsbGJhY2sJCW9iamVjdAkJT3B0aW9uYWwgb2JqZWN0IGNvbnRhaW5pbmcgdGhlIHN0YXR1cygpIGZ1bmN0aW9uIGZvciByZXBvcnRpbmcgYmFjayBpbmZvcm1hdGlvbi4KICo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CgkJICoJCS8vIEFmdGVyOgoJCSAqCQkkYSA9IGFycmF5KCAnYmFuYW5hJywgJ2NhcnJvdCcgKTsKCQkgKgkJJGIgPSBhcnJheSggJ2JlZWYnLCAnY3VjdW1iZXInICk7CgkJICoJCgkJICoJQHBhcmFtCQlhcnJheQkJJiRhCQlGaXJzdCBhcnJheSB0byBjb21wYXJlIHdpdGggc2Vjb25kLiAocmVmZXJlbmNlKQoJCSAqCUBwYXJhbQkJYXJyYXkJCSYkYgkJU2Vjb25kIGFycmF5IHRvIGNvbXBhcmUgd2l0aCBmaXJzdC4gKHJlZmVyZW5jZSkKCQkgKglAcmV0dXJuCQludWxsCQkJCUFycmF5cyBwYXNzZWQgYXJlIHVwZGF0ZWQgYXMgdGhleSBhcmUgcGFzc2VkIGJ5IHJlZmVyZW5jZS4KCQkgKgoJCSAqLwoJCWZ1bmN0aW9uIHJlbW92ZV9tYXRjaGluZ19hcnJheV9lbGVtZW50cyggJiRhLCAmJGIgKSB7CgkJCSRzaXplb2YgPSBzaXplb2YoICRhICk7CgkJCWZvciggJGk9MDsgJGkgPCAkc2l6ZW9mOyAkaSsrICkgewoJCQkJaWYgKCAkYVskaV0gPT0gJGJbJGldICkgewoJCQkJCXVuc2V0KCAkYVskaV0gKTsKCQkJCQl1bnNldCggJGJbJGldICk7CgkJCQl9CgkJCX0KCQl9CgkJCgkJCgl9IC8vIGVuZCBwbHVnaW5idWRkeV9kYnJlcGxhY2UgY2xhc3MuCn0KPz4= ###PACKDATA,FILE_END,/lib/dbreplace/dbreplace.php,repairbuddy/lib/dbreplace/dbreplace.php ###PACKDATA,FILE_START,/lib/dbreplace/history.txt,repairbuddy/lib/dbreplace/history.txt MS4wLjAgLSAyMDExLTA4LTE4IC0gRHVzdGluIEJvbHRvbgoJQ3JlYXRlZCBkYnJlcGxhY2UgY2xhc3Mu ###PACKDATA,FILE_END,/lib/dbreplace/history.txt,repairbuddy/lib/dbreplace/history.txt ###PACKDATA,FILE_START,/lib/zipbuddy/history.txt,repairbuddy/lib/zipbuddy/history.txt Mi4wLjAgLSAyMDExLTEwLTA4IC0gRHVzdGluIEJvbHRvbgoJQWRkZWQgaGlzdG9yeS50eHQuCglBZGRlZCB1bnppcCBmdW5jdGlvbmFsaXR5Lg== ###PACKDATA,FILE_END,/lib/zipbuddy/history.txt,repairbuddy/lib/zipbuddy/history.txt ###PACKDATA,FILE_START,/lib/zipbuddy/x-zipbuddy.php,repairbuddy/lib/zipbuddy/x-zipbuddy.php PD9waHAKLyoqCiAqCXBsdWdpbmJ1ZGR5X3ppcGJ1ZGR5IENsYXNzIChFeHBlcmltZW50YWwpCiAqCiAqCUhhbmRsZXMgemlwcGluZyBhbmQgdW56aXBwaW5nLCB1c2luZyB0aGUgYmVzdCBtZXRob2RzIGF2YWlsYWJsZSBhbmQgZmFsbGluZyBiYWNrIHRvIHdvcnNlIG1ldGhvZHMKICoJYXMgbmVlZGVkIGZvciBjb21wYXRpYmlsaXR5LiBBbGxvd3MgZm9yIGZvcmNpbmcgY29tcGF0aWJpbGl0eSBtb2Rlcy4KICoJCiAqCVZlcnNpb246IDEuMC4wCiAqCUF1dGhvcjogCiAqCUF1dGhvciBVUkk6IAogKgogKgogKi8KaWYgKCAhY2xhc3NfZXhpc3RzKCAicGx1Z2luYnVkZHlfemlwYnVkZHkiICkgKSB7CgoJY2xhc3MgcGx1Z2luYnVkZHlfemlwYnVkZHkgewoJCgkJY29uc3QgWklQX01FVEhPRFNfVFJBTlNJRU5UID0gJ3BsdWdpbmJ1ZGR5X2JhY2t1cGJ1ZGR5X2F2YWlsX3ppcF9tZXRob2RzJzsKCQljb25zdCBaSVBfTUVUSE9EU19UUkFOU0lFTlRfTElGRSA9IDYwOwoJCWNvbnN0IE5PUk1fRElSRUNUT1JZX1NFUEFSQVRPUiA9ICcvJzsKCQljb25zdCBESVJFQ1RPUllfU0VQQVJBVE9SUyA9ICcvXFwnOwoKICAgIAkvKioKICAgICAgICAgKiBwYXJlbnQgb2JqZWN0CiAgICAgICAgICogCiAgICAgICAgICogQHZhciBvYmplY3QKICAgICAgICAgKi8KICAgICAgICBwcm90ZWN0ZWQgJF9wYXJlbnQgPSBOVUxMOwoKICAgICAgICAvKioKICAgICAgICAgKiBUaGUgcGx1Z2luIHBhdGggZm9yIHRoaXMgcGx1Z2luCiAgICAgICAgICogCiAgICAgICAgICogQHZhciBzdHJpbmcKICAgICAgICAgKi8KICAgICAgICBwdWJsaWMgJF9wbHVnaW5QYXRoID0gJyc7CgogICAgICAgIC8qKgogICAgICAgICAqIFRoZSBwYXRoIG9mIHRoZSB0ZW1wb3JhcnkgZGlyZWN0b3J5IHRoYXQgY2FuIGJlIHVzZWQgZm9yIGNyZWF0aW5nIGZpbGVzIGFuZCBzdHVmZgogICAgICAgICAqIAogICAgICAgICAqIEB2YXIgc3RyaW5nCiAgICAgICAgICovCiAgICAgICAgcHJvdGVjdGVkICRfdGVtcGRpciA9ICIiOwogICAgICAgIAogICAgICAgIC8qKgogICAgICAgICAqIFRoZSBsaXN0IG9mIHppcCBtZXRob2RzIHRoYXQgYXJlIHJlcXVlc3RlZCB0byBiZSB1c2VkCiAgICAgICAgICogCiAgICAgICAgICogQHZhciBhcnJheSBvZiBzdHJpbmcKICAgICAgICAgKi8KICAgICAgICBwcm90ZWN0ZWQgJF9yZXF1ZXN0ZWRfemlwX21ldGhvZHMgPSBhcnJheSgpOwoKICAgICAgICAvKioKICAgICAgICAgKiBUaGUgbW9kZSB3aGljaCB0aGUgb2JqZWN0IGlzIGJlaW5nIGNyZWF0ZWQgZm9yCiAgICAgICAgICogCiAgICAgICAgICogQHZhciBzdHJpbmcKICAgICAgICAgKi8KICAgICAgICBwcm90ZWN0ZWQgJF9tb2RlID0gIiI7CgogICAgICAgIC8qKgogICAgICAgICAqIFN0YXR1cyBtZXNzYWdlIGFycmF5IHVzZWQgd2hlbiBjYWxsaW5nIG90aGVyIG1ldGhvZHMgdG8gZ2V0IHN0YXR1cyBpbmZvcm1hdGlvbiBiYWNrCiAgIC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b3IgdGhpcwoJCWNvbnN0IFNUQVRVU19UWVBFX0RFVEFJTFMgPSAnZGV0YWlscyc7CgkJY29uc3QgTk9STV9ESVJFQ1RPUllfU0VQQVJBVE9SID0gJy8nOwoJCWNvbnN0IERJUkVDVE9SWV9TRVBBUkFUT1JTID0gJy9cXCc7CgoJCXB1YmxpYyAkX3ZlcnNpb24gPSAnMS4wJzsKCiAgICAgICAgLyoqCiAgICAgICAgICogcGFyZW50IG9iamVjdAogICAgICAgICAqIAogICAgICAgICAqIEB2YXIgcGFyZW50IG9iamVjdAogICAgICAgICAqLwogICAgICAgIHByb3RlY3RlZCAkX3BhcmVudCA9IE5VTEw7CgogICAgICAgIC8qKgogICAgICAgICAqIFRoZSBwYXRoIG9mIHRoaXMgZGlyZWN0b3J5IG5vZGUKICAgICAgICAgKiAKICAgICAgICAgKiBAdmFyIHBhdGggc3RyaW5nCiAgICAgICAgICovCiAgICAgICAgcHJvdGVjdGVkICRfcGF0aCA9ICIiOwogICAgICAgIAogICAgICAgIC8qKgogICAgICAgICAqIFRoZSBhYnNvbHV0ZSBwYXRocyB0byBiZSBleGNsdWRlZCwgbXVzdCBiZSAvIHRlcm1pbmF0ZWQKICAgICAgICAgKiAKICAgICAgICAgKiBAdmFyIHBhdGhzX3RvX2V4Y2x1ZGUgYXJyYXkgb2Ygc3RyaW5nCiAgICAgICAgICovCiAgICAgICAgcHJvdGVjdGVkICRfcGF0aHNfdG9fZXhjbHVkZSA9IGFycmF5KCk7CgogICAgICAgIC8qKgogICAgICAgICAqIFRoZSBkaXJlY3RvcnkgbGlzdGluZyBpdGVtcyB0byBiZSBpZ25vcmVkCiAgICAgICAgICogCiAgICAgICAgICogQHZhciBpdGVtc190b19pZ25vcmUgYXJyYXkgb2Ygc3RyaW5nCiAgICAgICAgICovCiAgICAgICAgcHJvdGVjdGVkICRfaXRlbXNfdG9faWdub3JlID0gYXJyYXkoICIuIiwgIi4uIiwgIi5EU19TdG9yZSIgKTsKCiAgICAgICAgLyoqCiAgICAgICAgICogVGhlIGl0ZW1zIHRoYXQgYXJlIHRlcm1pbmFscyBhbmQgd2UgY2FuIGFkZCBkaXJlY3RseSBmb3IgdGhpcyBkaXJlY3RvcnkgKGFic29sdXRlIHBhdGhzKQogICAgICAgICAqIAogICAgICAgICAqIEB2YXIgdGVybWluYWxzIGFycmF5IG9mIHN0cmluZwogICAgICAgICAqLwogICAgICAgIHByb3RlY3RlZCAkX3Rlcm1pbmFscyA9IGFycmF5KCk7CgogICAgICAgIC8qKgogICAgICAgICAqIFRoZSBicmFuY2ggbm9kZXMgb2Ygc3Vib3JkaW5hdGUgZGlyZWN0b3JpZXMgdGhhdCBhcmUgb24gYW4gZXhjbHVzaW9uIHBhdGgKICAgICAgICAgKiAKICAgICAgICAgKiBAdmFyIGJyYW5jaGVzIGFycmF5IG9mIHN0cmluZyA9PiBwbHVnaW5idWRkeV96YmRpcgogICAgICAgICAqLwogICAgICAgIHByb3RlY3RlZCAkX2JyYW5jaGVzID0gYXJyYXkoKTsKCiAgICAgICAgLyoqCiAgICAgICAgICogV2hldGhlciBvciBub3Qgd2UgY2FuIGNhbGwgYSBzdGF0dXMgY2FsYmFjawogICAgICAgICAqIAogICAgICAgICAqIEB2YXIgaGF2ZV9zdGF0dXNfY2FsbGJhY2sgYm9vbAogICAgICAgICAqLwoJCXByb3RlY3RlZCAkX2hhdmVfc3RhdHVzX2NhbGxiYWNrID0gZmFsc2U7CgkJCiAgICAgICAgLyoqCiAgICAgICAgICogT2JqZWN0LT5tZXRob2QgYXJyYXkgZm9yIHN0YXR1cyBmdW5jdGlvbgogICAgICAgICAqIAogICAgICAgICAqIEB2YXIgc3RhdHVzX2NhbGxiYWNrIGFycmF5CiAgICAgICAgICovCgkJcHJvdGVjdGVkICRfc3RhdHVzX2NhbGxiYWNrID0gYXJyYXkoKTsKCQkKCQkvKioKCQkgKglfX2NvbnN0cnVjdCgpCgkJICoJCgkJICoJRGVmYXVsdCBjb25zdHJ1Y3Rvci4KCQkgKg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FuZGlkYXRlcyApIHsKCgkJCWZvcmVhY2ggKCAkY2FuZGlkYXRlcyBhcyAkY2FuZGlkYXRlICkgewoJCQkKCQkJCWlmICggISggZmFsc2UgPT09IHN0cnBvcyggJGNhbmRpZGF0ZSwgJHByZWZpeCApICkgKSB7CgoJCQkJCS8vIFdlIGZvdW5kIHRoZSBwcmVmaXgKCQkJCQlyZXR1cm4gdHJ1ZTsKCQkJCQkKCQkJCX0KCQkJCQoJCQl9CgkJCQoJCQkvLyBHb3QgdGhpcyBmYXIgc28gbm90IGEgcHJlZml4CgkJCXJldHVybiBmYWxzZTsKCQkJCgkJfQoJCQoJfSAvLyBlbmQgcGx1Z2luYnVkZHlfemJkaXIgY2xhc3MuCQoJCn0KPz4= ###PACKDATA,FILE_END,/lib/zipbuddy/zbdir.php,repairbuddy/lib/zipbuddy/zbdir.php ###PACKDATA,FILE_START,/lib/zipbuddy/zbzipcore.php,repairbuddy/lib/zipbuddy/zbzipcore.php PD9waHAKLyoqCiAqCXBsdWdpbmJ1ZGR5X3piemlwY29yZSBDbGFzcwogKgogKiAgUHJvdmlkZXMgYW4gYWJzdHJhY3QgemlwIGNhcGFiaWxpdHkgY29yZSBjbGFzcwogKgkKICoJVmVyc2lvbjogMS4wLjAKICoJQXV0aG9yOgogKglBdXRob3IgVVJJOgogKgogKglAcGFyYW0JCSRwYXJlbnQJCW9iamVjdAkJT3B0aW9uYWwgcGFyZW50IG9iamVjdCB3aGljaCBjYW4gcHJvdmlkZSBmdW5jdGlvbnMgZm9yIHJlcG9ydGluZywgZXRjLgogKglAcmV0dXJuCQludWxsCiAqCiAqLwppZiAoICFjbGFzc19leGlzdHMoICJwbHVnaW5idWRkeV96YnppcGNvcmUiICkgKSB7CgoJYWJzdHJhY3QgY2xhc3MgcGx1Z2luYnVkZHlfemJ6aXBjb3JlIHsKCQoJCS8vIHN0YXR1cyBtZXRob2QgdHlwZSBwYXJhbWV0ZXIgdmFsdWVzIC0gd291bGQgbGlrZSBhIGNsYXNzIGZvciB0aGlzCgkJY29uc3QgU1RBVFVTX1RZUEVfREVUQUlMUyA9ICdkZXRhaWxzJzsKCQljb25zdCBNQVhfRVJST1JfTElORVNfVE9fU0hPVyA9IDEwOwoJCWNvbnN0IE5PUk1fRElSRUNUT1JZX1NFUEFSQVRPUiA9ICcvJzsKCQljb25zdCBESVJFQ1RPUllfU0VQQVJBVE9SUyA9ICcvXFwnOwoKCQlwdWJsaWMgJF92ZXJzaW9uID0gJzEuMCc7CgogICAgICAgIC8qKgogICAgICAgICAqIHBhcmVudCBvYmplY3QKICAgICAgICAgKiAKICAgICAgICAgKiBAdmFyIHBhcmVudCBvYmplY3QKICAgICAgICAgKi8KICAgICAgICBwcm90ZWN0ZWQgJF9wYXJlbnQgPSBOVUxMOwoKICAgICAgICAvKioKICAgICAgICAgKiBUaGUgcGx1Z2luIHBhdGggZm9yIHRoaXMgcGx1Z2luCiAgICAgICAgICogCiAgICAgICAgICogQHZhciAkX3BsdWdpblBhdGggc3RyaW5nCiAgICAgICAgICovCiAgICAgICAgcHVibGljICRfcGx1Z2luUGF0aCA9ICcnOwoKICAgICAgICAvKioKICAgICAgICAgKiBUaGUgcGF0aCBvZiB0aGlzIGRpcmVjdG9yeSBub2RlCiAgICAgICAgICogCiAgICAgICAgICogQHZhciBwYXRoIHN0cmluZwogICAgICAgICAqLwogICAgICAgIHByb3RlY3RlZCAkX3BhdGggPSAiIjsKICAgICAgICAKICAgICAgICAvKioKICAgICAgICAgKiBUaGUgYWJzb2x1dGUgcGF0aHMgdG8gYmUgZXhjbHVkZWQsIG11c3QgYmUgLyB0ZXJtaW5hdGVkCiAgICAgICAgICogCiAgICAgICAgICogQHZhciBwYXRoc190b19leGNsdWRlIGFycmF5IG9mIHN0cmluZwogICAgICAgICAqLwogICAgICAgIHByb3RlY3RlZCAkX3BhdGhzX3RvX2V4Y2x1ZGUgPSBhcnJheSgpOwoKICAgICAgICAvKioKICAgICAgICAgKiBUaGUgZGV0YWlscyBvZiB0aGUgbWV0aG9kCiAgICAgICAgICogCiAgICAgICAgICogQHZhciBtZXRob2RfZGV0YWlscyBhcnJheQogICAgICAgICAqLwoJCXByb3RlY3RlZCAkX21ldGhvZF9kZXRhaWxzID0gYXJyYXkoKTsKCQkKICAgICAgICAvKioKICAgICAgICAgKiBUaGUgc2V0IG9mIHBhdGhzIGZvciB3aGVyZSB0byBsb29rIGZvciB6aXAgb3Igb3RoZXIgZXhlY3V0YWJsZXMKICAgICAgICAgKgogICAgICAgICAqIEFwcGxpZXMgdG8gTGludXggb25seSAtIGZpcnN0IHBhdGggaXMgZW1wdHkgc28gdGhhdCBkZWZhdWx0IGVudmlyb25tZW50IFBBVEggaXMgdXNlZAogICAgICAgICAqIGZpcnN0LCBhZnRlciB0aGF0IHBvc3NpYmxlIHBhdGhzIChtdXN0IGluY2x1ZGUgbGVhZGluZyBhbmQgdHJhaWxpbmcgc2xhc2gpCiAgICAgICAgICogCiAgICAgICAgICogQHZhciAgZXhlY3V0YWJsZV9wYXRocwlhcnJheQogICAgICAgICAqLwoJCXByb3RlY3RlZCAkX2V4ZWN1dGFibGVfcGF0aHMgPSBhcnJheSggJycsICcvdXNyL2Jpbi8nLCAnL3Vzci9sb2NhbC9iaW4vJyApOwoJCQogICAgICAgIC8qKgogICAgICAgICAqIFdoZXRoZXIgb3Igbm90IHdlIGNhbiBjYWxsIGEgc3RhdHVzIGNhbGJhY2sKICAgICAgICAgKiAKICAgICAgICAgKiBAdmFyIGhhdmVfc3RhdHVzX2NhbGxiYWNrIGJvb2wKICAgICAgICAgKi8KCQlwcm90ZWN0ZWQgJF9oYXZlX3N0YXR1c19jYWxsYmFjayA9IGZhbHNlOwoJCQogICAgICAgIC8qKgogICAgICAgICAqIE9iamVjdC0+bWV0aG9kIGFycmF5IGZvciBzdGF0dXMgZnVuY3Rpb24KICAgICAgICAgKiAKICAgICAgICAgKiBAdmFyIHN0YXR1c19jYWxsYmFjayBhcnJheQogICAgICAgICAqLwoJCXByb3RlY3RlZCAkX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tYWtlciA9IE5VTEwgKTsKCQkKCX0gLy8gZW5kIHBsdWdpbmJ1ZGR5X3piemlwY29yZSBjbGFzcy4JCgkKfQo/Pg== ###PACKDATA,FILE_END,/lib/zipbuddy/zbzipcore.php,repairbuddy/lib/zipbuddy/zbzipcore.php ###PACKDATA,FILE_START,/lib/zipbuddy/zbzipexec.php,repairbuddy/lib/zipbuddy/zbzipexec.php PD9waHAKLyoqCiAqCXBsdWdpbmJ1ZGR5X3piemlwZXhlYyBDbGFzcwogKgogKiAgRXh0ZW5kcyB0aGUgemlwIGNhcGFiaWxpdHkgY29yZSBjbGFzcyB3aXRoIHByb2Mgc3BlY2lmaWMgY2FwYWJpbGl0eQogKgkKICoJVmVyc2lvbjogMS4wLjAKICoJQXV0aG9yOgogKglBdXRob3IgVVJJOgogKgogKglAcGFyYW0JCSRwYXJlbnQJCW9iamVjdAkJT3B0aW9uYWwgcGFyZW50IG9iamVjdCB3aGljaCBjYW4gcHJvdmlkZSBmdW5jdGlvbnMgZm9yIHJlcG9ydGluZywgZXRjLgogKglAcmV0dXJuCQludWxsCiAqCiAqLwppZiAoICFjbGFzc19leGlzdHMoICJwbHVnaW5idWRkeV96YnppcGV4ZWMiICkgKSB7CgoJY2xhc3MgcGx1Z2luYnVkZHlfemJ6aXBleGVjIGV4dGVuZHMgcGx1Z2luYnVkZHlfemJ6aXBjb3JlIHsKCQoJCWNvbnN0IFpJUF9FUlJPUl9GSUxFX05BTUUgPSAnbGFzdF9leGVjX2Vycm9ycy50eHQnOwoJCQogICAgICAgIC8qKgogICAgICAgICAqIG1ldGhvZCB0YWcgdXNlZCB0byByZWZlciB0byB0aGUgbWV0aG9kIGFuZCBlbnRpdGllcyBhc3NvY2lhdGVkIHdpdGggaXQgc3VjaCBhcyBjbGFzcyBuYW1lCiAgICAgICAgICogCiAgICAgICAgICogQHZhciAkX21ldGhvZF90YWcgCXN0cmluZwogICAgICAgICAqLwoJCXB1YmxpYyBzdGF0aWMgJF9tZXRob2RfdGF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JCgkJZnVuY3Rpb24gc2V0X3ppcF9tZXRob2RzKCAkbWV0aG9kcyApIHsKCQkJJHRoaXMtPl96aXBfbWV0aG9kcyA9ICRtZXRob2RzOwoJCX0KCQkKCX0gLy8gRW5kIGNsYXNzCgkKCS8vJHBsdWdpbmJ1ZGR5X3ppcGJ1ZGR5ID0gbmV3IHBsdWdpbmJ1ZGR5X3ppcGJ1ZGR5KCAkdGhpcy0+X29wdGlvbnNbJ2JhY2t1cF9kaXJlY3RvcnknXSApOwp9Cj8+ ###PACKDATA,FILE_END,/lib/zipbuddy/zipbuddy.php,repairbuddy/lib/zipbuddy/zipbuddy.php ###PACKDATA,FILE_START,/classes/view_tools-database.php,repairbuddy/modules/database_information/pages/view_tools-database.php PD9waHAKaWYgKCAhaXNzZXQoICRwYXJlbnRfY2xhc3MgKSApIHsKCSRwYXJlbnRfY2xhc3MgPSAkdGhpczsKfQppZiAoIGRlZmluZWQoICdwbHVnaW5idWRkeV9pbXBvcnRidWRkeScgKSApIHsKCS8vJHBhcmVudF9jbGFzcy0+YWRtaW5fc2NyaXB0cygpOwp9Cj8+Cgo8dGFibGUgY2xhc3M9IndpZGVmYXQiPgoJPHRoZWFkPgoJCTx0ciBjbGFzcz0idGhlYWQiPgoJCQk8P3BocAoJCQkJZWNobyAnPHRoPicsIF9fKCdEYXRhYmFzZSBUYWJsZScsICdMSU9OJyksJzwvdGg+JywKCQkJCQkgJzx0aD4nLCBfXygnU3RhdHVzJywgJ0xJT04nKSwgJzwvdGg+JywKCQkJCQkgJzx0aD4nLCBfXygnRW5naW5lJywgJ0xJT04nKSwgJzwvdGg+JywKCQkJCQkgJzx0aD4nLCBfXygnTGFzdCBVcGRhdGVkJywgJ0xJT04nKSwnPC90aD4nLAoJCQkJCSAnPHRoPicsIF9fKCdSb3dzJywgJ0xJT04nKSwgJzwvdGg+JywKCQkJCQkgJzx0aD4nLCBfXygnU2l6ZScsICdMSU9OJyksICc8L3RoPic7CgkJCT8+CgkJPC90cj4KCT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,/classes/view_tools-database.php,repairbuddy/modules/database_information/pages/view_tools-database.php ###PACKDATA,FILE_START,/classes/view_malware.php,repairbuddy/modules/malware_scan/pages/view_malware.php PD9waHAKaWYgKCAhaXNzZXQoICRwYXJlbnRfY2xhc3MgKSApIHsKCSRwYXJlbnRfY2xhc3MgPSAkdGhpczsKfQppZiAoICFkZWZpbmVkKCAncGx1Z2luYnVkZHlfaW1wb3J0YnVkZHknICkgKSB7CgkkcGFyZW50X2NsYXNzLT5hZG1pbl9zY3JpcHRzKCk7Cn0KCiRzdWN1cmlfbGluayA9ICdodHRwOi8vaXRoZW1lcy5jb20vc3VjdXJpJzsKPz4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5pbnNpZGUgbGFiZWwgewoJCWRpc3BsYXk6IGJsb2NrOwoJCXZlcnRpY2FsLWFsaWduOiB0b3A7CgkJd2lkdGg6IDE0MHB4OwoJCWZvbnQtd2VpZ2h0OiBib2xkOwoJfQo8L3N0eWxlPgoKCjxkaXYgY2xhc3M9IndyYXAiPgoJPD9waHAKCWVjaG8gJzx0YWJsZSBzdHlsZT0id2lkdGg6IDgwJTsgbWluLXdpZHRoOiA2MjBweDsiPjx0cj48dGQ+JzsKCWlmICggIWRlZmluZWQoICdwbHVnaW5idWRkeV9pbXBvcnRidWRkeScgKSApIHsKCQkkcGFyZW50X2NsYXNzLT50aXRsZSggX18oJ01hbHdhcmUgU2NhbicsICdMSU9OJykgKTsKCX0KCWVjaG8gJzwvdGQ+PHRkIGFsaWduPSJyaWdodCI+PGEgaHJlZj0iJyAuICRzdWN1cmlfbGluayAuICciPjxpbWcgc3JjPSInOwoJaWYgKCBkZWZpbmVkKCAncGx1Z2luYnVkZHlfaW1wb3J0YnVkZHknICkgKSB7CgkJZWNobyAncmVwYWlyYnVkZHkvJzsKCX0gZWxzZSB7CgkJJHBhcmVudF9jbGFzcy0+X3BsdWdpblVSTDsKCX0KCWVjaG8gJy9pbWFnZXMvc3VjdXJpLzMucG5nIiBzdH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2Vjb25kYXJ5Ij48P3BocCBfZSgnUGVyZm9ybSBOZXcgU2NhbiBOb3cnLCAnTElPTicpOz8+PC9hPgoJCTwvZGl2PgoJCQoJCTxiciAvPjxiciAvPgoJCTw/cGhwCgl9Cgk/Pgo8L2Rpdj4= ###PACKDATA,FILE_END,/classes/view_malware.php,repairbuddy/modules/malware_scan/pages/view_malware.php ###PACKDATA,FILE_START,/classes/view_tools-permissions.php,repairbuddy/modules/server_info/pages/view_tools-permissions.php PD9waHAKJHRlc3RzID0gYXJyYXkoKTsKCgokdGhpc190ZXN0ID0gYXJyYXkoCgkJCQkndGl0bGUnCQkJPT4JCScvJywKCQkJCSdzdWdnZXN0aW9uJwk9PgkJJzw9IDc1NScsCgkJCQkndmFsdWUnCQkJPT4JCXN1YnN0ciggc3ByaW50ZiggJyVvJywgQGZpbGVwZXJtcyggQUJTUEFUSCAuICcvJyApICksIC00ICksCgkJCSk7CmlmICggIUBmaWxlcGVybXMoIEFCU1BBVEggLiAnLycgKSB8fCBzdWJzdHIoIHNwcmludGYoICclbycsIEBmaWxlcGVybXMoIEFCU1BBVEggLiAnLycgKSApLCAtNCApID4gNzU1ICkgewoJJHRoaXNfdGVzdFsnc3RhdHVzJ10gPSBfXygnV0FSTklORycsICdMSU9OJyk7Cn0gZWxzZSB7CgkkdGhpc190ZXN0WydzdGF0dXMnXSA9IF9fKCdPSycsICdMSU9OJyk7Cn0KYXJyYXlfcHVzaCggJHRlc3RzLCAkdGhpc190ZXN0ICk7CgoKJHRoaXNfdGVzdCA9IGFycmF5KAoJCQkJJ3RpdGxlJwkJCT0+CQknL3dwLWluY2x1ZGVzLycsCgkJCQknc3VnZ2VzdGlvbicJPT4JCSc8PSA3NTUnLAoJCQkJJ3ZhbHVlJwkJCT0+CQlzdWJzdHIoIHNwcmludGYoICclbycsIEBmaWxlcGVybXMoIEFCU1BBVEggLiAnL3dwLWluY2x1ZGVzLycgKSApLCAtNCApLAoJCQkpOwppZiAoICFAZmlsZXBlcm1z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N0Y7IGJvcmRlcjogMXB4IHNvbGlkICNFMkUyRTI7Ij4mbmJzcDsmbmJzcDsmbmJzcDs8L2Rpdj4nOwoJCQl9IGVsc2UgewoJCQkJZWNobyAndW5rbm93bic7CgkJCX0KCQkJZWNobyAnCTwvdGQ+JzsKCQkJZWNobyAnPC90cj4nOwoJCX0KCQk/PgoJPC90Ym9keT4KPC90YWJsZT4K ###PACKDATA,FILE_END,/classes/view_tools-permissions.php,repairbuddy/modules/server_info/pages/view_tools-permissions.php ###PACKDATA,FILE_START,/classes/view_tools-server.php,repairbuddy/modules/server_info/pages/view_tools-server.php PD9waHAKaWYgKCAhaXNzZXQoICRwYXJlbnRfY2xhc3MgKSApIHsKCSRwYXJlbnRfY2xhc3MgPSAkdGhpczsKfQovKgogKglJTVBPUlRBTlQgTk9URToKICoKICoJVGhpcyBmaWxlIGlzIHNoYXJlZCBiZXR3ZWVuIG11bHRpcGxlIHByb2plY3RzIC8gcHVycG9zZXM6CiAqCQkrIEJhY2t1cEJ1ZGR5ICh0aGlzIHBsdWdpbikgU2VydmVyIEluZm8gcGFnZS4KICoJCSsgSW1wb3J0QnVkZHkucGhwIChCYWNrdXBCdWRkeSBpbXBvcnRlcikgU2VydmVyIEluZm9ybWF0aW9uIGJ1dHRvbiBkcm9wZG93biBkaXNwbGF5LgogKgkJKyBTZXJ2ZXJCdWRkeSAocGx1Z2luKQogKgogKglVc2UgY2F1dGlvbiB3aGVuIHVwZGF0ZWQgdG8gcHJldmVudCBicmVha2luZyBvdGhlciBwcm9qZWN0cy4KICoKICovCgoKLy8gaW5pX2dldF9ib29sKCkgY3JlZGl0OiBuaWNvbGFzIGRvdCBncmVrYXMrcGhwIGF0IGdtYWlsIGRvdCBjb20KZnVuY3Rpb24gaW5pX2dldF9ib29sKCAkYSApIHsKCSRiID0gaW5pX2dldCgkYSk7Cglzd2l0Y2ggKHN0cnRvbG93ZXIoJGIpKSB7CgkJY2FzZSAnb24nOgoJCWNhc2UgJ3llcyc6CgkJ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CgkJfSBlbHNlIHsKCQkJZWNobyAnPGEgaHJlZj0iP3N0ZXA9MCZhY3Rpb249cGhwaW5mbyZ2PXh2JyAuIG1kNSggJHBhcmVudF9jbGFzcy0+X2RlZmF1bHRzWydpbXBvcnRfcGFzc3dvcmQnXSAuICdpbXBvcnRidWRkeScgKSAuICciIGNsYXNzPSJidXR0b24tc2Vjb25kYXJ5IiBzdHlsZT0ibWFyZ2luLXRvcDogM3B4OyB0ZXh0LWRlY29yYXRpb246IG5vbmU7Ij4nLiBfXygnRGlzcGxheSBFeHRlbmRlZCBQSFAgU2V0dGluZ3MgdmlhIHBocGluZm8oKScsICdMSU9OJykgLiAnPC9hPic7CgkJfQoJfQoJZWNobyAnPC9jZW50ZXI+JzsKCQoJLyoKCWVjaG8gJzxwcmU+JzsKCXByaW50X3IoIGluaV9nZXRfYWxsKCkgKTsKCWVjaG8gJzwvcHJlPic7CgkqLwp9Cj8+ ###PACKDATA,FILE_END,/classes/view_tools-server.php,repairbuddy/modules/server_info/pages/view_tools-server.php ###PACKDATA,FILE_START,/images/buttons/allcontent-icon.png,repairbuddy/images/buttons/allcontent-icon.png iVBORw0KGgoAAAANSUhEUgAAADwAAAA7CAYAAAAn+enKAAAACXBIWXMAAAsTAAALEwEAmpwYAAAP0klEQVRo3uVba3Bc1X3/7e7d1T61q+dKWj0sWzJgWdgypYFS45IwNE0yNP4ISfolA7TMZPKBL22nX2i/MJ1OGoaZTpPpNNQTSEzThkAL4eWWAE6wTZFlGwvbsq2H9X7sat9P9f87u0e6u1oJaXCntnM1Z+7u3XvPOb//+3FlWVlZAY9nnnkGNTU1cDqdXhl/Jp9/126332Wz2botFgs4bvSDWPL5fCaXy53IZDIfpdPpo4899tivzfdYNODnnnsOXq/3kM/n+5Gcu91utyKAYRiwWq1bBpxMJuFwOCCEui4gtjofcZQAI5vNqufi8Tii0eizsVjsr5544olYGeAjR448Wl9f/0IgEEBtbS0IWDisFtoO4MuXL6OlpUU9fz2Orc6nARcKBQiHkU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0NL3EwqJ6MpRYXt/LpctVvhK+aRuhAMVJZfKJlVFHerUB79S3CXYYqBgrFY0rIWsKs0O7D+AEyc/xFJ4EfUNTZi4eBo/+/5fYueBQ+jc1Y658asYfPdNAfx3ZRJEg0XxZTKgVdBsrMz1a7OhE3yLwuljCnAqmXxWxredTr5Abf/czTC6H6tES4zNacj5QpvFoo0cMCqp4L79+zBxbQLnz3+CffsOoKN7J8ILC7jw7lGce0sI76hBXV1gwxIS96cCiZIPptHSRUCz1db//yCA/+Kpp54q/pPHd5/4duwHR178Y+Hu67LRUDaTVjcxeCj6Nsu6yqQWIXPYtuaL6SpoJW0lwJaywbnHR8dw6NAhHDt2DL/59QfoEsAd7R0IhjpKLq1Y467sVelqhv7HDxokDlprDq27JISO7CTKelbA/lAZSr3JSHjpjCzTJ5b1HyQUfJQhGmPZpFQTs9nyggDFldfjyjBllfvgZx6rKWaJs8UzT1ZVBOQfxTAm91MZvvTggxgaGsIn587i8sglZX3JQd0P4nwUYd1WoQHiIDF0REUOV/5/FYHK89dkfEfA/ny1eLBWpQgzfYvIQt+ILUeelYT84ehypMnlZF5ZCbig3A7NPHtGiXhMfdbH03/z9HVrb5rn1aErm2gEbH6TX3NVXxPuvi9YXnnyyScj5uf/FxHOUfmBbwSLAAAAAElFTkSuQmCC ###PACKDATA,FILE_END,/images/buttons/allcontent-icon.png,repairbuddy/images/buttons/allcontent-icon.png ###PACKDATA,FILE_START,/images/buttons/dbonly-icon.png,repairbuddy/images/buttons/dbonly-icon.png iVBORw0KGgoAAAANSUhEUgAAADwAAAA7CAYAAAAn+enKAAAACXBIWXMAAAsTAAALEwEAmpwYAAAJnklEQVRo3tWbS2hcyRWGq1vderYlvxTbyMSRCSGxGAgTmEU2Wc12wmxnYQKBmCxkbxPIxll4MRszGz+yGTBkIW8C2WSXRQiYDATHhDgmMI6IbEu2bPklW7aeOV9Zvzhdru6+V7YS9YXi9r1d93b9dV7/OVVd2djYCP44f/58o6+v7+fWPqrX6z/o6ekZ536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NinvaAiW6mtNOHpXTBXr7EMy236y7e0zv4bcrIfKbPtsq0uQyKwWuLgSggBIKGBkDaFVrSmAt4vhPV9BLWui6DFQuTtHyc134PTEsTylmMj+flY0oRj5x651iWBuBrVgKhymNKKDzhYIC8Q5taRDtFNbWKKe1Iyz6ejHim1UQ8WnnKdh4wRz5S0q8kQwV8bY9KWy6T0vMpCM+yJPG0tYoKhVXaM613MYG0eOeZVs6Gc2B8AW/HSjze/tqZQaoF6p+ei/Lx91UB2QqrZZcdu2mzaZZHlJlBLWvgebWDJwX+PkurRcqu7WphOTJStS/WOjmsHJNhNwBxjdiXLqfshiNdVYQnUISomarOWVszyfXknEouHGmPIxKHXgKWOAz7gowQA+V80qWT912UT2mvvoeAaGMaRTw+G8z5mv0JYu3q1as37eIDeb5OUoru3eIggZ4zs0chj7ViVTZEM/XfCa0Y+oKeJyHpObeA5pMU9U3rXABE67inmA0bpL5lWvlV9NLWecqk9QExTWWUnG3mKhqA4WU01bBo2DkqL40RceD9mgSREyamlUYoBMlv6N2qU/mYLDqJIDzboq/twluwZ/8YAduNL6z91AYwrp2pRT2xJxn8ICqNevtCgaQgakh/VAyN4B59AZLzIdxj8L48pEnyO2mlPb646CfIzr+8ePHimz95nDp1avHKlSs/ttn/g/34mLbqpVvp04plrkjmiYRUVvVqTwebPOfm5LQiHv696TJqjnXpWjwcgZ47d+43TcTj5MmTfzfQE9bxgg3us3QVgYc1a3yOyxab+a+XpufOOvuqpb9utT6cAk5rWrm14rRtgr1r/mXy7Nmzv9vy3jk1mpqa+sjU6BOT+Khm/ebNm3GflvZwKOfVfyQ6AZYD8ZlSK6eVs2GfIPjEwH/2yYgB/rNJ9vcm2aa9zf8FKQw2ML0EZDQAAAAASUVORK5CYII= ###PACKDATA,FILE_END,/images/buttons/dbonly-icon.png,repairbuddy/images/buttons/dbonly-icon.png ###PACKDATA,FILE_START,/images/buttons/grays2.png,repairbuddy/images/buttons/grays2.png iVBORw0KGgoAAAANSUhEUgAAAA8AAAE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DujcciOHrr38eTsbD//6b/n74r0EMiEvuf39jaF4zyLBEAAAAAElFTkSuQmCC ###PACKDATA,FILE_END,/images/buttons/grays2.png,repairbuddy/images/buttons/grays2.png ###PACKDATA,FILE_START,/images/buttons/restoremigrate-icon.png,repairbuddy/images/buttons/restoremigrate-icon.png iVBORw0KGgoAAAANSUhEUgAAADwAAAA7CAYAAAAn+enKAAAACXBIWXMAAAsTAAALEwEAmpwYAAAPx0lEQVRo3s1bCYwUVRr+6pqZnos5OQZEQEEUELx1V1013mtMxKgr68Ybj0RXY4y7Hru4RF3RaIgb7w0rauJgVLwXFMV1I4J4I6jACiI4OMw9PdNXVe33v37VU93TwyFzWMk/011dx/vef33//6oM3/cR3h588MHSwsLCayhHOo5zmGVZ42W/YRj4pW+CxfO8RCqVWpVIJD6m1MdisRUU3HHHHeoYO3zCww8//JuampoFJSUl4yORCAgatm3DNM1fPGABK+K6bkEymTyWII+NRqN/7OzsnM//t/OQTqW4QMOPPfbYrMrKymeHDRuG8vJyCGBqGNSwAjsQgBsbGyH3Kygo6BfAslHDoIYhWu3q6kJbWxtaW1s/o/zq+uuv71YafvTRR0dXV1cvoHZB0KCGB0W7Ari4uFjdr782AUwtg1pGd3d3gGMGJ2Qef75OAS4rK/sTgRZUVVWpGRft5oIdKNCi3aKion4z6zBoubZYqOznBMymFf9NAeYMny1mLDMdmHKWGcsJmzcjsXYtUt98A++77+C3ttIrOmEkEvA5m5wh8ESgtBScNVj77gtr4kQUTJ0Ke9w4GLa9U9/rzy1QlIiAZ/AS8y6gNZ1jL1iwIDJmzJixMsuBGQcHuzS57vfeQ4Lib9gAi7NmcX8BxZQLp1WvjvX5G50HHs3I53nu+vVIvvUWYjJpBF9w3HGInHgi7DFjBiWIyZhEu4EFietQmeOJz64VkOEA5e7Ygc4XXkBi6VLYHR1wuE/E1GKlo12PuQfaEuCiMTEruY7MML+nNm1CklbRvGgRnBNOQMn558MJAe9vDecDLhgpw+zgi5iBSOdrryG6cCHs5mYU8bujA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4cKF0/jOw5s069HyBHn4nYeB0nYHy8vg/Yr+AhquwAQsX+MR15l/3nnn3aDXo3s0SdB8x2PYw+zrzgpekBgsf+5v7YqlUrNbCfg6+u9Ls2fPRi/AwVZfX38kg9fZ9OfagdTwQAHWpvxf5t9XCLitnc+R3HLLLer3/wO4cK+MymnLNwAAAABJRU5ErkJggg== ###PACKDATA,FILE_END,/images/buttons/restoremigrate-icon.png,repairbuddy/images/buttons/restoremigrate-icon.png ###PACKDATA,FILE_START,/images/pluginbuddy.png,repairbuddy/images/pluginbuddy.png iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5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/YhfhgC+DV6jF1UTTZr1ikdDh3bYgZB1qaB6JNRo1/vWnjACzo71MDEa50dfK/HgfSlV8jfPQDaPi5ustVjNphmPN9LdVaDxb2WZs4QdDbVHeTJ6pi9eNZEZ6DN5tlln4toOhMr5AirBV8VUejLosAXDLWRMnyb3hIHPXbZq1hSfgCQSNADNXQ9wbDoGTxHOy1QqigVKhpLetxMOWYmYOiwLXYovO2VZXf06GAaG7ZZ8L7XnXW7tilr0AlDdUvmglgIIGcpupyNypaHZCJG0pxH3/YWp+L/fgNvSeAIUqbOx8fTv9NDKQjQvKVCpY3kq3LAJ7Kh6Pm0CTvwsm4AAdS0OTSwmnIwrQqZPpy19eXgJSvm4usA8cVI2cf2qjT5Y6bUyn8pFKJwPAHpBonJrB8TgIeplPVSMgu9/97fsH+j8FsqNrL8aBZt/eB3aPC/w7AI6b1V5KLAy/AAAAAElFTkSuQmCC ###PACKDATA,FILE_END,/images/pluginbuddy.png,repairbuddy/images/pluginbuddy.png ###PACKDATA,FILE_START,/images/pluginbuddy_tip.png,repairbuddy/images/pluginbuddy_tip.png iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAB/ElEQVR42n2RPYgaQRiG585rclGLhKQ2gYOUipjiyBGCTQhpNEVsrhAigsWhkEKwSEQQjCBroSBiYQpFEBv/Cn+XCLsElOMCBvUaFYWARoXgKSc3eVlQ9jY/LzwwzHzPzDczJJPJCOTzeVIqlQRqtdpj8BK8Bk/AfrFYJOl0mogjlV8A5ivS6XS+93q9ThMpl8t1yG/+J1tYluXm8/mMSrJcLn/xPN+E/B7KvlR+XqlU+M1mc03/kRsEG5xHIpF30GSCHIvFSCKRCEyn05/bwsFgQLPZLI3H4xQ3EHdwlUqlWJVK9WArP0Q7HBUll8sJTCYTGo1G6Xg83q3V6/ULi8XyFuoBCYVCJ9Vq9ZtYXq1WdDgcChsEg0G6WCx2a61W69JqtX6ArCB+v/+4UChAvhWhXWxM+/0+FYfjuEuTyeSFfJ94PB5FIBBo3CCiGqFVdESlSSaTLZ1Od7aVidPp/Njtdn+Ii/Bt1OVy3RJHo9HMbDbnIerBXWK32wlQu93uBu52JS7GD+zG6/X62ufzcTjVD/EIyLYywQue4qRGu93edSD6upnX6+X1ev1nSM+AnEiyZzQaj/EYjM1mYxmGaYbD4XOHw/HFYDBk1Wr1J9ScgHtgD0gjTB7K5XKVVqs1ajQas1KpfIW5p+ARUEjEPwOZIDJwBxyCg79JvwFn8/sITKnYXQAAAABJRU5ErkJggg== ###PACKDATA,FILE_END,/images/pluginbuddy_tip.png,repairbuddy/images/pluginbuddy_tip.png ###PACKDATA,FILE_START,/images/sucuri/3.png,repairbuddy/images/sucuri/3.png iVBORw0KGgoAAAANSUhEUgAAAGQAAAAyCAYAAACqNX6+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yV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IG+pSwMCSjflyCu/APm+COe/QXoMBkJQiwMgOcY6qiANQir5m7I0wIjvQZ6vLh48eIiKPI8qLSe82HtOsyzF3ME8127pEoz5OiDjgqUwXFvLEolqDTWkytXrhwDo/CqP7pgjMZa1Viru9+z/8D1A/9dVuAKABK4AoAEAAlcAUACgASuACABQAJXAJAAIIErAEjg8nf9twADAIRpmwU8cinAAAAAAElFTkSuQmCC ###PACKDATA,FILE_END,/images/sucuri/3.png,repairbuddy/images/sucuri/3.png ###PACKDATA,END */