Advertisement
Guest User

Untitled

a guest
May 23rd, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for SourceGuardian Encoder)
  6. *
  7. * @ Version : 4.0.4.0
  8. * @ Author : DeZender
  9. * @ Release on : 19.05.2018
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. function _log($msg)
  15. {
  16. $filename = 'test.log';
  17. $fd = fopen($filename, 'a');
  18. fwrite($fd, $msg . "\n");
  19. fclose($fd);
  20. }
  21.  
  22. set_time_limit(0);
  23. session_write_close();
  24. ignore_user_abort(true);
  25. require '../boot.php';
  26. $username = ipTV_lib::$request['username'];
  27. $password = ipTV_lib::$request['password'];
  28. $stream = pathinfo(ipTV_lib::$request['stream']);
  29. $stream_id = intval($stream['filename']);
  30. $extension = $stream['extension'];
  31. $token = ipTV_lib::$request['token'];
  32. $server_filename = MASTER . '/movie/' . $username . '/' . $password . '/' . $stream_id . '.' . $extension;
  33.  
  34. if ('' < $token) {
  35. $server_filename = $server_filename . '?token=' . $token;
  36. }
  37. $pass_remote = function($ch, $chunk) {
  38. echo $chunk;
  39. flush();
  40. return strlen($chunk);
  41. };
  42.  
  43. if (!($fp = fopen($server_filename, 'rb'))) {
  44. exit('Missing File.');
  45. }
  46.  
  47. static $regex;
  48. if (isset($http_response_header) && preg_match($regex, implode("\n", $http_response_header), $matches)) {
  49. .......................................................................
  50. .........................................
  51. ................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement