Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
gd /
libgd /
Delete
Unzip
Name
Size
Permission
Date
Action
bmp.h
2.39
KB
-rw-rw-r--
2022-10-31 11:36
gd.c
72.21
KB
-rw-rw-r--
2022-10-31 11:36
gd.h
33.01
KB
-rw-rw-r--
2022-10-31 11:36
gd2copypal.c
1.32
KB
-rw-rw-r--
2022-10-31 11:36
gd2time.c
1.2
KB
-rw-rw-r--
2022-10-31 11:36
gd2topng.c
1.04
KB
-rw-rw-r--
2022-10-31 11:36
gd_bmp.c
25.8
KB
-rw-rw-r--
2022-10-31 11:36
gd_color_match.c
1.42
KB
-rw-rw-r--
2022-10-31 11:36
gd_crop.c
7.68
KB
-rw-rw-r--
2022-10-31 11:36
gd_errors.h
673
B
-rw-rw-r--
2022-10-31 11:36
gd_filter.c
12.52
KB
-rw-rw-r--
2022-10-31 11:36
gd_gd.c
5.2
KB
-rw-rw-r--
2022-10-31 11:36
gd_gd2.c
19.53
KB
-rw-rw-r--
2022-10-31 11:36
gd_gif_in.c
13.9
KB
-rw-rw-r--
2022-10-31 11:36
gd_gif_out.c
20.75
KB
-rw-rw-r--
2022-10-31 11:36
gd_intern.h
261
B
-rw-rw-r--
2022-10-31 11:36
gd_interpolation.c
69.57
KB
-rw-rw-r--
2022-10-31 11:36
gd_io.c
3.39
KB
-rw-rw-r--
2022-10-31 11:36
gd_io.h
1.05
KB
-rw-rw-r--
2022-10-31 11:36
gd_io_dp.c
6.96
KB
-rw-rw-r--
2022-10-31 11:36
gd_io_file.c
2.31
KB
-rw-rw-r--
2022-10-31 11:36
gd_io_ss.c
2.66
KB
-rw-rw-r--
2022-10-31 11:36
gd_jpeg.c
26.3
KB
-rw-rw-r--
2022-10-31 11:36
gd_matrix.c
7.77
KB
-rw-rw-r--
2022-10-31 11:36
gd_pixelate.c
1.33
KB
-rw-rw-r--
2022-10-31 11:36
gd_png.c
22.61
KB
-rw-rw-r--
2022-10-31 11:36
gd_rotate.c
7.97
KB
-rw-rw-r--
2022-10-31 11:36
gd_security.c
662
B
-rw-rw-r--
2022-10-31 11:36
gd_ss.c
1.07
KB
-rw-rw-r--
2022-10-31 11:36
gd_tga.c
8.92
KB
-rw-rw-r--
2022-10-31 11:36
gd_tga.h
1.66
KB
-rw-rw-r--
2022-10-31 11:36
gd_topal.c
51.71
KB
-rw-rw-r--
2022-10-31 11:36
gd_transform.c
1.27
KB
-rw-rw-r--
2022-10-31 11:36
gd_wbmp.c
5.48
KB
-rw-rw-r--
2022-10-31 11:36
gd_webp.c
4.03
KB
-rw-rw-r--
2022-10-31 11:36
gd_xbm.c
5.27
KB
-rw-rw-r--
2022-10-31 11:36
gdcache.c
4.99
KB
-rw-rw-r--
2022-10-31 11:36
gdcache.h
2.68
KB
-rw-rw-r--
2022-10-31 11:36
gddemo.c
3.18
KB
-rw-rw-r--
2022-10-31 11:36
gdfontg.c
113.25
KB
-rw-rw-r--
2022-10-31 11:36
gdfontg.h
529
B
-rw-rw-r--
2022-10-31 11:36
gdfontl.c
108.5
KB
-rw-rw-r--
2022-10-31 11:36
gdfontl.h
527
B
-rw-rw-r--
2022-10-31 11:36
gdfontmb.c
79.24
KB
-rw-rw-r--
2022-10-31 11:36
gdfontmb.h
495
B
-rw-rw-r--
2022-10-31 11:36
gdfonts.c
69.46
KB
-rw-rw-r--
2022-10-31 11:36
gdfonts.h
491
B
-rw-rw-r--
2022-10-31 11:36
gdfontt.c
38.49
KB
-rw-rw-r--
2022-10-31 11:36
gdfontt.h
522
B
-rw-rw-r--
2022-10-31 11:36
gdft.c
32.75
KB
-rw-rw-r--
2022-10-31 11:36
gdhelpers.c
1.17
KB
-rw-rw-r--
2022-10-31 11:36
gdhelpers.h
1.54
KB
-rw-rw-r--
2022-10-31 11:36
gdkanji.c
12.01
KB
-rw-rw-r--
2022-10-31 11:36
gdparttopng.c
1.26
KB
-rw-rw-r--
2022-10-31 11:36
gdtables.c
5.45
KB
-rw-rw-r--
2022-10-31 11:36
gdtest.c
9.11
KB
-rw-rw-r--
2022-10-31 11:36
gdtestft.c
2.76
KB
-rw-rw-r--
2022-10-31 11:36
gdtopng.c
965
B
-rw-rw-r--
2022-10-31 11:36
gdxpm.c
3.21
KB
-rw-rw-r--
2022-10-31 11:36
jisx0208.h
69.68
KB
-rw-rw-r--
2022-10-31 11:36
pngtogd.c
967
B
-rw-rw-r--
2022-10-31 11:36
pngtogd2.c
1.17
KB
-rw-rw-r--
2022-10-31 11:36
testac.c
4.11
KB
-rw-rw-r--
2022-10-31 11:36
wbmp.c
6.79
KB
-rw-rw-r--
2022-10-31 11:36
wbmp.h
1.25
KB
-rw-rw-r--
2022-10-31 11:36
webpng.c
6.32
KB
-rw-rw-r--
2022-10-31 11:36
Save
Rename
#include "gd.h" #include "gd_intern.h" #include <math.h> /* * Rotate function Added on 2003/12 * by Pierre-Alain Joye (pierre@php.net) **/ /* Begin rotate function */ #ifdef ROTATE_PI #undef ROTATE_PI #endif /* ROTATE_PI */ #define ROTATE_DEG2RAD 3.1415926535897932384626433832795/180 void gdImageSkewX (gdImagePtr dst, gdImagePtr src, int uRow, int iOffset, double dWeight, int clrBack, int ignoretransparent) { typedef int (*FuncPtr)(gdImagePtr, int, int); int i, r, g, b, a, clrBackR, clrBackG, clrBackB, clrBackA; FuncPtr f; int pxlOldLeft, pxlLeft=0, pxlSrc; /* Keep clrBack as color index if required */ if (src->trueColor) { pxlOldLeft = clrBack; f = gdImageGetTrueColorPixel; } else { pxlOldLeft = clrBack; clrBackR = gdImageRed(src, clrBack); clrBackG = gdImageGreen(src, clrBack); clrBackB = gdImageBlue(src, clrBack); clrBackA = gdImageAlpha(src, clrBack); clrBack = gdTrueColorAlpha(clrBackR, clrBackG, clrBackB, clrBackA); f = gdImageGetPixel; } for (i = 0; i < iOffset; i++) { gdImageSetPixel (dst, i, uRow, clrBack); } if (i < dst->sx) { gdImageSetPixel (dst, i, uRow, clrBack); } for (i = 0; i < src->sx; i++) { pxlSrc = f (src,i,uRow); r = (int)(gdImageRed(src,pxlSrc) * dWeight); g = (int)(gdImageGreen(src,pxlSrc) * dWeight); b = (int)(gdImageBlue(src,pxlSrc) * dWeight); a = (int)(gdImageAlpha(src,pxlSrc) * dWeight); pxlLeft = gdImageColorAllocateAlpha(src, r, g, b, a); if (pxlLeft == -1) { pxlLeft = gdImageColorClosestAlpha(src, r, g, b, a); } r = gdImageRed(src,pxlSrc) - (gdImageRed(src,pxlLeft) - gdImageRed(src,pxlOldLeft)); g = gdImageGreen(src,pxlSrc) - (gdImageGreen(src,pxlLeft) - gdImageGreen(src,pxlOldLeft)); b = gdImageBlue(src,pxlSrc) - (gdImageBlue(src,pxlLeft) - gdImageBlue(src,pxlOldLeft)); a = gdImageAlpha(src,pxlSrc) - (gdImageAlpha(src,pxlLeft) - gdImageAlpha(src,pxlOldLeft)); if (r>255) { r = 255; } if (g>255) { g = 255; } if (b>255) { b = 255; } if (a>127) { a = 127; } if (ignoretransparent && pxlSrc == dst->transparent) { pxlSrc = dst->transparent; } else { pxlSrc = gdImageColorAllocateAlpha(dst, r, g, b, a); if (pxlSrc == -1) { pxlSrc = gdImageColorClosestAlpha(dst, r, g, b, a); } } if ((i + iOffset >= 0) && (i + iOffset < dst->sx)) { gdImageSetPixel (dst, i+iOffset, uRow, pxlSrc); } pxlOldLeft = pxlLeft; } i += iOffset; if (i < dst->sx) { gdImageSetPixel (dst, i, uRow, pxlLeft); } gdImageSetPixel (dst, iOffset, uRow, clrBack); i--; while (++i < dst->sx) { gdImageSetPixel (dst, i, uRow, clrBack); } } void gdImageSkewY (gdImagePtr dst, gdImagePtr src, int uCol, int iOffset, double dWeight, int clrBack, int ignoretransparent) { typedef int (*FuncPtr)(gdImagePtr, int, int); int i, iYPos=0, r, g, b, a; FuncPtr f; int pxlOldLeft, pxlLeft=0, pxlSrc; if (src->trueColor) { f = gdImageGetTrueColorPixel; } else { f = gdImageGetPixel; } for (i = 0; i<=iOffset; i++) { gdImageSetPixel (dst, uCol, i, clrBack); } r = (int)((double)gdImageRed(src,clrBack) * dWeight); g = (int)((double)gdImageGreen(src,clrBack) * dWeight); b = (int)((double)gdImageBlue(src,clrBack) * dWeight); a = (int)((double)gdImageAlpha(src,clrBack) * dWeight); pxlOldLeft = gdImageColorAllocateAlpha(dst, r, g, b, a); for (i = 0; i < src->sy; i++) { pxlSrc = f (src, uCol, i); iYPos = i + iOffset; r = (int)((double)gdImageRed(src,pxlSrc) * dWeight); g = (int)((double)gdImageGreen(src,pxlSrc) * dWeight); b = (int)((double)gdImageBlue(src,pxlSrc) * dWeight); a = (int)((double)gdImageAlpha(src,pxlSrc) * dWeight); pxlLeft = gdImageColorAllocateAlpha(src, r, g, b, a); if (pxlLeft == -1) { pxlLeft = gdImageColorClosestAlpha(src, r, g, b, a); } r = gdImageRed(src,pxlSrc) - (gdImageRed(src,pxlLeft) - gdImageRed(src,pxlOldLeft)); g = gdImageGreen(src,pxlSrc) - (gdImageGreen(src,pxlLeft) - gdImageGreen(src,pxlOldLeft)); b = gdImageBlue(src,pxlSrc) - (gdImageBlue(src,pxlLeft) - gdImageBlue(src,pxlOldLeft)); a = gdImageAlpha(src,pxlSrc) - (gdImageAlpha(src,pxlLeft) - gdImageAlpha(src,pxlOldLeft)); if (r>255) { r = 255; } if (g>255) { g = 255; } if (b>255) { b = 255; } if (a>127) { a = 127; } if (ignoretransparent && pxlSrc == dst->transparent) { pxlSrc = dst->transparent; } else { pxlSrc = gdImageColorAllocateAlpha(dst, r, g, b, a); if (pxlSrc == -1) { pxlSrc = gdImageColorClosestAlpha(dst, r, g, b, a); } } if ((iYPos >= 0) && (iYPos < dst->sy)) { gdImageSetPixel (dst, uCol, iYPos, pxlSrc); } pxlOldLeft = pxlLeft; } i = iYPos; if (i < dst->sy) { gdImageSetPixel (dst, uCol, i, pxlLeft); } i--; while (++i < dst->sy) { gdImageSetPixel (dst, uCol, i, clrBack); } } /* Rotates an image by 90 degrees (counter clockwise) */ gdImagePtr gdImageRotate90 (gdImagePtr src, int ignoretransparent) { int uY, uX; int c,r,g,b,a; gdImagePtr dst; typedef int (*FuncPtr)(gdImagePtr, int, int); FuncPtr f; if (src->trueColor) { f = gdImageGetTrueColorPixel; } else { f = gdImageGetPixel; } dst = gdImageCreateTrueColor(src->sy, src->sx); if (dst != NULL) { int old_blendmode = dst->alphaBlendingFlag; dst->alphaBlendingFlag = 0; dst->transparent = src->transparent; gdImagePaletteCopy (dst, src); for (uY = 0; uY<src->sy; uY++) { for (uX = 0; uX<src->sx; uX++) { c = f (src, uX, uY); if (!src->trueColor) { r = gdImageRed(src,c); g = gdImageGreen(src,c); b = gdImageBlue(src,c); a = gdImageAlpha(src,c); c = gdTrueColorAlpha(r, g, b, a); } if (ignoretransparent && c == dst->transparent) { gdImageSetPixel(dst, uY, (dst->sy - uX - 1), dst->transparent); } else { gdImageSetPixel(dst, uY, (dst->sy - uX - 1), c); } } } dst->alphaBlendingFlag = old_blendmode; } return dst; } /* Rotates an image by 180 degrees (counter clockwise) */ gdImagePtr gdImageRotate180 (gdImagePtr src, int ignoretransparent) { int uY, uX; int c,r,g,b,a; gdImagePtr dst; typedef int (*FuncPtr)(gdImagePtr, int, int); FuncPtr f; if (src->trueColor) { f = gdImageGetTrueColorPixel; } else { f = gdImageGetPixel; } dst = gdImageCreateTrueColor(src->sx, src->sy); if (dst != NULL) { int old_blendmode = dst->alphaBlendingFlag; dst->alphaBlendingFlag = 0; dst->transparent = src->transparent; gdImagePaletteCopy (dst, src); for (uY = 0; uY<src->sy; uY++) { for (uX = 0; uX<src->sx; uX++) { c = f (src, uX, uY); if (!src->trueColor) { r = gdImageRed(src,c); g = gdImageGreen(src,c); b = gdImageBlue(src,c); a = gdImageAlpha(src,c); c = gdTrueColorAlpha(r, g, b, a); } if (ignoretransparent && c == dst->transparent) { gdImageSetPixel(dst, (dst->sx - uX - 1), (dst->sy - uY - 1), dst->transparent); } else { gdImageSetPixel(dst, (dst->sx - uX - 1), (dst->sy - uY - 1), c); } } } dst->alphaBlendingFlag = old_blendmode; } return dst; } /* Rotates an image by 270 degrees (counter clockwise) */ gdImagePtr gdImageRotate270 (gdImagePtr src, int ignoretransparent) { int uY, uX; int c,r,g,b,a; gdImagePtr dst; typedef int (*FuncPtr)(gdImagePtr, int, int); FuncPtr f; if (src->trueColor) { f = gdImageGetTrueColorPixel; } else { f = gdImageGetPixel; } dst = gdImageCreateTrueColor (src->sy, src->sx); if (dst != NULL) { int old_blendmode = dst->alphaBlendingFlag; dst->alphaBlendingFlag = 0; dst->transparent = src->transparent; gdImagePaletteCopy (dst, src); for (uY = 0; uY<src->sy; uY++) { for (uX = 0; uX<src->sx; uX++) { c = f (src, uX, uY); if (!src->trueColor) { r = gdImageRed(src,c); g = gdImageGreen(src,c); b = gdImageBlue(src,c); a = gdImageAlpha(src,c); c = gdTrueColorAlpha(r, g, b, a); } if (ignoretransparent && c == dst->transparent) { gdImageSetPixel(dst, (dst->sx - uY - 1), uX, dst->transparent); } else { gdImageSetPixel(dst, (dst->sx - uY - 1), uX, c); } } } dst->alphaBlendingFlag = old_blendmode; } return dst; }