You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`┌──(kali㉿kali)-[~/Desktop/Client/HiddenDesktop]
└─$ make
HiddenWindow Shellcode (x64)
In file included from /usr/share/mingw-w64/include/winnt.h:27,
from /usr/share/mingw-w64/include/minwindef.h:163,
from /usr/share/mingw-w64/include/windef.h:9,
from /usr/share/mingw-w64/include/windows.h:69,
from /usr/share/mingw-w64/include/winsock2.h:23,
from client/common.h:3,
from client/bfmain.c:1:
In function ‘__readgsqword’,
inlined from ‘NtCurrentTeb’ at /usr/share/mingw-w64/include/winnt.h:10013:73,
inlined from ‘BofMain’ at client/bfmain.c:48:39:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:838:1: error: array subscript 0 is outside array bounds of ‘long long unsigned int[0]’ [-Werror=array-bounds]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
In function ‘__readgsqword’,
inlined from ‘NtCurrentTeb’ at /usr/share/mingw-w64/include/winnt.h:10013:73,
inlined from ‘BofMain’ at client/bfmain.c:65:39:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:838:1: error: array subscript 0 is outside array bounds of ‘long long unsigned int[0]’ [-Werror=array-bounds]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
In function ‘__readgsqword’,
inlined from ‘NtCurrentTeb’ at /usr/share/mingw-w64/include/winnt.h:10013:73,
inlined from ‘BofMain’ at client/bfmain.c:73:43:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:838:1: error: array subscript 0 is outside array bounds of ‘long long unsigned int[0]’ [-Werror=array-bounds]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
In function ‘__readgsqword’,
inlined from ‘NtCurrentTeb’ at /usr/share/mingw-w64/include/winnt.h:10013:73,
inlined from ‘BofMain’ at client/bfmain.c:81:45:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:838:1: error: array subscript 0 is outside array bounds of ‘long long unsigned int[0]’ [-Werror=array-bounds]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
In function ‘__readgsqword’,
inlined from ‘NtCurrentTeb’ at /usr/share/mingw-w64/include/winnt.h:10013:73,
inlined from ‘BofMain’ at client/bfmain.c:89:41:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:838:1: error: array subscript 0 is outside array bounds of ‘long long unsigned int[0]’ [-Werror=array-bounds]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
In function ‘__readgsqword’,
inlined from ‘NtCurrentTeb’ at /usr/share/mingw-w64/include/winnt.h:10013:73,
inlined from ‘BofMain’ at client/bfmain.c:97:39:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:838:1: error: array subscript 0 is outside array bounds of ‘long long unsigned int[0]’ [-Werror=array-bounds]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
In function ‘__readgsqword’,
inlined from ‘NtCurrentTeb’ at /usr/share/mingw-w64/include/winnt.h:10013:73,
inlined from ‘BofMain’ at client/bfmain.c:105:41:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:838:1: error: array subscript 0 is outside array bounds of ‘long long unsigned int[0]’ [-Werror=array-bounds]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
In function ‘__readgsqword’,
inlined from ‘NtCurrentTeb’ at /usr/share/mingw-w64/include/winnt.h:10013:73,
inlined from ‘BofMain’ at client/bfmain.c:113:41:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:838:1: error: array subscript 0 is outside array bounds of ‘long long unsigned int[0]’ [-Werror=array-bounds]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
In file included from /usr/share/mingw-w64/include/winnt.h:27,
from /usr/share/mingw-w64/include/minwindef.h:163,
from /usr/share/mingw-w64/include/windef.h:9,
from /usr/share/mingw-w64/include/windows.h:69,
from /usr/share/mingw-w64/include/winsock2.h:23,
from client/common.h:3,
from client/pipe.c:3:
In function ‘__readgsqword’,
inlined from ‘NtCurrentTeb’ at /usr/share/mingw-w64/include/winnt.h:10013:73,
inlined from ‘PipeWait’ at client/pipe.c:21:14:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:838:1: error: array subscript 0 is outside array bounds of ‘long long unsigned int[0]’ [-Werror=array-bounds]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:36: x64] Error 1
┌──(kali㉿kali)-[~/Desktop/Client/HiddenDesktop]
`
The text was updated successfully, but these errors were encountered:
some warnings should not be treated as errors. easy fix: add -Wno-error=array-bounds as a compile option. add it to SCFLAGS and BFFLAGS also in the Makefile. BFFLAGS might need -Wno-error=format also.
I have problem when i compile:
`┌──(kali㉿kali)-[~/Desktop/Client/HiddenDesktop]
└─$ make
HiddenWindow Shellcode (x64)
In file included from /usr/share/mingw-w64/include/winnt.h:27,
from /usr/share/mingw-w64/include/minwindef.h:163,
from /usr/share/mingw-w64/include/windef.h:9,
from /usr/share/mingw-w64/include/windows.h:69,
from /usr/share/mingw-w64/include/winsock2.h:23,
from client/common.h:3,
from client/bfmain.c:1:
In function ‘__readgsqword’,
inlined from ‘NtCurrentTeb’ at /usr/share/mingw-w64/include/winnt.h:10013:73,
inlined from ‘BofMain’ at client/bfmain.c:48:39:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:838:1: error: array subscript 0 is outside array bounds of ‘long long unsigned int[0]’ [-Werror=array-bounds]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
In function ‘__readgsqword’,
inlined from ‘NtCurrentTeb’ at /usr/share/mingw-w64/include/winnt.h:10013:73,
inlined from ‘BofMain’ at client/bfmain.c:65:39:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:838:1: error: array subscript 0 is outside array bounds of ‘long long unsigned int[0]’ [-Werror=array-bounds]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
In function ‘__readgsqword’,
inlined from ‘NtCurrentTeb’ at /usr/share/mingw-w64/include/winnt.h:10013:73,
inlined from ‘BofMain’ at client/bfmain.c:73:43:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:838:1: error: array subscript 0 is outside array bounds of ‘long long unsigned int[0]’ [-Werror=array-bounds]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
In function ‘__readgsqword’,
inlined from ‘NtCurrentTeb’ at /usr/share/mingw-w64/include/winnt.h:10013:73,
inlined from ‘BofMain’ at client/bfmain.c:81:45:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:838:1: error: array subscript 0 is outside array bounds of ‘long long unsigned int[0]’ [-Werror=array-bounds]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
In function ‘__readgsqword’,
inlined from ‘NtCurrentTeb’ at /usr/share/mingw-w64/include/winnt.h:10013:73,
inlined from ‘BofMain’ at client/bfmain.c:89:41:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:838:1: error: array subscript 0 is outside array bounds of ‘long long unsigned int[0]’ [-Werror=array-bounds]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
In function ‘__readgsqword’,
inlined from ‘NtCurrentTeb’ at /usr/share/mingw-w64/include/winnt.h:10013:73,
inlined from ‘BofMain’ at client/bfmain.c:97:39:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:838:1: error: array subscript 0 is outside array bounds of ‘long long unsigned int[0]’ [-Werror=array-bounds]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
In function ‘__readgsqword’,
inlined from ‘NtCurrentTeb’ at /usr/share/mingw-w64/include/winnt.h:10013:73,
inlined from ‘BofMain’ at client/bfmain.c:105:41:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:838:1: error: array subscript 0 is outside array bounds of ‘long long unsigned int[0]’ [-Werror=array-bounds]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
In function ‘__readgsqword’,
inlined from ‘NtCurrentTeb’ at /usr/share/mingw-w64/include/winnt.h:10013:73,
inlined from ‘BofMain’ at client/bfmain.c:113:41:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:838:1: error: array subscript 0 is outside array bounds of ‘long long unsigned int[0]’ [-Werror=array-bounds]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
In file included from /usr/share/mingw-w64/include/winnt.h:27,
from /usr/share/mingw-w64/include/minwindef.h:163,
from /usr/share/mingw-w64/include/windef.h:9,
from /usr/share/mingw-w64/include/windows.h:69,
from /usr/share/mingw-w64/include/winsock2.h:23,
from client/common.h:3,
from client/pipe.c:3:
In function ‘__readgsqword’,
inlined from ‘NtCurrentTeb’ at /usr/share/mingw-w64/include/winnt.h:10013:73,
inlined from ‘PipeWait’ at client/pipe.c:21:14:
/usr/share/mingw-w64/include/psdk_inc/intrin-impl.h:838:1: error: array subscript 0 is outside array bounds of ‘long long unsigned int[0]’ [-Werror=array-bounds]
838 | __buildreadseg(__readgsqword, unsigned __int64, "gs", "q")
| ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:36: x64] Error 1
┌──(kali㉿kali)-[~/Desktop/Client/HiddenDesktop]
`
The text was updated successfully, but these errors were encountered: