pixload-gif - hide payload/malicious code in GIF images
pixload-gif [OPTION]... FILE
pixload-gif creates a GIF Image with payload, or injects payload into existing image.
Mandatory arguments to long options are mandatory for short options too.
- -W, --pixelwidth INTEGER
-
Set pixel width for the new image. Default is 10799.
The option has no effect since pixload-gif rewrites pixel width bytes with
/*
characters, to prepare the polyglot image. - -H, --pixelheight INTEGER
-
Set pixel height for the new image. Default is 32.
- -P, --payload STRING
-
Set payload for injection. Default is
<script src=//example.com></script>
. - -v, --version
-
Print version and exit.
- -h, --help
-
Print help and exit.
$ pixload-gif payload.gif
...... GIF Payload Creator/Injector ......
..........................................
... https://github.com/sighook/pixload ...
..........................................
[>] Generating output file
[✔] File saved to: payload.gif
[>] Injecting payload into payload.gif
[✔] Payload was injected successfully
payload.gif: GIF image data, version 87a, 10799 x 32
00000000 47 49 46 38 37 61 2f 2a 20 00 80 00 00 04 02 04 |GIF87a/* .......|
00000010 00 00 00 2c 00 00 00 00 20 00 20 00 00 02 1e 84 |...,.... . .....|
00000020 8f a9 cb ed 0f a3 9c b4 da 8b b3 de bc fb 0f 86 |................|
00000030 e2 48 96 e6 89 a6 ea ca b6 ee 0b 9b 05 00 3b 2a |.H............;*|
00000040 2f 3d 31 3b 3c 73 63 72 69 70 74 20 73 72 63 3d |/=1;<script src=|
00000050 2f 2f 65 78 61 6d 70 6c 65 2e 63 6f 6d 3e 3c 2f |//example.com></|
00000060 73 63 72 69 70 74 3e 3b |script>;|
00000068
pixload-bmp(1), pixload-jpg(1), pixload-png(1), pixload-webp(1)