Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 3.144.104.175
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
gsh /
libgd-gd-2.2.3 /
tests /
jpeg /
[ HOME SHELL ]
Name
Size
Permission
Action
.gitignore
83
B
-rwxr-xr-x
CMakeLists.txt
150
B
-rwxr-xr-x
Makemodule.am
378
B
-rwxr-xr-x
bug_github_18.c
1.04
KB
-rwxr-xr-x
conv_test.jpeg
2.26
KB
-rwxr-xr-x
conv_test_exp.png
38.75
KB
-rwxr-xr-x
empty.jpeg
0
B
-rwxr-xr-x
github_bug_18.png
2.04
KB
-rwxr-xr-x
github_bug_18_exp.jpeg
18.49
KB
-rwxr-xr-x
jpeg_empty_file.c
309
B
-rwxr-xr-x
jpeg_im2im.c
1.33
KB
-rwxr-xr-x
jpeg_null.c
198
B
-rwxr-xr-x
jpeg_read.c
610
B
-rwxr-xr-x
jpeg_resolution.c
717
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : jpeg_im2im.c
#include "gd.h" #include "gdtest.h" int main() { gdImagePtr src, dst; int r, g, b; void *p; int size = 0; int status = 0; #if 0 CuTestImageResult result = {0, 0}; #endif src = gdImageCreateTrueColor(100, 100); if (src == NULL) { gdTestErrorMsg("could not create src\n"); return 1; } r = gdImageColorAllocate(src, 0xFF, 0, 0); g = gdImageColorAllocate(src, 0, 0xFF, 0); b = gdImageColorAllocate(src, 0, 0, 0xFF); gdImageFilledRectangle(src, 0, 0, 99, 99, r); gdImageRectangle(src, 20, 20, 79, 79, g); gdImageEllipse(src, 70, 25, 30, 20, b); #define OUTPUT_JPEG(name) do { \ FILE *fp = gdTestTempFp(); \ gdImageJpeg(name, fp, 100); \ fclose(fp); \ } while (0) OUTPUT_JPEG(src); p = gdImageJpegPtr(src, &size, 100); if (p == NULL) { status = 1; gdTestErrorMsg("p is null\n"); goto door0; } if (size <= 0) { status = 1; gdTestErrorMsg("size is non-positive\n"); goto door1; } dst = gdImageCreateFromJpegPtr(size, p); if (dst == NULL) { status = 1; gdTestErrorMsg("could not create dst\n"); goto door1; } OUTPUT_JPEG(dst); #if 0 gdTestImageDiff(src, dst, NULL, &result); if (result.pixels_changed > 0) { status = 1; gdTestErrorMsg("pixels changed: %d\n", result.pixels_changed); } #endif gdImageDestroy(dst); door1: gdFree(p); door0: gdImageDestroy(src); return status; }
Close