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.17.166.233
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 /
stph /
libgd-gd-2.2.3 /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
CMakeLists.txt
1
KB
-rwxr-xr-x
arc.c
591
B
-rwxr-xr-x
copyrotated.c
1.81
KB
-rwxr-xr-x
crop.c
1.31
KB
-rwxr-xr-x
flip.c
1.18
KB
-rwxr-xr-x
gif.c
1.01
KB
-rwxr-xr-x
nnquant.c
1.15
KB
-rwxr-xr-x
noIcon.pic
62
KB
-rwxr-xr-x
noIcon.sgi
65.04
KB
-rwxr-xr-x
noIcon.tga
150.08
KB
-rwxr-xr-x
noIconAlpha.tga
150.08
KB
-rwxr-xr-x
resize.c
1.02
KB
-rwxr-xr-x
test_crop_threshold.png
7.73
KB
-rwxr-xr-x
tgaread.c
975
B
-rwxr-xr-x
tiffread.c
1.11
KB
-rwxr-xr-x
windows.c
7.3
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : resize.c
#include "gd.h" #include <stdio.h> #include <stdlib.h> int main (int argc, char *argv[]) { FILE *fp; gdImagePtr in, out; int w, h; /* Help */ if (argc<=4) { printf("%s input.jpg output.jpg width height\n", argv[0]); return 1; } /* Size */ w = atoi(argv[3]); h = atoi(argv[4]); if (w<=0 || h<=0) { fprintf(stderr, "Bad size %dx%d\n", h, w); return 2; } /* Input */ fp = fopen(argv[1], "rb"); if (!fp) { fprintf(stderr, "Can't read image %s\n", argv[1]); return 3; } in = gdImageCreateFromJpeg(fp); fclose(fp); if (!in) { fprintf(stderr, "Can't create image from %s\n", argv[1]); return 4; } /* Resize */ gdImageSetInterpolationMethod(in, GD_BILINEAR_FIXED); out = gdImageScale(in, w, h); if (!out) { fprintf(stderr, "gdImageScale fails\n"); return 5; } /* Output */ fp = fopen(argv[2], "wb"); if (!fp) { fprintf(stderr, "Can't save image %s\n", argv[2]); return 6; } gdImageJpeg(out, fp, 90); fclose(fp); /* Cleanups */ gdImageDestroy(in); gdImageDestroy(out); return 0; }
Close