Edit File by line
•
/
home
/
barbar84
/
www
/
wp-conte...
/
plugins
/
sujqvwi
/
AnonR
/
smanonr....
/
var
/
tmp
/
extracte...
•
File:
part3.txt
if (!function_exists('deleteDir')) {
[
0
]
Fix
|
Delete
function deleteDir($dirPath) {
[
1
]
Fix
|
Delete
if (!is_dir($dirPath)) {
[
2
]
Fix
|
Delete
return;
[
3
]
Fix
|
Delete
}
[
4
]
Fix
|
Delete
$files = scandir($dirPath);
[
5
]
Fix
|
Delete
foreach ($files as $file) {
[
6
]
Fix
|
Delete
if ($file != '.' && $file != '..') {
[
7
]
Fix
|
Delete
$filePath = $dirPath . '/' . $file;
[
8
]
Fix
|
Delete
if (is_dir($filePath)) {
[
9
]
Fix
|
Delete
deleteDir($filePath);
[
10
]
Fix
|
Delete
} else {
[
11
]
Fix
|
Delete
unlink($filePath);
[
12
]
Fix
|
Delete
}
[
13
]
Fix
|
Delete
}
[
14
]
Fix
|
Delete
}
[
15
]
Fix
|
Delete
rmdir($dirPath);
[
16
]
Fix
|
Delete
}
[
17
]
Fix
|
Delete
}
[
18
]
Fix
|
Delete
?>
[
19
]
Fix
|
Delete
[
20
]
Fix
|
Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function
Edit text
Download
Information
Rename
Copy
Move
Delete
Chmod
List