FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
DllToShellCode/ShellCode_Ntdll/shellcode_global.h at master · killeven/DllToShellCode · GitHub
killeven
/
DllToShellCode
Public
Notifications
You must be signed in to change notification settings
Fork
140
Star
420
Code
Issues
1
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
DllToShellCode
/
ShellCode_Ntdll
/
shellcode_global.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
68 lines (55 loc) · 2.06 KB
Breadcrumbs
DllToShellCode
/
ShellCode_Ntdll
/
shellcode_global.h
Copy path
File metadata and controls
68 lines (55 loc) · 2.06 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#ifndef
SHELLCODE_GLOBAL_H
#define
SHELLCODE_GLOBAL_H
#include
<windows.h>
#include
<stdint.h>
// kernel32
#define
GetProcAddress_Hash
0x1AB9B854
typedef
void
*
(__stdcall
*
_GetProcAddress
)(
HMODULE
,
char
*
);
#define
LoadLibraryA_Hash
0x7F201F78
typedef
HMODULE
(__stdcall
*
_LoadLibraryA
)(
LPCSTR
lpLibFileName
);
#define
VirtualAlloc_Hash
0x5E893462
typedef
LPVOID
(__stdcall
*
_VirtualAlloc
)(
LPVOID
lpAddress
,
// region to reserve or commit
SIZE_T
dwSize
,
// size of region
DWORD
flAllocationType
,
// type of allocation
DWORD
flProtect
// type of access protection
);
#define
VirtualFree_Hash
0x6488073
typedef
BOOL
(__stdcall
*
_VirtualFree
)(
LPVOID
lpAddress
,
// address of region
SIZE_T
dwSize
,
// size of region
DWORD
dwFreeType
// operation type
);
#define
lstrcmpiA_Hash
0x705CF2A5
typedef
int
(__stdcall
*
_lstrcmpiA
)(
_In_
LPCSTR
lpString1
,
_In_
LPCSTR
lpString2
);
// user32
#define
MessageBoxA_Hash
0x6DBE321
typedef
int
(__stdcall
*
_MessageBoxA
)(
HWND
hWnd
,
LPCSTR
lpText
,
LPCSTR
lpCaption
,
UINT
uType
);
// ntdll
#define
RtlDecompressBuffer_Hash
0x4B106265
typedef
NTSTATUS
(__stdcall
*
_RtlDecompressBuffer
)(
USHORT
CompressionFormat
,
PUCHAR
UncompressedBuffer
,
ULONG
UncompressedBufferSize
,
PUCHAR
CompressedBuffer
,
ULONG
CompressedBufferSize
,
PULONG
FinalUncompressedSize
);
#define
RtlGetCompressionWorkSpaceSize_Hash
0x8FC8E20
typedef
NTSTATUS
(__stdcall
*
_RtlGetCompressionWorkSpaceSize
)(
USHORT
CompressionFormatAndEngine
,
PULONG
CompressBufferWorkSpaceSize
,
PULONG
CompressFragmentWorkSpaceSize
);
#define
RtlZeroMemory_Hash
0xDB579CB
typedef
void
(__stdcall
*
_RtlZeroMemory
)(
IN
VOID
UNALIGNED
*
Destination
,
IN
SIZE_T
Length
);
#define
RtlCopyMemory_Hash
0x20484894
typedef
void
(__stdcall
*
_RtlCopyMemory
)(
IN
VOID
UNALIGNED
*
Destination
,
IN
CONST
VOID
UNALIGNED
*
Source
,
IN
SIZE_T
Length
);
#define
RtlMoveMemory_Hash
0x1518E9C0
typedef
void
(__stdcall
*
_RtlMoveMemory
)(
IN
VOID
UNALIGNED
*
Destination
,
IN
CONST
VOID
UNALIGNED
*
Source
,
IN
SIZE_T
Length
);
#define
Kernel32Lib_Hash
0x1cca9ce6
#endif
// SHELLCODE_GLOBAL_H
Back
|
FazBrowse Home
|
New Git URL