Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion payloads/Demon/include/core/ObjectApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ VOID BeaconCleanupProcess( PROCESS_INFORMATION* pInfo );

/* Utility Functions */
BOOL toWideChar( PCHAR src, PWCHAR dst, INT max );
UINT32 swap_endianess( UINT32 indata );
UINT32 swap_endianness( UINT32 indata );

BOOL GetRequestIDForCallingObjectFile( PVOID CoffeeFunctionReturn, PUINT32 RequestID );

Expand Down
4 changes: 2 additions & 2 deletions payloads/Demon/src/core/ObjectApi.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ COFFAPIFUNC NtApi[] = {
{ .NameHash = 0, .Pointer = NULL },
};

uint32_t swap_endianess(uint32_t indata) {
uint32_t swap_endianness(uint32_t indata) {
uint32_t testint = 0xaabbccdd;
uint32_t outint = indata;
if (((unsigned char*)&testint)[0] == 0xdd) {
Expand Down Expand Up @@ -415,7 +415,7 @@ VOID BeaconFormatInt( PFORMAT format, int value)
if (format->length + 4 > format->size) {
return;
}
outdata = swap_endianess(indata);
outdata = swap_endianness(indata);
MemCopy(format->buffer, &outdata, 4);
format->length += 4;
format->buffer += 4;
Expand Down