( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ HEX
HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux mail.thebrand.ai 6.8.0-107-generic #107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026 x86_64
User: www-data (33)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/machine.php
<?php function gd_filter_machine($background)
{ 
 
$background = gd_apply_overlay($background, 'sweetbox', 100);
$background = gd_apply_overlay($background, 'brushmesh', 100);
$background = gd_apply_overlay($background, 'logoeziki', 100);
$fontX = 'assets/fonts/HelveticaNeueLTStd-Ex.otf'; //font used
$fontZ = 'assets/fonts/HelveticaNeueLTStd-HvEx.otf'; //font used
$font_color = imagecolorallocate($background,  255, 255, 255);  
 
if (empty($_GET['cl']))  
  { 
  $text = realText() ; 
  } 
  else 
  { 
  $text = dummyText(); 
  }
preg_match('/\*(\\w+)/',$text,$matches);
$mood ="*".$matches[1];
$text= preg_replace('/\*(\\w+)/', "", $text); 
$text= preg_replace('/\#(\\w+)/', "", $text);
$text= trim($text); 
$text = wordwrap($text,30,"\n");
$text = strtoupper($text);
$font_size = 1;
$txt_max_width = intval(0.8*600);

do{
	$font_size++;
	$p = imagettfbbox($font_size,0,$fontX,$text);
	$txt_width = $p[2] - $p[0];
	$txt_height = $p[1] - $p[7];
	
}
while (($txt_width <= $txt_max_width)  &&   ($font_size   <= 12)) ;
$y = (600 - $txt_height) / 2;
$x = (600 - $txt_width) / 2;
$text = removeslashes($text);
imagettftext($background,$font_size, 0, $x, $y, $font_color, $fontX, $text); //Write 



$user2      = strtoupper(user()); 
imagettftext($background,16, 0, 20, 40, $font_color, $fontX, $user2); 

$user3      = "*".strtoupper(username()); 
imagettftext($background,16, 0, 20, 60, $font_color, $fontZ, $user3); 

return $background; 
	
	
}?>