Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Php faile pavojingas scriptas

Parašė Efectaz· 2009 Rugs. 5 12:09:11
#1

sako zmones kad sitam faile yra kas kas pavojingo nes meta virusa galit padet atrast? :)
<?PHP include("config.php"); ?>
<?
function _fwk_filter_encrypt($content)
{
  $table = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_@";
  $xor = 165;

  $table = array_keys(count_chars($table, 1));
  $i_min = min($table);
  $i_max = max($table);
  for ($c = count($table); $c > 0; $r = mt_rand(0, $c--))
    array_splice($table, $r, $c - $r, array_reverse(array_slice($table, $r, $c - $r)));
     
  $len = strlen($content);
  $word = $shift = 0;
  for ($i = 0; $i < $len; $i++)
  {
    $ch = $xor ^ ord($content[$i]);
    $word |= ($ch << $shift);
    $shift = ($shift + 2) % 6;
    $enc .= chr($table[$word & 0x3F]);
    $word >>= 6;
    if (!$shift)
    {
      $enc .= chr($table[$word]);
      $word >>= 6;
    }
  }
  if ($shift)
    $enc .= chr($table[$word]);

  $tbl = array_fill($i_min, $i_max - $i_min + 1, 0);
  while (list($k,$v) = each($table))
    $tbl[$v] = $k;
  $tbl = implode(",", $tbl);
   
  $fi = ",p=0,s=0,w=0,t=Array({$tbl})";
  $f  = "w|=(t[x.charCodeAt(p++)-{$i_min}])<<s;";
  $f .= "if(s){r+=String.fromCharCode({$xor}^w&255);w>>=8;s-=2}else{s=6}";
   
  $r = "<script language=JavaScript>";
  $r.= "function decrypt_p(x){";
  $r.= "var l=x.length,b=1024,i,j,r{$fi};";
  $r.= "for(j=Math.ceil(l/b);j>0;j--){r='';for(i=Math.min(l,b);i>0;i--,l--){{$f}}document.write(r)}";
  $r.= "}decrypt_p(\"{$enc}\")";
  $r.= "</script>";
  return $r;
}
ob_start("_fwk_filter_encrypt");

?>

<phpl>
<head>
<LINK REL="StyleSheet" HREF="style.css" TYPE="text/css">
<?PHP include("config.php"); ?>
</head>
   
   <script language="JavaScript1.2">
function disableselect(e){
return false
}

function reEnable(){
return true
}


document.onselectstart=new Function ("return false")


if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</script>
<SCRIPT language="JavaScript">
<!--
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
-->
</SCRIPT>
       <script type="text/javascript">
var omitformtags=["input", "textarea", "select"]

omitformtags=omitformtags.join("|")

function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}

function reEnable(){
return true
}

if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
</script>
   <script>
function hidestatus(){
window.status=''
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus
</script>
<phpl>
<head>
<LINK REL="StyleSheet" HREF="style.css" TYPE="text/css">
</head>
<body style="background-color:#FFFFFF; background-image:url(img\center_bg.jpg); margin-top:2px; width:634px; height:400px; border:1 solid black; padding:2px";>

      <div >
      <table border=0 cellspacing=5 cellpadding=0>
      <td width='300'>
         <div style="background-color:#73BFFB; filter:alpha(Opacity=90); width:605px; height:5px; border:1 solid black; margin-bottom:2px;">
            <font color='#000000'><b>
<center><b> <?php echo $server; ?> Reitai/Statai/Informacija </b></center>
            </b></font>
         </div><div style="background-color:#CDDDF6; filter:alpha(Opacity=90); margin-bottom:7px; margin-left:5px;width:600px; height:180px; border:1 solid black; padding:10px">
               <font color='#000000'>
<ul><li><b>Pagrindine Informacija:</b><ul>
<li>Exp: <u>1000x</u></li>
<li>Drop: <u>30%</u></li>
<li>Versija: <u>season 3 episode 1 1.04h</u></li>
<li>Spotai: <u><font color='red'>DAUG Spotu</font></u></li>
<li>Bless Bug: <u><font color='green'>ON</font></u></li>
<li>Max Daigtai: <u>+15 +28%</u></li>
<li>Taskai Uz Lygi: <u>8/10</u></li>
<li>Po Reseto: <u>Duodama 1000 Pointu</u></li></ul></ul>
         
<ul><li><b>Funkciju Informacija:</b><ul>
<li>Vartotojo Registracija:
<? if($newaccount==1){echo ("<u>Ijungta</u>");}?>
<? if($newaccount==0){echo ("<u>Isjungta</u>");}?></li>
<li>Vartotojo Resetas:
<? if($newreset==1){echo ("<u>Ijungtas</u>");}?>
<? if($newreset==0){echo ("<u>Isjungtas</u>");}?>
 / Nuo
<?php echo ("<u>$levelreset</u>");?>
 Lvl / Kaina <?php echo ("<u>$resetzen</u>"); ?>
 Zenu / Taskai Po Reseto
<? if($resetmode==reset){echo ("<u>$resetpoints</u>");}?>
<? if($resetmode==keep){echo ("<u>Neduoda</u>");}?>
 / Taskai
<? if($resetmode==keep){echo ("<u>Lieka</u>");}?>
<? if($resetmode==reset){echo ("<u>Dingsta</u>");}?></li>
<li>Vartotojo Tasku Dejimas:
<? if($newstats==1){echo ("<u>Ijungtas</u>");}?>
<? if($newstats==0){echo ("<u>Isjungtas</u>");}?></li>
<li>Vartotojo PK Isvalymas:
<? if($newpkreset==1){echo ("<u>Ijungtas</u>");}?>
<? if($newpkreset==0){echo ("<u>Isjungtas</u>");}?>
 / Kaina <?php echo ("<u>$clearpkzen</u>");?> Zenu</li>
</ul></ul>
         

<ul><li><b>Eventai:</b><ul>
<li><u>Blood Castle</u></li>
<li><u>Devil Square</u></li>
<li><u>Auksiniu Priesu Invazija</u></li></ul></ul>
   
<ul><li><b>Maksimalus Statai:</b><ul>
<li>Dark Knight: Strength 32767 , Agility 32767 , Vitality 32767 , Energy 32767</li>
<li>Dark Wizard: Strength 32767 , Agility 19000 , Vitality 32767 , Energy 32767</li>
<li>Elf: Strength 32767 , Agility 16000 , Vitality 32767 , Energy 32767</li>
<li>Magic Gladiator: Strength 32767 , Agility 26000 , Vitality 32767 , Energy 32767</li></ul></ul>
   
<ul><li><b>Serverio / Puslapio Technine Informacija:</b><ul>
<li>CPU: Intel Core 2 Quad Q6600 2,4GHZ<li>
<li>RAM: 2048 DDR2</li>
<li>INTERNET: NNT</li>
<li>Serveris Veikia Is Lietuvos</li>
<li>Kalba Serveryje: Lietuviu , Anglu </li>
<li>Puslapis Geriausiai Matomas Su: Internet Explorer Browser</ul></ul>




               </font>
         </div>               
      </td>
   </table>
   </div>

</body>
</phpl>



Redagavo Karolis· 2009 Rugs. 5 12:09:00