Git Product home page Git Product logo

cve-2020-11932's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cve-2020-11932's Issues

Can't compile at all =( ubuntu 20

gcc -o exploit egif_lib.c exploit.c
exploit.c: In function ‘get_hex’:
exploit.c:18:13: warning: implicit declaration of function ‘snprintf’ [-Wimplicit-function-declaration]
18 | snprintf(hex_, hex_len, "%02X ", buf[byte_no++] & 0xff);
| ^~~~~~~~
exploit.c:18:13: warning: incompatible implicit declaration of built-in function ‘snprintf’
exploit.c:2:1: note: include ‘<stdio.h>’ or provide a declaration of ‘snprintf’
1 | #include "gif_lib.h"
+++ |+#include <stdio.h>
2 |
exploit.c:24:13: warning: incompatible implicit declaration of built-in function ‘snprintf’
24 | snprintf(hex_, hex_len, "\n");
| ^~~~~~~~
exploit.c:24:13: note: include ‘<stdio.h>’ or provide a declaration of ‘snprintf’
exploit.c: In function ‘genLine_0’:
exploit.c:59:5: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]
59 | memcpy(buffer, hexData, sizeof(hexData));
| ^~~~~~
exploit.c:59:5: warning: incompatible implicit declaration of built-in function ‘memcpy’
exploit.c:2:1: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
1 | #include "gif_lib.h"
+++ |+#include <string.h>
2 |
exploit.c:74:34: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
74 | memcpy(buffer + 32, command, strlen(command));
| ^~~~~~
exploit.c:74:34: warning: incompatible implicit declaration of built-in function ‘strlen’
exploit.c:74:34: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
exploit.c: In function ‘main’:
exploit.c:116:5: warning: incompatible implicit declaration of built-in function ‘memcpy’
116 | memcpy(buffer + size, starting, sizeof(starting));
| ^~~~~~
exploit.c:116:5: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
exploit.c:137:5: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
137 | printf("buffer = %p size = %d\n%s\n", buffer, size, hex_dump);
| ^~~~~~
exploit.c:137:5: warning: incompatible implicit declaration of built-in function ‘printf’
exploit.c:137:5: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’

run error

i put my ip in exploit.c and run commands as steps said then i get this and i cant find gif file can you help please

root@kali:~/tools/social_engineering/CVE-2020-11932# gcc -o exploit egif_lib.c exploit.c

exploit.c: In function ‘get_hex’:

exploit.c:18:13: warning: implicit declaration of function ‘snprintf’ [-Wimplicit-function-declaration]

18 | snprintf(hex_, hex_len, "%02X ", buf[byte_no++] & 0xff);

  |             ^~~~~~~~

exploit.c:18:13: warning: incompatible implicit declaration of built-in function ‘snprintf’

exploit.c:2:1: note: include ‘<stdio.h>’ or provide a declaration of ‘snprintf’

1 | #include "gif_lib.h"

+++ |+#include <stdio.h>

2 | 

exploit.c:24:13: warning: incompatible implicit declaration of built-in function ‘snprintf’

24 | snprintf(hex_, hex_len, "\n");

  |             ^~~~~~~~

exploit.c:24:13: note: include ‘<stdio.h>’ or provide a declaration of ‘snprintf’

exploit.c: In function ‘genLine_0’:

exploit.c:59:5: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]

59 | memcpy(buffer, hexData, sizeof(hexData));

  |     ^~~~~~

exploit.c:59:5: warning: incompatible implicit declaration of built-in function ‘memcpy’

exploit.c:2:1: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’

1 | #include "gif_lib.h"

+++ |+#include <string.h>

2 | 

exploit.c:74:34: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]

74 | memcpy(buffer + 32, command, strlen(command));

  |                                  ^~~~~~

exploit.c:74:34: warning: incompatible implicit declaration of built-in function ‘strlen’

exploit.c:74:34: note: include ‘<string.h>’ or provide a declaration of ‘strlen’

exploit.c: In function ‘main’:

exploit.c:116:5: warning: incompatible implicit declaration of built-in function ‘memcpy’

116 | memcpy(buffer + size, starting, sizeof(starting));

  |     ^~~~~~

exploit.c:116:5: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’

exploit.c:137:5: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]

137 | printf("buffer = %p size = %d\n%s\n", buffer, size, hex_dump);

  |     ^~~~~~

exploit.c:137:5: warning: incompatible implicit declaration of built-in function ‘printf’

exploit.c:137:5: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’

root@kali:~/tools/social_engineering/CVE-2020-11932# ./e

egif_lib.c exploit exploit.c

root@kali:~/tools/social_engineering/CVE-2020-11932# ./exploit

buffer = 0x7fff2c187f50 size = 266

47 49 46 38 39 61 18 00 0A 00 F2 00 00 66 CC CC

FF FF FF 00 00 00 33 99 66 99 FF CC 00 00 00 00

00 00 00 00 00 2C 00 00 00 00 08 00 15 00 00 08

9C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 84 9C 09 B0

C5 07 00 00 00 74 DE E4 11 F3 06 0F 08 37 63 40

C4 C8 21 C3 45 0C 1B 38 5C C8 70 71 43 06 08 1A

34 68 D0 00 C1 07 C4 1C 34 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00 54 12 7C C0 C5 07 00 00 00 EE FF FF 2C 00 00

00 00 1C 0F 00 00 00 00 2C 00 00 00 00 1C 0F 00

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 2C 00 00 00 00

18 00 0A 00 0F 00 01 00 00 3B

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.