Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recieving error to compile payload #498

Open
Aut1st1cC4t opened this issue Jul 4, 2024 · 3 comments
Open

Recieving error to compile payload #498

Aut1st1cC4t opened this issue Jul 4, 2024 · 3 comments

Comments

@Aut1st1cC4t
Copy link

Using Ubuntu 22.04.4 LTS with all prerequisites installed, trying to compile the default Payload config of

Listener: Agent - HTTPs
Arch x64
Format Windows Shellcode
Sleep 2
Indirect Syscall
Stack Duplication
Sleep Technique Ekko
Sleep Jmp Gadget None
Proxy Loading None (LdrLoadDll)
Amsi/Etw Patch None
Alloc Native/Syscall
Execute Native/Syscall
Spawn64 C:\Windows\System32\rasautou.exe
Spawn32 C:\Windows\System32\rasautou.exe
[*] starting build
[*] indirect syscalls has been enabled
[*] sleep obfuscation "Ekko" has been specified
[*] no sleep jump gadget has been specified
[*] stack duplication has been specified
[*] no proxy loading technique specified (using LdrLoadDll)
[*] amsi/etw patching disabled
[*] config size [772 bytes]
[*] compiling source
[-] couldn't compile implant: exit status 1
[-] compile output: In file included from src/core/CoffeeLdr.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/Command.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/Dotnet.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/Download.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/HwBpEngine.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/HwBpExceptions.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/Jobs.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/Kerberos.c:2:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/Memory.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/MiniStd.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/Obf.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/ObjectApi.c:5:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from include/core/MiniStd.h:4,
from src/core/Package.c:3:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/Parser.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/Pivot.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/Runtime.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/Socket.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from include/core/MiniStd.h:4,
from src/core/Spoof.c:2:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/SysNative.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/Syscalls.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/Thread.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/Token.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/Transport.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/TransportHttp.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/TransportSmb.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/core/Win32.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from include/core/MiniStd.h:4,
from src/crypt/AesCrypt.c:2:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/inject/Inject.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/inject/InjectUtil.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/Demon.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.
In file included from src/main/MainExe.c:1:
include/Demon.h:9:10: fatal error: AccCtrl.h: No such file or directory
9 | #include 
| ^~~~~~~~~~~
compilation terminated.

I am using attck.yaotl profile with:

Build {
Compiler64 = "data/x86_64-w64-mingw32-cross/bin/x86_64-w64-mingw32-gcc"
Compiler86 = "data/i686-w64-mingw32-cross/bin/i686-w64-mingw32-gcc"
Nasm = "/usr/bin/nasm"
}

I tried to look on similar problems but no one has this issue on Discord or in Github issues :(.

Thank you 5pider.

@AutisticCat420
Copy link

I found the solution by switching to main branch.

Sorry for opening a issue.

Thanks!

@Shulelk
Copy link

Shulelk commented Jul 13, 2024

I have similar issue:

[*] starting build
[*] no sleep obfuscation has been specified
[*] sleep jump gadget option ignored
[*] stack duplication option ignored
[*] no proxy loading technique specified (using LdrLoadDll)
[*] amsi/etw patching disabled
[*] config size [1054 bytes]
[*] compiling source
[-] couldn't compile implant: exit status 1
[-] compile output: In file included from include/Demon.h:10,
from src/core/CoffeeLdr.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/CoffeeLdr.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Command.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Command.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Dotnet.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Dotnet.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Download.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Download.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/HwBpEngine.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/HwBpEngine.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/HwBpExceptions.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/HwBpExceptions.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Jobs.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Jobs.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Kerberos.c:2:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Kerberos.c:2:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Memory.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Memory.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/MiniStd.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/MiniStd.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Obf.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Obf.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/ObjectApi.c:5:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/ObjectApi.c:5:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from include/core/MiniStd.h:4,
from src/core/Package.c:3:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from include/core/MiniStd.h:4,
from src/core/Package.c:3:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Parser.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Parser.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Pivot.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Pivot.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Runtime.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Runtime.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Socket.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Socket.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from include/core/MiniStd.h:4,
from src/core/Spoof.c:2:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from include/core/MiniStd.h:4,
from src/core/Spoof.c:2:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/SysNative.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/SysNative.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Syscalls.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Syscalls.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Thread.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Thread.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Token.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Token.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Transport.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Transport.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/TransportHttp.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/TransportHttp.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/TransportSmb.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/TransportSmb.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/core/Win32.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/core/Win32.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
src/core/Win32.c: In function ‘CfgAddressAdd’:
src/core/Win32.c:1263:5: error: unknown type name ‘CFG_CALL_TARGET_INFO’
1263 | CFG_CALL_TARGET_INFO Cfg = { 0 };
| ^~~~~~~~~~~~~~~~~~~~
src/core/Win32.c:1275:8: error: request for member ‘Flags’ in something not a structure or union
1275 | Cfg.Flags = CFG_CALL_TARGET_VALID;
| ^
src/core/Win32.c:1275:18: error: ‘CFG_CALL_TARGET_VALID’ undeclared (first use in this function)
1275 | Cfg.Flags = CFG_CALL_TARGET_VALID;
| ^~~~~~~~~~~~~~~~~~~~~
src/core/Win32.c:1275:18: note: each undeclared identifier is reported only once for each function it appears in
src/core/Win32.c:1276:8: error: request for member ‘Offset’ in something not a structure or union
1276 | Cfg.Offset = Function - ImageBase;
| ^
In file included from include/Demon.h:10,
from include/core/MiniStd.h:4,
from src/crypt/AesCrypt.c:2:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from include/core/MiniStd.h:4,
from src/crypt/AesCrypt.c:2:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/inject/Inject.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/inject/Inject.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/inject/InjectUtil.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/inject/InjectUtil.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/Demon.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/Demon.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^
In file included from include/Demon.h:10,
from src/main/MainExe.c:1:
include/common/Native.h:11222:5: error: unknown type name ‘PCFG_CALL_TARGET_INFO’
11222 | PCFG_CALL_TARGET_INFO ptOffsets;
| ^~~~~~~~~~~~~~~~~~~~~
In file included from include/common/Clr.h:6,
from include/Demon.h:12,
from src/main/MainExe.c:1:
include/Demon.h:317:19: error: ‘AddMandatoryAce’ undeclared here (not in a function)
317 | WIN_FUNC( AddMandatoryAce )
| ^~~~~~~~~~~~~~~
include/core/Win32.h:19:32: note: in definition of macro ‘WIN_FUNC’
19 | #define WIN_FUNC(x) __typeof__(x) * x;
| ^

@Securitybits-io
Copy link

Seconded, Teamserver running on Ubuntu-server 22.04, and client on Ubuntu 22.04-desktop
Tried both Dev and Main branches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants