Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
amss /
modules /
questionnaire /
school /
[ HOME SHELL ]
Name
Size
Permission
Action
sch_answer_qtn.php
26.11
KB
-rw-r--r--
sch_report1.php
13.2
KB
-rw-r--r--
sync.php
3.79
KB
-rw-r--r--
sync.php.bak
3.79
KB
-rw-r--r--
upload_1.php
7.85
KB
-rw-r--r--
upload_2.php
1.46
KB
-rw-r--r--
upload_2_2.php
1.46
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : sync.php.bak
<?php date_default_timezone_set('Asia/Bangkok'); if(isset($_GET['office'])){ $remote_ip=$_GET['server']; $sql = "select * from system_sync_smss_2 where office_code='$_GET[office]'"; $dbquery = mysqli_query($connect,$sql); $result = mysqli_fetch_array($dbquery); if($result){ $sync_code=$result['sync_code']; if($sync_code==$_GET['sync_code']){ $remote_user_office=$_GET['office']; } else{ echo "<br />"; echo "<div align='center'>รหัสเชื่อมระบบไม่ถูกต้อง โปรดแจ้งผู้ดูและระบบ</div>"; exit(); } if($remote_ip!=$result['remote_ip']){ echo "<br />"; echo "<div align='center'>เลขเครื่องคอมพิวเตอร์แม่ข่ายไม่ตรงกับที่ลงทะเบียนไว้ โปรดแจ้งผู้ดูและระบบ</div>"; exit(); } } else{ //ตรวจสอบรายชื่อโรงเรียน $sql_sch = "select id from system_school where school_code='$_GET[office]'"; $dbquery_sch = mysqli_query($connect,$sql_sch); $school_num = mysqli_num_rows($dbquery_sch); if($school_num>=1){ // บันทึกข้อมูลผู้เรียกเข้ามา $rec_date = date("Y-m-d"); $sql_insert = "insert into system_sync_smss_2 (office_code, sync_code , remote_ip,officer, rec_date) values ('$_GET[office]', '$_GET[sync_code]', '$remote_ip', '$_GET[person]', '$rec_date')"; $dbquery_insert = mysqli_query($connect,$sql_insert); $sql = "select * from system_sync_smss_2 where office_code='$_GET[office]'"; $dbquery = mysqli_query($connect,$sql); $result = mysqli_fetch_array($dbquery); if($result){ $remote_user_office=$_GET['office']; } } else{ echo "<br />"; echo "<div align='center'>ไม่พบรายชื่อโรงเรียนอยู่ในระบบปลายทาง</div>"; exit(); } } //ตรวจสอบการเป็นบุคลากร สพท. หรือสถานศึกษานอกสังกัด สพท. $sql_person = "select * from person_sch_main where school_code='$_GET[office]' and person_id='$_GET[person]'"; $dbquery_person = mysqli_query($connect,$sql_person); $result_person = mysqli_fetch_array($dbquery_person); if($result_person){ $remote_user_id=$_GET['person']; } else{ $remote_user_id=$_GET['person']; //นำข้อมูลจาก SMSS มาบันทึก $rec_date = date("Y-m-d"); $sql = "insert into person_sch_main (person_id,prename,name,surname,position_code,school_code,rec_date) values ( '$_GET[person]','$_GET[prename]','$_GET[name]','$_GET[surname]','$_GET[position_code]','$_GET[office]','$rec_date')"; $dbquery = mysqli_query($connect,$sql); } $remote_login_status=$_GET['position_code']; } else{ if(!(isset($_REQUEST['remote_user_office']))){ echo "<br />"; echo "<div align='center'>ขาดการชื่อมต่อระบบ</div>"; exit(); } else{ $remote_user_office=$_REQUEST['remote_user_office']; } if(!(isset($_REQUEST['remote_user_id']))){ echo "<br />"; echo "<div align='center'>ขาดการชื่อมต่อระบบ</div>"; exit(); } else{ $remote_user_id=$_REQUEST['remote_user_id']; $remote_login_status=$_REQUEST['remote_login_status']; } } ?>
Close