uawdijnntqw1x1x1
IP : 18.119.213.213
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,parse_ini_file,show_source,eval,open_base,symlink
OS : Linux
PATH:
/
home
/
sudancam
/
public_html3
/
.well-known
/
..
/
.
/
.
/
.
/
..
/
.trash
/
tyblue.1
/
..
/
catalog.1
/
controller
/
startup
/
api.php
/
/
<?php namespace Opencart\Catalog\Controller\Startup; class Api extends \Opencart\System\Engine\Controller { public function index(): void { $this->load->language('api/login'); $json = []; if (isset($this->request->get['route'])) { $route = (string)$this->request->get['route']; } else { $route = ''; } if (substr($route, 0, 4) == 'api/') { // Remove any method call for checking ignore pages. $pos = strrpos($route, '|'); if ($pos !== false) { $route = substr($this->request->get['route'], 0, $pos); } if ($route !== 'api/login' && !isset($this->session->data['api_id'])) { $json['error'] = $this->language->get('error_permission'); } } $this->response->addHeader('Content-Type: application/json'); $this->response->setOutput(json_encode($json)); } }
/home/sudancam/public_html3/.well-known/.././././../.trash/tyblue.1/../catalog.1/controller/startup/api.php