Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.16.66.183
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
app /
Http /
Controllers /
Delete
Unzip
Name
Size
Permission
Date
Action
Auth
[ DIR ]
drwxr-xr-x
2018-12-04 21:08
AjaxController.php
23.61
KB
-rw-r--r--
2021-05-31 12:36
AuthController.php
20.44
KB
-rw-r--r--
2022-03-17 06:38
ChatsController.php
48.85
KB
-rw-r--r--
2023-02-17 19:15
Controller.php
361
B
-rw-r--r--
2021-02-09 19:47
Cpayeer.php
4.13
KB
-rw-r--r--
2021-03-29 14:58
HomeController.php
500
B
-rw-r--r--
2021-05-06 16:58
RestController.php
19.57
KB
-rw-r--r--
2023-05-03 17:49
Save
Rename
<?php class CPayeer { private $url = 'https://payeer.com/ajax/api/api.php'; private $agent = 'Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0'; private $auth = array(); private $output; private $errors; private $language = 'ru'; public function __construct($account, $apiId, $apiPass) { $arr = array( 'account' => $account, 'apiId' => $apiId, 'apiPass' => $apiPass, ); $response = $this->getResponse($arr); if ($response['auth_error'] == '0') { $this->auth = $arr; } } public function isAuth() { if (!empty($this->auth)) return true; return false; } private function getResponse($arPost) { if (!function_exists('curl_init')) { die('curl library not installed'); return false; } if ($this->isAuth()) { $arPost = array_merge($arPost, $this->auth); } $data = array(); foreach ($arPost as $k => $v) { $data[] = urlencode($k) . '=' . urlencode($v); } $data[] = 'language=' . $this->language; $data = implode('&', $data); $handler = curl_init(); curl_setopt($handler, CURLOPT_URL, $this->url); curl_setopt($handler, CURLOPT_HEADER, 0); curl_setopt($handler, CURLOPT_POST, true); curl_setopt($handler, CURLOPT_POSTFIELDS, $data); curl_setopt($handler, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($handler, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($handler, CURLOPT_USERAGENT, $this->agent); curl_setopt($handler, CURLOPT_RETURNTRANSFER, 1); $content = curl_exec($handler); //print_r($content); //$arRequest = curl_getinfo($handler); print_r($arRequest); curl_close($handler); //print_r($content); $content = json_decode($content, true); if (isset($content['errors']) && !empty($content['errors'])) { $this->errors = $content['errors']; } return $content; } public function getPaySystems() { $arPost = array( 'action' => 'getPaySystems', ); $response = $this->getResponse($arPost); return $response; } public function initOutput($arr) { $arPost = $arr; $arPost['action'] = 'initOutput'; $response = $this->getResponse($arPost); if (empty($response['errors'])) { $this->output = $arr; return true; } return false; } public function output() { $arPost = $this->output; $arPost['action'] = 'output'; $response = $this->getResponse($arPost); if (empty($response['errors'])) { return $response['historyId']; } return false; } public function getHistoryInfo($historyId) { $arPost = array( 'action' => 'historyInfo', 'historyId' => $historyId ); $response = $this->getResponse($arPost); return $response; } public function getBalance() { $arPost = array( 'action' => 'balance', ); $response = $this->getResponse($arPost); return $response; } public function getErrors() { return $this->errors; } public function transfer($arPost) { $arPost['action'] = 'transfer'; $response = $this->getResponse($arPost); return $response; } public function SetLang($language) { $this->language = $language; return $this; } public function getShopOrderInfo($arPost) { $arPost['action'] = 'shopOrderInfo'; $response = $this->getResponse($arPost); return $response; } public function checkUser($arPost) { $arPost['action'] = 'checkUser'; $response = $this->getResponse($arPost); if (empty($response['errors'])) { return true; } return false; } public function getExchangeRate($arPost) { $arPost['action'] = 'getExchangeRate'; $response = $this->getResponse($arPost); return $response; } public function merchant($arPost) { $arPost['action'] = 'merchant'; $arPost['shop'] = json_encode($arPost['shop']); $arPost['form'] = json_encode($arPost['form']); $arPost['ps'] = json_encode($arPost['ps']); if (empty($arPost['ip'])) $arPost['ip'] = $_SERVER['REMOTE_ADDR']; $response = $this->getResponse($arPost); if (empty($response['errors'])) { return $response; } return false; } }