forked from SolomonSklash/netntlm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpipe.h
46 lines (40 loc) · 838 Bytes
/
pipe.h
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
/**
*
* Captures incoming Net-NTLMv1/v2 hashes
* for incoming authentication attempts
* via NTLM.
*
* GuidePoint Security LLC
* Threat and Attack Simulation
*
**/
#pragma once
/**
*
* @brief: Create a named pipe server.
*
* @param: API table.
* @param: PIpe name.
*
**/
D_SEC( E ) HANDLE PipeInit( _In_ PAPI Api, _In_ PCHAR Name );
/**
*
* @brief: Waits for a connection from a client.
*
* @param: Pointer to API structure.
* @param: Pointer to a pipe handle.
*
**/
D_SEC( E ) BOOL PipeWait( _In_ PAPI Api, _In_ HANDLE Pipe );
/**
*
* @brief: Creates a printf formatted message over a pipe.
*
* @param: Pointer to API structure.
* @param: Pointer to a pipe handle.
* @param: Format string.
* @param: Arguments.
*
**/
D_SEC( E ) BOOL PipePrint( _In_ PAPI Api, _In_ HANDLE Pipe, _In_ PCHAR Format, ... );