home *** CD-ROM | disk | FTP | other *** search
/ DEFCON 15 / DefCon15.bin / Speakers / Jennings / Extras / incognito / token_info.h < prev    next >
C/C++ Source or Header  |  2007-03-11  |  468b  |  13 lines

  1. #ifndef INC_TOKEN_INFO_H
  2. #define INC_TOKEN_INFO_H
  3.  
  4. BOOL is_delegation_token(HANDLE token);
  5. BOOL is_impersonation_token(HANDLE token);
  6. BOOL is_token(HANDLE token, char *requested_name);
  7. BOOL is_local_system();
  8.  
  9. BOOL get_domain_username_from_token(HANDLE token, char *full_name_to_return);
  10. BOOL get_domain_groups_from_token(HANDLE token, char **group_name_array[], DWORD *num_groups);
  11. BOOL get_domain_from_token(HANDLE token, char *domain_to_return);
  12.  
  13. #endif