Open kagura-maru opened 2 years ago
Also experiencing this. Running the command with Debug enabled suggests the beacon fails to compile:
/usr/bin/x86_64-w64-mingw32-gcc ../lib/stdlib/listdirs.c ../lib/stdlib/readfile.c ../lib/stdlib/makedirectory.c ../lib/stdlib/removefile.c ../lib/stdlib/getdir.c ../lib/stdlib/changedir.c ../lib/stdlib/getpid.c ../lib/stdlib/getps.c base64.c ../lib/json/jwrite.c ../lib/json/jread.c debug.c core.c beacon.c syscalls.c loader.c -o ../beacon.exe -Wl,-Bstatic -lwinhttp -Wl,-Bstatic -lwtsapi32 -Wl,-Bstatic -lsecur32 -DSECURE --static -Wl,--pic-executable,-e,main -w
In file included from loader.c:19:
loader.h:23:16: error: redefinition of ‘struct _STARTUPINFOEXA’
23 | typedef struct _STARTUPINFOEXA {
| ^~~~~~~~~~~~~~~
In file included from /usr/share/mingw-w64/include/windows.h:70,
from loader.c:9:
/usr/share/mingw-w64/include/winbase.h:1526:18: note: originally defined here
1526 | typedef struct _STARTUPINFOEXA {
| ^~~~~~~~~~~~~~~
In file included from loader.c:19:
loader.h:26:3: error: conflicting types for ‘STARTUPINFOEXA’
26 | } STARTUPINFOEXA, *LPSTARTUPINFOEXA;
| ^~~~~~~~~~~~~~
In file included from /usr/share/mingw-w64/include/windows.h:70,
from loader.c:9:
/usr/share/mingw-w64/include/winbase.h:1529:5: note: previous declaration of ‘STARTUPINFOEXA’ was here
1529 | } STARTUPINFOEXA,*LPSTARTUPINFOEXA;
| ^~~~~~~~~~~~~~
In file included from loader.c:19:
loader.h:26:20: error: conflicting types for ‘LPSTARTUPINFOEXA’
26 | } STARTUPINFOEXA, *LPSTARTUPINFOEXA;
| ^~~~~~~~~~~~~~~~
In file included from /usr/share/mingw-w64/include/windows.h:70,
from loader.c:9:
/usr/share/mingw-w64/include/winbase.h:1529:21: note: previous declaration of ‘LPSTARTUPINFOEXA’ was here
1529 | } STARTUPINFOEXA,*LPSTARTUPINFOEXA;
| ^~~~~~~~~~~~~~~~
make: *** [Makefile:33: win_beacon_64_debug] Error 1
Hello
I've installed Shad0w as instructed via the Wiki on Ubuntu 20.04. Upon making a payload, beacon.exe is not found on /root/shad0w/beacon/beacon.exe and its not there.
I would like to know if I can get the beacon.exe or something
Thanks