pls help any coder

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    pls help any coder

    here is my php file but that is decrypt any one goood coder can be set this into orignal source i am very thanx full of that

    here is my files pls set this into orignal source
    pls setr this and upload it agin or email me on rdxmob@gmail.com
    Attached Files

    #2
    Now thats what i call a What a stupid encryption system here you go.

    theme.php

    PHP Code:
    <?php
      $theme = '' . htmlspecialchars($_GET['file']) . '';
      $type = strstr($file, '.');
      $name = 'prowap/' . str_replace('/', '--prowap----', $theme) . '.gif';
      $location = 'http://' . str_replace(array('\\', '//'), array('/', '/'), $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . '/' . $name);
      if (file_exists($name)) {
          header('Location: ' . $location, true, 301);
          exit;
      }
      
      include('setup.php');
      $size = explode('*', $themepreview);
      $g_preview_image_w = round(intval($size[0]));
      $g_preview_image_h = round(intval($size[1]));
      if ($type == '.nth') {
          include 'req/pclzip.lib.php';
          $nth = &new PclZip($theme);
          $content = $nth->extract(PCLZIP_OPT_BY_NAME, 'theme_descriptor.xml', PCLZIP_OPT_EXTRACT_AS_STRING);
          if (!$content) {
              $content = $nth->extract(PCLZIP_OPT_BY_PREG, '\.xml$', PCLZIP_OPT_EXTRACT_AS_STRING);
          }
          $teg = simplexml_load_string($content[0]['content'])->wallpaper['src'] or $teg = simplexml_load_string($content[0]['content'])->wallpaper['main_display_graphics'];
          $image = $nth->extract(PCLZIP_OPT_BY_NAME, trim($teg), PCLZIP_OPT_EXTRACT_AS_STRING);
          $im = array_reverse(explode('.', $teg));
          $im = 'imageCreateFrom' . str_ireplace('jpg', 'jpeg', trim($im[0]));
          file_put_contents($name, $image[0]['content']);
          $f = $im($name);
          $h = imagesy($f);
          $w = imagesx($f);
          $ratio = $w / $h;
          if ($g_preview_image_w / $g_preview_image_h > $ratio) {
              $g_preview_image_w = $g_preview_image_h * $ratio;
          } else {
              $g_preview_image_h = $g_preview_image_w / $ratio;
          }
          $new = imagecreatetruecolor($g_preview_image_w, $g_preview_image_h);
          imagecopyresampled($new, $f, 0, 0, 0, 0, $g_preview_image_w, $g_preview_image_h, $w, $h);
          imagegif($new, $name);
      } elseif ($type == '.thm') {
          include 'req/tar.php';
          $thm = &new Archive_Tar($theme);
          if (!$file = $thm->extractInString('Theme.xml') or !$file = $thm->extractInString(pathinfo($theme, PATHINFO_FILENAME) . '.xml')) {
              $list = $thm->listContent();
              $all = sizeof($list);
              for ($i = 0; $i < $all; ++$i) {
                  if (pathinfo($list[$i]['filename'], PATHINFO_EXTENSION) == 'xml') {
                      $file = $thm->extractInString($list[$i]['filename']);
                      break;
                  }
              }
          }
          if (!$file) {
              preg_match('/<\?\s*xml\s*version\s*=\s*"1\.0"\s*\?>(.*)<\/.+>/isU', file_get_contents($theme), $arr);
              $file = trim($arr[0]);
          }
          $load = trim((string)simplexml_load_string($file)->Standby_image['Source']);
          if (strtolower(strrchr($load, '.')) == '.swf') {
              $load = '';
          }
          if (!$load) {
              $load = trim((string)simplexml_load_string($file)->Desktop_image['Source']);
          }
          if (strtolower(strrchr($load, '.')) == '.swf') {
              $load = '';
          }
          if (!$load) {
              $load = trim((string)simplexml_load_string($file)->Desktop_image['Source']);
          }
          if (strtolower(strrchr($load, '.')) == '.swf') {
              $load = '';
          }
          if (!$load) {
              exit;
          }
          $image = $thm->extractInString($load);
          $im = array_reverse(explode('.', $load));
          $im = 'imageCreateFrom' . str_ireplace('jpg', 'jpeg', trim($im[0]));
          file_put_contents($name, $image);
          $f = $im($name);
          $h = imagesy($f);
          $w = imagesx($f);
          $ratio = $w / $h;
          if ($g_preview_image_w / $g_preview_image_h > $ratio) {
              $g_preview_image_w = $g_preview_image_h * $ratio;
          } else {
              
              $g_preview_image_h = $g_preview_image_w / $ratio;
          }
          $new = imagecreatetruecolor($g_preview_image_w, $g_preview_image_h);
          imagecopyresampled($new, $f, 0, 0, 0, 0, $g_preview_image_w, $g_preview_image_h, $w, $h);
          imagegif($new, $name);
      }
      header('Location: ' . $location, true, 301);
    ?>
    file.php

    PHP Code:
    <?php
      header('expires: mon, 26 jul 1997 05:00:00 GMT');
      header('Cache-Control: no-cache, must-revalidate');
      header('Pragma: no-cache');
      header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . 'GMT');
      header('Content-type: application/xhtml+xml; charset=UTF-8');
      $mt = microtime(1);
      include('setup.php');
      include('func.php');
      if ($zip) {
          include('zip.php');
      }
      $p = intval(@$_GET['p']);
      $sort = intval(@$_GET['sort']);
      if ($sort > 1 or $sort < 0)
          $sort = 0;
      $file = htmlspecialchars($_GET['file']);
      $file = str_replace("\0", '', $file);
      if (!file_exists($file) or !is_file($file) or !in_array(r($file), explode(',', $allfile)) or strstr($file, '..') or strstr($file, 'http://') or strstr($file, 'ftp://'))
          $file = '';
      if ($file) {
          $dir = str_replace('load/', '', dirname($file));
      } else {
          ob_start();
      }
      header('Content-type:text/html; charset=utf-8');
      echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>';
      echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
      echo "<link rel='shortcut icon' href='/ico.ico'>";
      echo '<title>' . $_SERVER['SERVER_NAME'] . ' ' . date('H') . ':' . date('i') . '</title>';
      echo '<link rel="stylesheet" href="./style.css" type="text/css"/></head><body>';
      echo "<div class='copy'><b><center>$djkang</center></div>";
      if (!$dir) {
          print ' <div class="menu1"> <div class="menu4"><div class="text"> <b><span style="color:#c00000;text-decoration:blink;">Click Below To download your file!</span> </b>';
      }
      echo "<div class='fot'>";
      if (!$file) {
          print 'File not found<br />';
      } else {
          $r = r($file);
          print ' - <b>File:</b> ' . translit($file) . '<br/>';
          $filesize = filesize($file);
          if ($filesize > 1024)
              $filesize = round($filesize / 1024, 2) . ' Kb';
          else
              $filesize .= ' b';
          print ' - <b>Size:</b> ' . $filesize . '<br/>';
          $filectime = filemtime($file);
          print ' - <b>Uploaded Date: </b>' . date('d/m/y H:i', filemtime($file)) . '<br/>';
          $filectime = filectime($file);
          $basename = basename($file);
          if (file_exists('skrin/' . $basename . '.jpg') and $p)
              print ' - <b>Image</b>: <br/><img src="skrin/' . $basename . '.jpg" alt="' . translit($file) . '"/><br/>';
          elseif (file_exists('skrin/' . $basename . '.gif') and $p)
              print ' - <b>Image</b>: <br/><img src="skrin/' . $basename . '.gif" alt="' . translit($file) . '"/><br/>';
          elseif (file_exists('skrin/' . $basename . '.png') and $p)
              print ' - <b>Image</b>: <br/><img src="skrin/' . $basename . '.png" alt="' . translit($file) . '"/><br/>';
          $opis = @file_get_contents('opis/' . $basename . '.txt');
          if ($opis)
              print ' - <b>Descriptions</b>: ' . $opis . '<br/>';
          if (r($file) == 'mp3') {
              include('id.php');
              include('win_to_utf.php');
              $id3 = new MP3_Id();
              $result = $id3->read($file);
              $result = $id3->study();
              $bitrate = $id3->getTag('bitrate') or $bitrate = '(Birate)';
              print ' - <b>Audio Type</b>: ' . r($file) . '<br/>';
              print ' - <b>Quality</b>: ' . $bitrate . ' Kbps (' . $id3->getTag('mode') . ')<br/>';
              if ($id3->getTag('year'))
                  print ' - <b>Year</b>: ' . $id3->getTag('year') . '<br/>';
              print ' - <b>Length</b>: ' . $id3->getTag('length') . ' sec<br/>';
          }
          if (r($file) == '3gp') {
              print '<img src="pre.php?file=' . $file . '" alt="" /><br /><img src="pre2.php?file=' . $file . '" alt="" /><br /><img src="pre3.php?file=' . $file . '" alt="" /><br />';
          }
          if (r($file) == 'avi') {
              print '<img src="pre.php?file=' . $file . '" alt="" /><br /><img src="pre2.php?file=' . $file . '" alt="" /><br /><img src="pre3.php?file=' . $file . '" alt="" /><br />';
          }
          if (r($file) == 'nth') {
              print '<img src="theme.php?file=' . $file . '" alt="" /><br />';
          }
          if (r($file) == 'mp4') {
              print '<img src="pre.php?file=' . $file . '" alt="" /><br /><img src="pre2.php?file=' . $file . '" alt="" /><br /><img src="pre3.php?file=' . $file . '" alt="" /><br />';
          }
          print '<br/>';
          include('ads/mobisolvv.php');
          print '<br>';
          include('ads/mobisolv.php');
          print '<br>';
          include('ads/mobisolv.php');
          print '<br>';
          if ($r != "s_109\" and $r != "s_110" and $r != 'png')
              print ' <a href="' . $file . '"class="style4" onclick=open_win();><font color="red">Download the file</font></a><br/>';
          else {
              list($x, $y, $type, ) = @getimagesize($file);
              if ($type == 1) {
                  $type = 'gif';
              }
              if ($type == 2) {
                  $type = 'jpeg';
              }
              if ($type == 3) {
                  $type = 'png';
              }
              if ($p)
                  print '<img src="pic.php?file=' . $file . '" alt="' . basename($file) . '" /><br/>';
              print ' - <b>Type</b>: ' . $type . '<br/>';
              print ' - <b>Permission</b>: ' . $x . 'x' . $y . '<br/>';
              print '<img src="down_file.gif" alt=""/> <a href="' . $file . '" onclick=openwin();>download the file original file</a><br/> <font color="red">»</font> <a href="imgload.php?x=128&amp;y=128&amp;file=' . $file . '">Download 128*128</a><br/> <font color="red">»</font> <a href="imgload.php?x=128&amp;y=160&amp;file=' . $file . '">Download 128*160</a><br/> <font color="red">»</font> <a href="imgload.php?x=130&amp;y=130&amp;file=' . $file . '">Download 130*130</a><br/> <font color="red">»</font> <a href="imgload.php?x=132&amp;y=176&amp;file=' . $file . '">Download 132*176</a><br/> <font color="red">»</font> <a href="imgload.php?x=176&amp;y=220&amp;file=' . $file . '">Download 176*220</a><br/> <font color="red">»</font> <a href="imgload.php?x=240&amp;y=320&amp;file=' . $file . '">Download 240*320</a><br/> <b>Type Your Resolution</b><br/> <form method="post" action="imgload.php?file=' . $file . '"> <div> <input name="x" maxlength="3" value=""/> <big>x</big> <input name="y" maxlength="3" value=""/><br/> <input name="pr" type="checkbox" value="1"/>Discard proporsional<br/> <input value="Click here to download the file" name="do" type="submit"/> </div> </form> <br/>';
              echo "<div class='text'>";
          }
          $dirkomm = str_replace('/', 'D', str_replace('.', 'T', $file));
          if (!file_exists('komm/' . $dirkomm))
              $countkomm = 0;
          else
              $countkomm = count(file('komm/' . $dirkomm));
          print '</div>';
          if (($countj = count(explode('/', $dir))) > 1) {
              print '</div> <div class="kingy"><div style="text-align: left">Back to:</div> <b>|</b>';
              $j = explode('/', $dir);
              for ($i = 0; $i <= $countj; $i++) {
                  $u = @$j[count($j) - 1];
                  if ($u) {
                      $g[$i] = '<a href="index.php?dir=' . join('/', $j) . '&amp;p=' . $p . '&amp;sort=' . $sort . '">' . transdir($u) . '</a><b>|</b>';
                      unset($j[count($j) - 1]);
                  }
              }
              for ($i = count(@$g) - 1; $i >= 0; $i--)
                  print $g[$i];
          }
      }
      echo '</div> ';
      print '<hr>';
      print '<b>Direct Download Url</b>:<br/><input name="url" maxlength="300" value="http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . '/' . $file . '"/><br>';
      echo "<div class='mes'><div class='mes'><img src='home.gif' alt=''/> <a href='$c'>Home</a><br/></div></div>";
      echo "<div class='copy'>&copy; $c</div></a> </center> </body></html>";
      echo '<center>';
      include('./online.php');
      echo '</center>';
    ?>
    index.php

    PHP Code:
    <?php
      header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
      header('Cache-Control: no-cache, must-revalidate');
      header('Pragma: no-cache');
      header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . 'GMT');
      header('Content-type: application/xhtml+xml; charset=UTF-8');
      $mt = microtime(1);
      include('setup.php');
      include('func.php');
      if ($zip) {
          include('zip.php');
      }
      $p = intval(@$_GET['p']);
      $sort = intval(@$_GET['sort']);
      if ($sort > 1 or $sort < 0)
          $sort = 0;
      $dir = htmlspecialchars((@$_GET['dir']));
      while (substr($dir, 0, 1) == '/')
          $dir = substr($dir, 1, strlen($dir));
      if (strstr($dir, '..') or !is_dir('load/' . $dir) or strstr($dir, 'http://') or strstr($dir, 'ftp://'))
          $dir = '';
      else {
          ob_start();
      }
      header('Content-type:text/html; charset=utf-8');
      echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>';
      echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
      echo "<link rel='shortcut icon' href='/ico.ico'>";
      echo "<title>$sites</title>";
      echo '<link rel="stylesheet" href="./style.css" type="text/css"/> </head><body>';
      echo "<div class='copy'><center><b>$djkang</b></center></div>";
      echo "<div class='mes'>";
      if (!$dir) {
          print '';
      } else {
          $dir_exp = explode('/', $dir);
          print '<div class="mes">' . transdir($dir_exp[count($dir_exp) - 1]) . '</div>';
      }
      echo "<div class='copy'><div class='copy'>";
      if ($p)
          print ' - Preview image: <b>On.</b> (<a href="index.php?p=0&amp;sort=' . $sort . '&amp;dir=' . $dir . '"><b>Off?</b></a>)<br/>';
      else
          print ' - Preview image: <b>Off.</b> (<a href="index.php?p=1&amp;sort=' . $sort . '&amp;dir=' . $dir . '"><b>On?</b></a>)<br/>';
      if ($sort)
          print ' - Sort by: <b>date</b> (<a href="index.php?p=' . $p . '&amp;sort=0&amp;dir=' . $dir . '"><b>name</b></a>)<br/>';
      else
          print ' - Sort by: <b>name</b> (<a href="index.php?p=' . $p . '&amp;sort=1&amp;dir=' . $dir . '"><b>date</b></a>)<br/>';
      echo '</div></div></div>';
      echo "</div><div class='in'><div class='menu1'><div class='text'>";
      $glob_dir = glob('load/' . $dir . '/*', GLOB_ONLYDIR);
      if ($glob_dir)
          include('ads/admob.php');
      print '<br>';
      include('ads/mobisolvv.php');
      print '<hr>';
      {
          $count = count($glob_dir);
          $countstr = ceil($count / $dirstr);
          $page = intval(@$_GET['page']);
          if ($sort)
              usort($glob_dir, 'sortnew');
          $start = $page * $dirstr;
          if ($start >= $count or $start < 0)
              $start = 0;
          $end = $start + $dirstr;
          if ($end >= $count)
              $end = $count;
          for ($i = $start; $i < $end; $i++) {
              $dirt = str_replace('load/', '', $glob_dir[$i]);
              $dir_exp = explode('/', $dirt);
              $count = countf($dirt);
              print '<img src="dir.gif" alt="[dir]"/> <a href="index.php?dir=' . $dirt . '&amp;p=' . $p . '&amp;sort=' . $sort . '">' . transdir($dir_exp[count($dir_exp) - 1]) . '</a><br />';
          }
      }
      include('ads/mobisolv.php');
      print '<hr>';
      $glob_file = glob('load/' . $dir . '/*.{' . $allfile . '}', GLOB_BRACE);
      if ($glob_file) {
          if ($sort)
              usort($glob_file, 'sortnew');
          $count = count($glob_file);
          $countstr = ceil($count / $filestr);
          $page = intval(@$_GET['page']);
          $start = $page * $filestr;
          if ($start >= $count or $start < 0)
              $start = 0;
          $end = $start + $filestr;
          if ($end >= $count)
              $end = $count;
          for ($i = $start; $i < $end; $i++) {
              $name = translit($glob_file[$i]);
              $filesize = filesize($glob_file[$i]);
              if ($filesize > 1024)
                  $filesize = round($filesize / 1024, 2) . ' Kb';
              else
                  $filesize .= ' b';
              echo '';
              $basename = basename($glob_file[$i]);
              if ($p and file_exists('skrin/' . $basename . '.gif')) {
                  print '<img src="pic.php?file=skrin/' . $basename . '.gif" alt="" /><br />';
              } elseif ($p and file_exists('skrin/' . $basename . '.jpg')) {
                  print '<img src="pic.php?file=skrin/' . $basename . '.jpg" alt="" /><br />';
              } elseif ($p and file_exists('skrin/' . $basename . '.png')) {
                  print '<img src="pic.php?file=skrin/' . $basename . '.png" alt="" /><br />';
              }
              if ((r($glob_file[$i]) == "s_84\" or r($glob_file[$i]) == "s_85" or r($glob_file[$i]) == 'png') and $p)
                  print '<img src="pic.php?file=' . $glob_file[$i] . '" alt="" /><br />';
              if ((r($glob_file[$i]) == "s_89" or r($glob_file[$i]) == "s_90" or r($glob_file[$i]) == 'avi') and $p)
                  print '<img src="pre.php?file=' . $glob_file[$i] . '" alt="" /><br />';
              if ((r($glob_file[$i]) == "s_94" or r($glob_file[$i]) == 'thm') and $p)
                  print '<img src="theme.php?file=' . $glob_file[$i] . '" alt="" /><br />';
              print '<img src="dot.png" alt="" /> <strong>' . $name . '</strong><br />';
              print '<a href="file.php?p=' . $p . '&amp;file=' . $glob_file[$i] . '&amp;sort=' . $sort . '">Download</a> [' . $filesize . ']<br />';
              echo '<hr/> ';
              $dirkomm = str_replace('/', 'D', str_replace('.', 'T', $glob_file[$i]));
              if (!file_exists('komm/' . $dirkomm))
                  $countkomm = 0;
              else
                  $countkomm = count(file('komm/' . $dirkomm));
          }
      }
      if ($countstr > 1) {
          print nav_page($countstr, $page, $dir, $p, $sort, 'index');
      }
      echo '</div> ';
      $dir_exp = explode('/', $dir);
      if ($dir)
          print '<div class="kin"><div style="text-align: left"><b>Back to:</b> <b>|</b>';
      if (($countj = count(explode('/', $dir))) > 1) {
          $j = explode('/', $dir);
          for ($i = 0; $i <= $countj; $i++) {
              $u = @$j[count($j) - 2];
              if ($u) {
                  unset($j[count($j) - 1]);
                  $g[$i] = '<a href="index.php?dir=' . join('/', $j) . '&amp;p=' . $p . '&amp;sort=' . $sort . '">' . transdir($u) . '</a><b>|</b></div>';
              }
          }
          for ($i = count(@$g) - 1; $i >= 0; $i--)
              print $g[$i];
          print '';
      }
      if ($zip) {
          include('zipf.php');
      }
      echo '</div>';
      echo "<div class='mes'><div class='mes'><img src='home.gif' alt=''/> <a href='$cs'>Home</a><br/></div></div><center>";
      print '<br>';
      include('banner.php');
      echo "<div class='copy'>&copy; $c</div></a> </center></body></html>";
      echo '<div class="mes"><center>';
      include('./online.php');
      echo '</center></div>';
    ?>
    Last edited by wap2k; 15.01.10, 17:54.

    Comment


      #3
      its a moded sea download script

      Comment

      Working...
      X