passwordspray.h 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. //main
  2. WINBASEAPI HMODULE WINAPI KERNEL32$LoadLibraryA(LPCSTR lpLibFileName);
  3. WINBASEAPI PVOID WINAPI KERNEL32$HeapAlloc(HANDLE hHeap, DWORD dwFlags, SIZE_T dwBytes);
  4. WINBASEAPI BOOL WINAPI KERNEL32$HeapFree(HANDLE hHeap, DWORD dwFlags, PVOID lpMem);
  5. WINBASEAPI HANDLE WINAPI KERNEL32$GetProcessHeap(VOID);
  6. WINBASEAPI int WINAPI MSVCRT$printf(const char *format, ...);
  7. WINBASEAPI size_t WINAPI MSVCRT$wcslen(const wchar_t *str);
  8. WINBASEAPI int WSAAPI WS2_32$WSAStartup(WORD wVersionRequested, LPWSADATA lpWSAData);
  9. WINBASEAPI int WSAAPI WS2_32$WSACleanup(void);
  10. WINBASEAPI int WSAAPI WS2_32$getaddrinfo(PCSTR pNodeName, PCSTR pServiceName, const ADDRINFOA *pHints, PADDRINFOA *ppResult);
  11. WINBASEAPI void WSAAPI WS2_32$freeaddrinfo(PADDRINFOA pAddrInfo);
  12. WINBASEAPI BOOL WINAPI SECUR32$AcquireCredentialsHandleW(PCWSTR pszPrincipal, PCWSTR pszPackage, ULONG fCredentialUse, PVOID pvLogonId, PVOID pAuthData, SEC_GET_KEY_FN pGetKeyFn, PVOID pvGetKeyArgument, PCredHandle phCredential, PTimeStamp ptsExpiry);
  13. WINBASEAPI SECURITY_STATUS WINAPI SECUR32$InitializeSecurityContextW(PCredHandle phCredential, PCtxtHandle phContext, SEC_WCHAR *pszTargetName, ULONG fContextReq, ULONG Reserved1, ULONG TargetDataRep, PSecBufferDesc pInput, ULONG Reserved2, PCtxtHandle phNewContext, PSecBufferDesc pOutput, PULONG pfContextAttr, PTimeStamp ptsExpiry);
  14. WINBASEAPI SECURITY_STATUS WINAPI SECUR32$AcceptSecurityContext(PCredHandle phCredential, PCtxtHandle phContext, PSecBufferDesc pInput, ULONG fContextReq, ULONG TargetDataRep, PCtxtHandle phNewContext, PSecBufferDesc pOutput, PULONG pfContextAttr, PTimeStamp ptsTimeStamp);
  15. WINBASEAPI SECURITY_STATUS WINAPI SECUR32$DeleteSecurityContext(PCtxtHandle phContext);
  16. WINBASEAPI SECURITY_STATUS WINAPI SECUR32$FreeCredentialsHandle(PCredHandle phCredential);
  17. WINBASEAPI BOOL WINAPI SECUR32$GetUserNameExW(EXTENDED_NAME_FORMAT NameFormat, LPWSTR lpNameBuffer, PULONG nSize);
  18. //
  19. WINBASEAPI void __cdecl MSVCRT$srand(unsigned int seed);
  20. WINBASEAPI int __cdecl MSVCRT$rand(void);
  21. WINBASEAPI time_t __cdecl MSVCRT$time(time_t *timer);
  22. WINBASEAPI clock_t __cdecl MSVCRT$clock(void);
  23. DECLSPEC_IMPORT char* __cdecl MSVCRT$strtok(char* _String, const char* _Delimiters);
  24. WINBASEAPI int __cdecl MSVCRT$strcmp(const char *str1, const char *str2);
  25. WINBASEAPI int WINAPI KERNEL32$lstrcmpW(LPCWSTR lpString1, LPCWSTR lpString2);
  26. DECLSPEC_IMPORT int WINAPI KERNEL32$MultiByteToWideChar(UINT CodePage, DWORD dwFlags, _In_NLS_string_(cbMultiByte)LPCCH lpMultiByteStr, int cbMultiByte, LPWSTR lpWideCharStr, int cchWideChar);
  27. //TEST
  28. WINBASEAPI DWORD WINAPI NETAPI32$DsGetDcNameW(LPCWSTR ComputerName, LPCWSTR DomainName, GUID* DomainGuid, LPCWSTR SiteName, ULONG Flags, PDOMAIN_CONTROLLER_INFO* DomainControllerInfo);
  29. WINBASEAPI NET_API_STATUS WINAPI NETAPI32$NetApiBufferFree(LPVOID Buffer);
  30. //bofstart + internal_printf + printoutput
  31. WINBASEAPI void *__cdecl MSVCRT$calloc(size_t number, size_t size);
  32. WINBASEAPI int WINAPI MSVCRT$vsnprintf(char* buffer, size_t count, const char* format, va_list arg);
  33. WINBASEAPI void __cdecl MSVCRT$memset(void *dest, int c, size_t count);
  34. WINBASEAPI void* WINAPI MSVCRT$memcpy(void* dest, const void* src, size_t count);
  35. WINBASEAPI HANDLE WINAPI KERNEL32$GetProcessHeap();
  36. WINBASEAPI LPVOID WINAPI KERNEL32$HeapAlloc(HANDLE hHeap, DWORD dwFlags, SIZE_T dwBytes);
  37. WINBASEAPI void __cdecl MSVCRT$free(void *memblock);
  38. WINBASEAPI BOOL WINAPI KERNEL32$HeapFree(HANDLE, DWORD, PVOID);