-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
grimreaper: Successfully ported over to LLVM-MINGW
- Loading branch information
1 parent
0b9ee1b
commit 1ff1328
Showing
7 changed files
with
103 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/*! | ||
* | ||
* GRIMREAPER | ||
* | ||
* Austin Hudson | ||
* | ||
* suspicious.actor | ||
* | ||
!*/ | ||
|
||
#include "Common.h" | ||
|
||
typedef struct | ||
{ | ||
D_API( NtCreateNamedPipeFile ); | ||
D_API( NtDeviceIoControlFile ); | ||
D_API( NtClose ); | ||
} API ; | ||
|
||
/*! | ||
* | ||
* Purpose: | ||
* | ||
* Opens a named pipe as a server and awaits for a connection. | ||
* | ||
!*/ | ||
D_SEC( B ) NTSTATUS PipeOpen( _In_ LPWSTR PipeName ) | ||
{ | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* Public domain. */ | ||
#include <stddef.h> | ||
|
||
__attribute__(( section( ".text$B" ) )) | ||
void * | ||
memcpy (void *dest, const void *src, size_t len) | ||
{ | ||
char *d = dest; | ||
const char *s = src; | ||
while (len--) | ||
*d++ = *s++; | ||
return dest; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* Public domain. */ | ||
#include <stddef.h> | ||
|
||
__attribute__(( section( ".text$B" ) )) | ||
void * | ||
memset (void *dest, int val, size_t len) | ||
{ | ||
unsigned char *ptr = dest; | ||
while (len-- > 0) | ||
*ptr++ = val; | ||
return dest; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
click==8.1.7 | ||
Mako==1.3.2 | ||
MarkupSafe==2.1.5 | ||
pefile==2023.2.7 |