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 /
asset /
main /
[ HOME SHELL ]
Name
Size
Permission
Action
asset.php
89.73
KB
-rw-r--r--
asset_budget_type.php
6.99
KB
-rw-r--r--
asset_building.php
7.37
KB
-rw-r--r--
asset_code_model.php
7.75
KB
-rw-r--r--
asset_company.php
9.95
KB
-rw-r--r--
asset_form_upload.php
4.74
KB
-rw-r--r--
asset_list.php
12.23
KB
-rw-r--r--
asset_method.php
6.91
KB
-rw-r--r--
asset_notification.php
38.37
KB
-rw-r--r--
asset_permission.php
13.12
KB
-rw-r--r--
asset_print.php
9.88
KB
-rw-r--r--
asset_print1.php
8.43
KB
-rw-r--r--
asset_print_lend.php
3.49
KB
-rw-r--r--
asset_print_lend1.php
9.59
KB
-rw-r--r--
asset_print_lend2.php
8.85
KB
-rw-r--r--
asset_print_lendAll.php
3.27
KB
-rw-r--r--
asset_print_lendAll1.php
9.84
KB
-rw-r--r--
asset_print_qrcode.php
10.28
KB
-rw-r--r--
asset_print_qrcode1.php
1.45
KB
-rw-r--r--
asset_report1.php
20
KB
-rw-r--r--
asset_report23.php
20.09
KB
-rw-r--r--
asset_report4.php
19.76
KB
-rw-r--r--
asset_report_to_excell.php
6.54
KB
-rw-r--r--
asset_set.php
8.43
KB
-rw-r--r--
asset_status3.php
85.25
KB
-rw-r--r--
asset_status40.php
85.27
KB
-rw-r--r--
asset_type.php
9.5
KB
-rw-r--r--
index.php
5.76
KB
-rw-r--r--
livesearch.php
2.11
KB
-rw-r--r--
livesearch_notification.php
954
B
-rw-r--r--
manual.php
1.38
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : asset_company.php
<script type="text/javascript" src="css/scrolltop/scrolltopcontrol.js"></script> <script type="text/javascript"> function showResult(str) { var livefile=document.getElementById("livefile").value; if (str.length==0) { document.getElementById("livesearch").innerHTML=""; document.getElementById("livesearch").style.border="0px"; return; } if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (this.readyState==4 && this.status==200) { document.getElementById("livesearch").innerHTML=this.responseText; document.getElementById("livesearch").style.border="1px solid #fff"; } } xmlhttp.open("GET","livesearch.php?q="+str,true); xmlhttp.open("GET","modules/asset/main/livesearch.php?q="+str+"&livefile="+livefile,true); xmlhttp.send(); } </script> <?php /** ensure this file is being included by a parent file */ defined( '_VALID_' ) or die( 'Direct Access to this location is not allowed.' ); //sd page if($result_permission['p1']!=1){ exit(); } echo "<br />"; if(!(($index==1) or ($index==2) or ($index==5))){ echo "<center><font color='#006666' size='3'><strong>ข้อมูลผู้ขาย/ผู้รับจ้าง/ผู้บริจาค</strong></font></center>"; } //ส่วนเพิ่มข้อมูล if($index==1){ echo "<form id='frm1' name='frm1'>"; echo "<input type='hidden' name='livefile' id='livefile' value='asset_company'>"; echo "<Center>"; echo "<Font color='#006666' Size=3><B>เพิ่มข้อมูล</B></Font>"; echo "</Cener>"; echo "<Br><Br>"; echo "<Table width='80%' Border='0'>"; echo "<Tr align='left'><Td align='right'>เลขทะเบียนการค้า/เลขภาษีอากร/เลขประชาชน </Td><Td><Input Type='Text' Name='code' Size='20'></Td></Tr>"; ?> <tr><td align=right valign=top><font color="#0000ff"><strong>** ชื่อผู้ขาย/ผู้รับจ้าง/ผู้บริจาค (พิมพ์ค้นหาก่อนเพิ่มข้อมูล) </strong></font> </td><td> <span><input type="text" size="50" Name='name' id='name' onkeyup="showResult(this.value)" value=<?=$name;?>></span> <div id="livesearch"></div> </td></tr> <?php echo "<Tr align='left'><Td align='right'>ที่อยู่ <font color=red>***</font> </Td><Td><Input Type='Text' Name='address' Size='80'></Td></Tr>"; echo "<Tr align='left'><Td align='right'>Tel. </Td><Td><Input Type='Text' Name='tel' Size='20'></Td></Tr>"; echo "<Tr align='left'><Td align='right'>FAX. </Td><Td><Input Type='Text' Name='fax' Size='20'></Td></Tr>"; echo "<Br>"; echo "</Table>"; echo "<Br>"; echo "<INPUT TYPE='button' name='smb' value='ตกลง' onclick='goto_url(1)' class=entrybutton> <INPUT TYPE='button' name='back' value='ย้อนกลับ' onclick='goto_url(0)' class=entrybutton'>"; echo "<br><br>"; echo "</form>"; } //ส่วนยืนยันการลบข้อมูล if($index==2) { echo "<table width='500' border='0' align='center'>"; echo "<tr><td align='center'><font color='#990000' size='4'>โปรดยืนยันความต้องการลบข้อมูลอีกครั้ง</font><br></td></tr>"; echo "<tr><td align=center>"; echo "<INPUT TYPE='button' name='smb' value='ยืนยัน' onclick='location.href=\"?option=asset&task=main/asset_company&index=3&id=$_GET[id]&page=$_REQUEST[page]\"'> <INPUT TYPE='button' name='back' value='ยกเลิก' onclick='location.href=\"?option=asset&task=main/asset_company&page=$_REQUEST[page]\"'"; echo "</td></tr></table>"; } //ส่วนลบข้อมูล if($index==3){ $sql = "delete from asset_company where id=$_GET[id]"; $dbquery = mysqli_query($connect,$sql); } //ส่วนเพิ่มข้อมูล if($index==4){ $sql = "select * from asset_company where code='$_POST[code]' "; $dbquery = mysqli_query($connect,$sql); if(mysqli_num_rows($dbquery)>=1){ echo "<br /><div align='center'>มีเลขทะเบียนห้างร้านซ้ำกับรายการที่มีอยู่แล้ว ตรวจสอบอีกครั้ง</div>"; exit(); } //MOD เพิ่มรหัส +1 $sql_Add = "SELECT MAX(id) as code_Add FROM asset_company "; $dbquery_Add =mysqli_query($connect,$sql_Add); $result_Add = mysqli_fetch_array($dbquery_Add); $code_Add = $result_Add['code_Add']+1 ; $code=$code."-".substr('00000000'."".$code_Add,-8,8); $sql = "insert into asset_company (code,name,address,tel,fax) values ('$code','$_POST[name]','$_POST[address]','$_POST[tel]','$_POST[fax]')"; $dbquery = mysqli_query($connect,$sql); } //ส่วนฟอร์มแก้ไขข้อมูล if ($index==5){ echo "<form id='frm1' name='frm1'>"; echo "<Center>"; echo "<Font color='#006666' Size=3><B>แก้ไข</B></Font>"; echo "</Cener>"; echo "<Br><Br>"; $sql = "select * from asset_company where id='$_GET[id]'"; $dbquery = mysqli_query($connect,$sql); $result = mysqli_fetch_array($dbquery); echo "<Table width=80% Border=0 Bgcolor=#Fcf9d8>"; echo "<Tr align='left'><Td align='right'>เลขทะเบียนการค้า/เลขภาษีอากร/เลขประชาชน </Td><Td><Input Type='Text' Name='code' Size='20' value='$result[code]'></Td></Tr>"; echo "<Tr align='left'><Td align='right'>ชื่อผู้ขาย/ผู้รับจ้าง/ผู้บริจาค </Td><Td><Input Type='Text' Name='name' id='name' Size='40' value='$result[name]'></Td></Tr>"; echo "<Tr align='left'><Td align='right'>ที่อยู่ </Td><Td><Input Type='Text' Name='address' id='address' Size='80' value='$result[address]'></Td></Tr>"; echo "<Tr align='left'><Td align='right'>Tel. </Td><Td><Input Type='Text' Name='tel' id='tel' Size='20' value='$result[tel]'></Td></Tr>"; echo "<Tr align='left'><Td align='right'>FAX. </Td><Td><Input Type='Text' Name='fax' id='fax' Size='20' value='$result[fax]'></Td></Tr>"; echo "</Table>"; echo "<Br />"; echo "<Input Type=Hidden Name='id' Value='$_GET[id]'>"; echo "<INPUT TYPE='button' name='smb' value='ตกลง' onclick='goto_url_update(1)' class=entrybutton> <INPUT TYPE='button' name='back' value='ย้อนกลับ' onclick='goto_url_update(0)' class=entrybutton'>"; echo "</form>"; } //ส่วนปรับปรุงข้อมูล if ($index==6){ $sql = "update asset_company set code='$_POST[code]', name='$_POST[name]', address='$_POST[address]', tel='$_POST[tel]', fax='$_POST[fax]' where id='$_POST[id]'"; $dbquery = mysqli_query($connect,$sql); } //ส่วนการแสดงผล if(!(($index==2) or ($index==5))){ $sql = "select * from asset_company order by id DESC"; $dbquery = mysqli_query($connect,$sql); echo "<table class='myTableGreen'>"; if($index!=1){ echo "<Tr><Td colspan='9' align='left'><INPUT TYPE='button' name='smb' value='เพิ่มข้อมูล' onclick='location.href=\"?option=asset&task=main/asset_company&index=1\"'>"; } echo "</Td></Tr>"; echo "<Tr bgcolor=#FFCCCC align='center' class=style2> <th width='50'>ที่</th> <th nowrap>เลขทะเบียน</th> <th nowrap>ชื่อ</th> <th>ที่อยู่</th> <th>TEL</th> <th>FAX</th> <th width='50'>ลบ</th><th width='50'>แก้ไข</th></Tr>"; $M=1; While ($result = mysqli_fetch_array($dbquery)) { $id = $result['id']; $code = $result['code']; $name = $result['name']; $address = $result['address']; $tel = $result['tel']; $fax = $result['fax']; if(($M%2) == 0) $color="#FFFFC"; else $color="#FFFFFF"; echo "<Tr bgcolor=$color align=center class=style1 onmouseover=\"javascript:this.bgColor='$color_bgover'\" onmouseout=\"javascript:this.bgColor='$color'\"> <Td valign=top>$id</Td> <Td valign=top align='center' nowrap>$code</Td> <Td valign=top align='left' nowrap>$name</Td> <Td valign=top align='left'>$address</Td> <Td valign=top align='center'>$tel</Td> <Td valign=top align='center'>$fax</Td> <Td valign=top><div align='center'><a href=?option=asset&task=main/asset_company&index=2&id=$id&page=$page><img src=images/my-icons/drop.png width='18' height='18' border='0' alt='ลบ'></a></div></Td> <Td valign=top><a href=?option=asset&task=main/asset_company&index=5&id=$id&page=$page><img src=images/my-icons/edit.png width='18' height='18' border='0' alt='แก้ไข'></a></div></Td> </Tr>"; $M++; } echo "</Table>"; } ?> <script> function goto_url(val){ if(val==0){ callfrm("?option=asset&task=main/asset_company"); // page ย้อนกลับ }else if(val==1){ if(frm1.name.value==""){ alert("กรุณากรอกชื่อผู้ขาย/ผู้รับจ้าง/ผู้บริจาค"); }else if(frm1.address.value==""){ alert("กรุณากรอกที่อยู่"); }else{ callfrm("?option=asset&task=main/asset_company&index=4"); //page ประมวลผล } } } function goto_url_update(val){ if(val==0){ callfrm("javascript:history.back(-1)"); // page ย้อนกลับ }else if(val==1){ if(frm1.code.value == ""){ alert("กรุณากรอกเลขทะเบียนห้างร้าน"); }else if(frm1.name.value==""){ alert("กรุณากรอกชื่อผู้ขาย/ผู้รับจ้าง/ผู้บริจาค"); }else if(frm1.address.value==""){ alert("กรุณากรอกที่อยู่"); }else{ callfrm("?option=asset&task=main/asset_company&index=6"); //page ประมวลผล } } } </script>
Close