Skip to content

Commit 3f6f70f

Browse files
committed
Move the cve-2017-8464 source to external/source
1 parent e4d99a1 commit 3f6f70f

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

data/exploits/cve-2017-8464/src/build.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/sh
2+
rm -f *.o *.dll
3+
4+
CCx86="i686-w64-mingw32"
5+
CCx64="x86_64-w64-mingw32"
6+
7+
${CCx64}-gcc -m64 -c -Os template.c -Wall -shared
8+
${CCx64}-dllwrap -m64 --def template.def *.o -o temp.dll
9+
${CCx64}-strip -s temp.dll -o ../../../../data/exploits/cve-2017-8464/template_x64_windows.dll
10+
rm -f temp.dll *.o
11+
chmod -x ../../../../data/exploits/cve-2017-8464/template_x64_windows.dll
12+
13+
${CCx86}-gcc -c -Os template.c -Wall -shared
14+
${CCx86}-dllwrap --def template.def *.o -o temp.dll
15+
${CCx86}-strip -s temp.dll -o ../../../../data/exploits/cve-2017-8464/template_x86_windows.dll
16+
rm -f temp.dll *.o
17+
chmod -x ../../../../data/exploits/cve-2017-8464/template_x86_windows.dll

0 commit comments

Comments
 (0)