403Webshell
Server IP : 185.86.4.75  /  Your IP : 216.73.216.143
Web Server : Apache
System : Linux lotom.com.tr 3.10.0-1160.81.1.el7.x86_64 #1 SMP Fri Dec 16 17:29:43 UTC 2022 x86_64
User : lotomcom ( 10006)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/lotom.com.tr/httpdocs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/lotom.com.tr/httpdocs/resimol.php
<?

$metin1=$_REQUEST["metin1"];
$metin2=$_REQUEST["metin2"];
$metin3=$_REQUEST["metin3"];
$kpy1=$_REQUEST["kpy1"];


//Resmimizin bir kopyasını oluşturuyoruz  
//Eğer png veya gif kullanacaksanız imagecreatefromgif() veya imagecreatefrompng() fonksiyonunu kullanınız  
$resim    = imagecreatefromjpeg("$kpy1");  
    
//Metin İçin Renk Seçiyoruz  
$beyaz = imagecolorallocate($resim, 255,255,255); //Beyaz Renk  
$siyah = imagecolorallocate($resim, 0, 0, 0); //Siyah Renk  
$mavi = imagecolorallocate($resim, 19, 0, 76); //Siyah Renk  
$gri = imagecolorallocate($resim_yaz, 170, 170, 170);  
//Kullanmak İstediğimiz Yazı Tipinin Adı  
$yazitipi = '/fonts/ariblk.ttf';  

//Metni Resim Üzerine Yazdırıyoruz  
//Bu Fonksiyonda Kullanılan Parametreler  
//1-Görüntü Tanımlayıcısı, 2-Point Cinsinden Yazı Boyutu, 3-Metni Yazmak İstediğiniz Açı,   
//4- ve 5-Metnin Başlangıç x ve y Koordinatları, 6-Metin Rengi, 7-Font Dosyası, 8-Resmin Üzerine Yazılaca Yazı  

  

if ($metin1=="Sans"){
$metin1="Şans Topu";
$birx=145;
$biry=140;   
}
if ($metin1=="Sayisal"){
$metin1="Sayısal Loto";
$birx=115;
$biry=140;   
}
if ($metin1=="Super"){
$metin1="Süper Loto";
$birx=140;
$biry=140;   
}
if ($metin1=="Numara"){
$metin1="On Numara";
$birx=130;
$biry=140;   
}


$birxg=$birx+3;
$biryg=$biry+3;



if (strpos($metin3,"Ocak")){
$ucx=25;
$ucy=350;
}
if (strpos($metin3,"Subat")){
$metin3=ereg_replace('S','Ş',$metin3);
$ucx=25;
$ucy=350;
}
if (strpos($metin3,"Mart")){
$ucx=25;
$ucy=350;
}
if (strpos($metin3,"Nisan")){
$ucx=25;
$ucy=350;
}
if (strpos($metin3,"Mayis")){
$metin3= ereg_replace("i","ı", $metin3 );
$ucx=25;
$ucy=350;
}

if (strpos($metin3,"Haziran")){
$ucx=25;
$ucy=350;
}
if (strpos($metin3,"Temmuz")){
$ucx=25;
$ucy=350;
}
if (strpos($metin3,"Agustos")){
$metin3= ereg_replace("g","ğ", $metin3 );
$ucx=25;
$ucy=350;
}
if (strpos($metin3,"Eylul")){
$metin3= ereg_replace("u","ü", $metin3 );
$ucx=25;
$ucy=350;
}
if (strpos($metin3,"Ekim")){
$ucx=25;
$ucy=350;
}
if (strpos($metin3,"Kasim")){
$metin3= ereg_replace("i","ı", $metin3 );
$ucx=25;
$ucy=350;
}
if (strpos($metin3,"Aralik")){
$metin3= ereg_replace("i","ı", $metin3 );
$ucx=25;
$ucy=350;
}
$ucxg=$ucx+3;
$ucyg=$ucy+3;	

if ($metin2=="Sonuclari"){
$metin2="Sonuçları";
$ikix=180;
$ikiy=210;
}
if ($metin2=="Tahminleri"){
$ikix=152;
$ikiy=210;
}
$ikixg=$ikix+3;
$ikiyg=$ikiy+3;


imagettftext($resim, 45, 0, $birxg, $biryg, $gri, $yazitipi, $metin1); 	
imagettftext($resim, 45, 0, $birx,$biry, $beyaz, $yazitipi, $metin1); 
imagettftext($resim, 40, 0, $ikixg, $ikiyg, $gri, $yazitipi, $metin2);
imagettftext($resim, 40, 0, $ikix, $ikiy, $beyaz, $yazitipi, $metin2);
imagettftext($resim, 40, 0, $ucxg, $ucyg, $gri, $yazitipi, $metin3);  
imagettftext($resim, 40, 0, $ucx, $ucy, $beyaz, $yazitipi, $metin3);  

//Görüntümüzü Tarayıcıya Yansıtıyoruz  
header("Content-type: image/jpeg");  
imagejpeg($resim,"$kpy1",75);  

//Temizlik  
imagedestroy($resim);  
?>  

Youez - 2016 - github.com/yon3zu
LinuXploit