Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
a2-optimized /
app /
classes /
Delete
Unzip
Name
Size
Permission
Date
Action
class.A2OptAction.php
16.53
KB
-rw-r--r--
2025-04-29 15:40
class.A2OptBase.php
34.32
KB
-rw-r--r--
2025-04-29 15:40
class.A2OptDrupal.php
27.68
KB
-rw-r--r--
2025-04-29 15:40
class.A2OptDrupal8.php
23.09
KB
-rw-r--r--
2025-04-29 15:40
class.A2OptJoomla.php
28.43
KB
-rw-r--r--
2025-04-29 15:40
class.A2OptJoomla25.php
178
B
-rw-r--r--
2025-04-29 15:40
class.A2OptJoomla3.php
182
B
-rw-r--r--
2025-04-29 15:40
class.A2OptMagento.php
16.07
KB
-rw-r--r--
2025-04-29 15:40
class.A2OptMemcache.php
7.77
KB
-rw-r--r--
2025-04-29 15:40
class.A2OptOpenCart.php
25.74
KB
-rw-r--r--
2025-04-29 15:40
class.A2OptPDO.php
683
B
-rw-r--r--
2025-04-29 15:40
class.A2OptPrestaShop.php
21.11
KB
-rw-r--r--
2025-04-29 15:40
class.A2OptStaging.php
1.87
KB
-rw-r--r--
2025-04-29 15:40
class.A2OptTest.php
5.06
KB
-rw-r--r--
2025-04-29 15:40
class.A2OptTurboCache.php
14.24
KB
-rw-r--r--
2025-04-29 15:40
class.A2OptWordPress.php
48.93
KB
-rw-r--r--
2025-04-29 15:40
class.A2Optimize.php
5.25
KB
-rw-r--r--
2025-04-29 15:40
class.MemcacheLite.php
5.22
KB
-rw-r--r--
2025-04-29 15:40
class.MemcachedInstance.php
3.82
KB
-rw-r--r--
2025-04-29 15:40
Save
Rename
<?php class A2Optimize extends A2OptBase { public function __construct() { parent::__construct(); } public function apply_action() { switch ($_REQUEST['action']) { case 'optimize': $this->optimize(); break; case 'deoptimize': $this->deoptimize(); break; case 'is_optimized': $this->is_optimized(); break; case 'get_optimizations': $this->get_optimizations(); break; case 'set_optimization': $this->set_optimization(); break; } exit(); } public function set_optimization() { $app = null; switch ($this->app->type) { case 'PrestaShop': $this->app->ps_ver = $this->get_prestashop_version($this->app->path); $app = new A2OptPrestaShop($this->app); break; case 'WordPress': $app = new A2OptWordPress($this->app); break; case 'Magento': $app = new A2OptMagento($this->app); break; case 'Drupal': case 'Drupal 9': $this->app->dr_ver = $this->get_drupal_version($this->app->path); $app = $this->get_drupal_object($this->app); break; case 'Joomla': $app = new A2OptJoomla($this->app); break; case 'OpenCart': $app = new A2OptOpenCart($this->app); break; default: $this->error("{$this->app->type} is not supported by A2 Optimized"); } if ($app != null) { $optimize = ($_REQUEST['optimize'] === 'true'); $optimizations = $app->set_optimization($_REQUEST['name'], $optimize); $this->app->optimizations = $optimizations; $this->app->optimize = $this->is_optimized(false); $this->update_app_list(); echo json_encode($this->app); } else { $this->error("{$this->app->type} is not configured properly."); } } public function get_optimizations() { $app_db = ORM::for_table('apps')->where('app_path', $this->app->path)->find_one(); //$last_updated = intval($app_db->app_lastupdated); // This is sometimes causing installs to get stuck with an incomplete optimization list. Disabling until we can address fully. $last_updated = 0; $time_now = time() - 180; if ($last_updated < $time_now) { // We haven't looked at this app in the last 3 minutes, refresh the data switch ($this->app->type) { case 'PrestaShop': $this->app->ps_ver = $this->get_prestashop_version($this->app->path); $app = new A2OptPrestaShop($this->app); break; case 'WordPress': $app = new A2OptWordPress($this->app); break; case 'Magento': $app = new A2OptMagento($this->app); break; case 'Drupal': case 'Drupal 9': $this->app->dr_ver = $this->get_drupal_version($this->app->path); $app = $this->get_drupal_object($this->app); break; case 'Joomla': $app = new A2OptJoomla($this->app); break; case 'OpenCart': $app = new A2OptOpenCart($this->app); break; default: $this->error("{$this->app->type} is not supported by A2 Optimized"); } $optimizations = $app->get_optimizations(); $this->app->optimizations = $optimizations; $this->update_app_list(); } echo json_encode($this->app); } public function optimize() { switch ($this->app->type) { case 'PrestaShop': $this->app->ps_ver = $this->get_prestashop_version($this->app->path); $presta = new A2OptPrestaShop($this->app); $presta->optimize(); break; case 'WordPress': $wp = new A2OptWordPress($this->app); $wp->optimize(); break; case 'Magento': $mage = new A2OptMagento($this->app); $mage->optimize(); break; case 'Drupal': case 'Drupal 9': $this->app->dr_ver = $this->get_drupal_version($this->app->path); $drupal = $this->get_drupal_object($this->app); $drupal->optimize(); break; case 'Joomla': $joomla = new A2OptJoomla($this->app); $joomla->optimize(); break; case 'OpenCart': $oc = new A2OptOpenCart($this->app); $oc->optimize(); break; } } public function deoptimize() { return false; } public function is_optimized($echo = true) { $optimized = false; $percent = 0; if (isset($this->app)) { switch ($this->app->type) { case 'PrestaShop': $this->app->ps_ver = $this->get_prestashop_version($this->app->path); $presta = new A2OptPrestaShop($this->app); $percent = $presta->get_percent_optimized(); break; case 'WordPress': $wp = new A2OptWordPress($this->app); $percent = $wp->get_percent_optimized(); break; case 'Joomla': $joomla = new A2OptJoomla($this->app); $percent = $joomla->get_percent_optimized(); break; case 'Magento': $mage = new A2OptMagento($this->app); $percent = $mage->get_percent_optimized(); break; case 'Drupal': case 'Drupal 9': $this->app->dr_ver = $this->get_drupal_version($this->app->path); $drupal = $this->get_drupal_object($this->app); $percent = $drupal->get_percent_optimized(); break; case 'OpenCart': $oc = new A2OptOpenCart($this->app); $percent = $oc->get_percent_optimized(); break; } if ($percent >= 50) { $optimized = true; } if ($echo) { echo json_encode(['optimized' => $optimized, 'optimized_percent' => $percent]); } return ['optimized' => $optimized, 'optimized_percent' => $percent]; } else { $this->error('No Application was given to test optimization.'); } return false; } }