|
@@ -4,6 +4,7 @@ |
|
|
#include <sstream> |
|
|
#include <sstream> |
|
|
#include <windows.h> |
|
|
#include <windows.h> |
|
|
#include <wincred.h> |
|
|
#include <wincred.h> |
|
|
|
|
|
#include <conio.h> |
|
|
|
|
|
|
|
|
void print_bytes(const DWORD length, const LPBYTE bytes) { |
|
|
void print_bytes(const DWORD length, const LPBYTE bytes) { |
|
|
if (length == 0) |
|
|
if (length == 0) |
|
@@ -36,5 +37,8 @@ int main(int argc, char* argv[]) |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
CredFree(creds); |
|
|
CredFree(creds); |
|
|
|
|
|
std::cout << "Press any key to continue..." << std::endl; |
|
|
|
|
|
std::cout.flush(); |
|
|
|
|
|
_getch(); |
|
|
return 0; |
|
|
return 0; |
|
|
} |
|
|
} |