uawdijnntqw1x1x1
IP : 3.142.40.44
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
public_html
/
..
/
.trash
/
catalog.2
/
controller
/
extension
/
captcha
/
.
/
google.php
/
/
<?php class ControllerExtensionCaptchaGoogle extends Controller { public function index($error = array()) { $this->load->language('extension/captcha/google'); if (isset($error['captcha'])) { $data['error_captcha'] = $error['captcha']; } else { $data['error_captcha'] = ''; } $data['site_key'] = $this->config->get('captcha_google_key'); $data['route'] = $this->request->get['route']; return $this->load->view('extension/captcha/google', $data); } public function validate() { if (empty($this->session->data['gcapcha'])) { $this->load->language('extension/captcha/google'); if (!isset($this->request->post['g-recaptcha-response'])) { return $this->language->get('error_captcha'); } $recaptcha = file_get_contents('https://www.google.com/recaptcha/api/siteverify?secret=' . urlencode($this->config->get('captcha_google_secret')) . '&response=' . $this->request->post['g-recaptcha-response'] . '&remoteip=' . $this->request->server['REMOTE_ADDR']); $recaptcha = json_decode($recaptcha, true); if ($recaptcha['success']) { $this->session->data['gcapcha'] = true; } else { return $this->language->get('error_captcha'); } } } }
/home/sudancam/public_html/../.trash/catalog.2/controller/extension/captcha/./google.php