!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

C:\Intranet\C\xampp\htdocs\xampp\special\ps\   drwxrwxrwx
Free 4.09 GB of 39.52 GB (10.35%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     glyphlist.php (3.14 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

function usage() {
    
printf("Usage: glyphlist <list of fontnames>\n\n");
}

$ps ps_new();

if (!
ps_open_file($ps"glyphlist.ps")) {
    print 
"Cannot open PostScript file\n";
    exit;
}


ps_set_info($ps"Creator""glyphlist.php");
ps_set_info($ps"Author""Uwe Steinmann");
ps_set_info($ps"Title""List of glyphs");
ps_set_info($ps"Keywords""glyph, font");
ps_set_info($ps"BoundingBox""0 0 596 842");

$colwidth 30;
$rowheight 30;
$leftmargin 70;
$bottommargin 270;
$fontsize 10.0;
$fontsamplesize 14.0;

if(
$_SERVER["argc"] < 2) {
    
usage();
    exit(
1);
}

$psfont ps_findfont($ps"Helvetica"""0);
printf("Creating %d pages\n"$_SERVER["argc"]-1);
for(
$k=1$k<$_SERVER["argc"]; $k++) {
    
printf("Creating page for %s\n"$_SERVER["argv"][$k]);

    
$samplefont ps_findfont($ps$_SERVER["argv"][$k], ""1);

    if(
$glyphlist ps_glyph_list($ps$samplefont)) {
        
$listlen count($glyphlist);
        
printf("Font has %d glyphs\n"$listlen);
        
$pages = (int) ($listlen 256) + 1;

        
$glc 0;
        for(
$p=0$p<$pages$p++) {
            
ps_begin_page($ps596842);
            for(
$i=0$i<=16$i++) {
                
ps_moveto($ps$leftmargin+$i*$colwidth$bottommargin);
                
ps_lineto($ps$leftmargin+$i*$colwidth$bottommargin+16*$rowheight);
                
ps_stroke($ps);
            }
            for(
$j=0$j<=16$j++) {
                
ps_moveto($ps$leftmargin$bottommargin+$j*$rowheight);
                
ps_lineto($ps$leftmargin+16*$colwidth$bottommargin+$j*$rowheight);
                
ps_stroke($ps);
            }

            
ps_setfont($ps$psfont$fontsize);
            for(
$i=0$i<16$i++) {
                
$text sprintf("x%X"$i);
                
$textwidth ps_stringwidth($ps$text,  $psfont$fontsize);
                
ps_show_xy($ps$text$leftmargin+$i*$colwidth+$colwidth/2-$textwidth/2$bottommargin+16*$rowheight+$fontsize/2);
            }
            for(
$j=0$j<16$j++) {
                
$text sprintf("%Xx"$j);
                
ps_show_xy($ps$text$leftmargin-1.7*$fontsize$bottommargin+(15-$j)*$rowheight+$rowheight/2-$fontsize/2);
            }

            
/* The symbol itself */
            
ps_setfont($ps$samplefont$fontsamplesize);
            
ps_setlinewidth($ps0.2);
            for(
$j=0$j<16$j++) {
                for(
$i=0$i<16$i++) {
                    if(
$glc+($j*16+$i) < $listlen) {
                        
$textwidth ps_glyph_width($ps$glyphlist[$glc+($j*16+$i)], 0$fontsamplesize);
                        
ps_set_value($ps"textx"$leftmargin+$i*$colwidth+$colwidth/2-$textwidth/2);
                        
ps_set_value($ps"texty"$bottommargin+(15-$j)*$rowheight+$rowheight/2+3-$fontsize/2);
                        
ps_glyph_show($ps$glyphlist[$glc+($j*16+$i)]);
                        
ps_moveto($ps$leftmargin+$i*$colwidth+$colwidth/2-$textwidth/2$bottommargin+(15-$j)*$rowheight+$rowheight/2+3-$fontsize/2);
                        
ps_lineto($ps$leftmargin+$i*$colwidth+$colwidth/2+$textwidth/2$bottommargin+(15-$j)*$rowheight+$rowheight/2+3-$fontsize/2);
                        
ps_stroke($ps);
                    }
                }
            }

            
/* The name of the symbol */
            
ps_setfont($ps$psfont3);
            for(
$j=0$j<16$j++) {
                for(
$i=0$i<16$i++) {
                    if(
$glc+($j*16+$i) < $listlen) {
                        
ps_set_value($ps"textx"$leftmargin+$i*$colwidth+2);
                        
ps_set_value($ps"texty"$bottommargin+(15-$j)*$rowheight+2);
                        
ps_show($ps$glyphlist[$glc+($j*16+$i)]);
                    }
                }
            }
            
ps_end_page($ps);
            
$glc += 256;
        }
    }
}
ps_close($ps);
ps_delete($ps);
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]--