HEX
Server: Apache
System: Linux webm002.cluster115.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: centralexf (54246)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/centralexf/www/plugins/adsmanagercontent/captcha/generate.php
<?php
//Load Framework
define( '_JEXEC', 1 );
$path = substr(dirname(__FILE__),0,strpos(dirname(__FILE__),'/plugins'));
define('JPATH_BASE', $path );
define( 'DS', DIRECTORY_SEPARATOR );
require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );
$mainframe =& JFactory::getApplication('site');
$mainframe->initialise();
$JConfig =& JFactory::getConfig();
	
require_once( 'captchasecurityimages.php' );
$captchaGenerator = new CaptchaSecurityImages();
$code = $captchaGenerator->generate();

$session = JFactory::getSession();
$session->set('security_code', $code);