Advertisement
plas71k

@david => ic 6.5 file => decoded

Apr 4th, 2013
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.84 KB | None | 0 0
  1. <?php
  2. /*
  3. * @ Pirate-Sky Crew :: PHP Decoder v2
  4. * @ Author: pLa$71k
  5. * @ Web: http://pirate-sky.com
  6. * @ Pirate-Sky Crew © 2008 - 2013
  7. */
  8.  
  9. require_once("base.inc.php");
  10. head();
  11. $hosts         = $db->GetRow("SELECT COUNT(*) as count FROM hosts WHERE type = 'wpmu'");
  12. $total         = $db->GetRow("SELECT COUNT(*) AS count FROM blogs");
  13. $notverified   = $db->GetRow("SELECT COUNT(*) AS count FROM blogs WHERE haspassword = 'no' OR activated = 'no'");
  14. $nonworking    = $db->GetRow("SELECT COUNT(*) AS count FROM blogs WHERE haspassword = 'yes' AND working = 'no'");
  15. $gaccounts     = $db->GetRow("SELECT COUNT(*) AS count FROM gaccounts WHERE verified = 'yes'");
  16. $bloggerblogs  = $db->GetRow("SELECT SUM(blogs) AS count FROM gaccounts");
  17. $pliggaccounts = $db->GetRow("SELECT COUNT(*) AS count FROM pliggaccounts");
  18. $pligghosts    = $db->GetRow("SELECT COUNT(*) as count FROM hosts WHERE type = 'pligg'");
  19. $hc            = new HttpClient();
  20. $balance       = $hc->get("http://linkfarmevolution.com/captcha/balance.php?token=" . $config['security_token']);
  21. echo "<div class=\"notice\">\r\n  Welcome to the LinkFarmEvolution. Here is a quick rundown of what's going on right now(server time is ";
  22. echo "<s";
  23. echo "trong>";
  24. echo date("H:i");
  25. echo "</strong>, server ip is ";
  26. echo "<s";
  27. echo "trong>";
  28. echo $_SERVER['SERVER_ADDR'];
  29. echo "</strong>):\r\n  <ul>\r\n    <li>You have ";
  30. echo "<s";
  31. echo "trong>";
  32. echo $hosts['count'];
  33. echo "</strong> WPMU hosts to create blogs on.</li>\r\n    <li>You have ";
  34. echo "<s";
  35. echo "trong>";
  36. echo $pligghosts['count'];
  37. echo "</strong> Pligg hosts to put your links on.</li>\r\n    <li>You also have ";
  38. echo "<s";
  39. echo "trong>";
  40. echo $gaccounts['count'];
  41. echo "</strong> Google accounts with ";
  42. echo "<s";
  43. echo "trong>";
  44. echo 0 < $gaccounts['count'] ? number_format($bloggerblogs['count'] / $gaccounts['count'], 1) : 0;
  45. echo "</strong> Blogger blogs per account on average.</li>\r\n    <li>Your network consists of ";
  46. echo "<s";
  47. echo "trong>";
  48. echo $total['count'];
  49. echo "</strong> blogs, of which ";
  50. echo "<s";
  51. echo "trong>";
  52. echo $notverified['count'];
  53. echo "</strong> are not yet activated and ";
  54. echo "<s";
  55. echo "trong>";
  56. echo $nonworking['count'];
  57. echo "</strong> blogs have been marked as not working.</li>\r\n    <li>\r\n      \r\n      You have funds to crack \r\n      ";
  58. echo "<s";
  59. echo "trong>";
  60. echo number_format($balance / 0.0015, 0);
  61. echo "</strong> CAPTCHAs (\$";
  62. echo number_format($balance, 4);
  63. echo ") \r\n      \r\n      \r\n    </li>\r\n  </ul>\r\n  <iframe src=\"http://linkfarmevolution.com/paypal/captchaframe.php?token=";
  64. echo $config['security_token'];
  65. echo "\" width=\"300\" height=\"40\"></iframe>\r\n</div>\r\n    \r\n<h3>Latest actions:</h3>\r\n\r\n";
  66. $path = dirname(__FILE__) . "/";
  67. if (!file_exists($path . "tmp/blogs-backup-" . date("d-M-Y") . ".bkp") && !file_exists($path . "tmp/blogs-backup-" . date("d-M-Y", time() - 86400) . ".bkp")) {
  68.     echo "<div class=\"error\">It looks like your Cron job has not ran recently. To learn more about cron jobs, read inline help on this page.</div>";
  69. }
  70. echo "<div class=\"question\" style=\"width:700px;\">\r\n  <ul>\r\n    <li>LFE performs some background tasks while you are away, like activating your Wordpress blogs, verifying e-mails for your google accounts, deleting dead blogs and making daily backups. And to do all those tasks, cron.php script has to be executed at least a couple times an hour. Usually it's done via a Cron job in your hosting control panel.</";
  71. echo "li>\r\n    <li>";
  72. echo "<s";
  73. echo "trong>IMPORTANT:</strong> If you haven't yet set up a Cron job to do those tasks, do it now. It's easy, just add this command in your hosting control panel &mdash; ";
  74. echo "<s";
  75. echo "trong><i>wget -q http://";
  76. echo str_replace(array(
  77.     "www.",
  78.     "/index.php"
  79. ), "", $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']);
  80. echo "/cron.php</i></strong> (or if the previous one wouldn't work on your host - ";
  81. echo "<s";
  82. echo "trong><i>php ";
  83. echo realpath(dirname(__FILE__)) . "/cron.php";
  84. echo "</i></strong>), and set it to run 4 times an hour or so(e.g. */15 * * * *)</li>\r\n  </ul>\r\n</div>\r\n\r\n<div class=\"actionswrapper\">\r\n";
  85. $actions = $db->Execute("SELECT * FROM actions ORDER BY id DESC LIMIT 500");
  86. if (0 < $actions->_numOfRows) {
  87.     $i = 0;
  88.     foreach ($actions as $action) {
  89.         $elapsed = get_elapsed_time($action['timestamp'], date("Y-m-d H:i:s"), "hours", 0);
  90.         echo "<p class=\"" . $action['class'] . "\">" . $action['action'] . " " . $elapsed . " hours ago.</p>";
  91.         if ($i == 19) {
  92.             echo "<a href=\"#\" id=\"toggleactions\">More &raquo;</a><div id=\"actions\">";
  93.         }
  94.         ++$i;
  95.     }
  96.     if (19 <= $i) {
  97.         echo "<a href=\"#\">Back to top &uarr;</a></div>";
  98.     }
  99. } else {
  100.     echo "<p class=\"yellow\">Nothing is going on right now.</p>";
  101. }
  102. echo "</div>\r\n";
  103. foot();
  104. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement