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.135.214.216
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_resolution.c
#include "gd.h" #include <stdio.h> #include <stdlib.h> #include "gdtest.h" int main() { gdImagePtr im; void *data; int size, red; im = gdImageCreate(100, 100); gdImageSetResolution(im, 72, 300); red = gdImageColorAllocate(im, 0xFF, 0x00, 0x00); gdImageFilledRectangle(im, 0, 0, 99, 99, red); data = gdImageJpegPtr(im, &size, 10); gdImageDestroy(im); im = gdImageCreateFromJpegPtr(size, data); gdFree(data); if (!gdTestAssert(gdImageResolutionX(im) == 72) || !gdTestAssert(gdImageResolutionY(im) == 300)) { gdTestErrorMsg("failed image resolution X (%d != 72) or Y (%d != 300)\n", gdImageResolutionX(im), gdImageResolutionY(im)); gdImageDestroy(im); return 1; } gdImageDestroy(im); return 0; }
Close