From a4982ca307a64c947670640649dd13c5a4ba86ee Mon Sep 17 00:00:00 2001 From: OJ Date: Fri, 23 Dec 2016 09:58:26 +1000 Subject: [PATCH] Remove unused kiwi TLVs --- c/meterpreter/source/extensions/kiwi/main.h | 73 --------------------- 1 file changed, 73 deletions(-) diff --git a/c/meterpreter/source/extensions/kiwi/main.h b/c/meterpreter/source/extensions/kiwi/main.h index fd130f61..4d3e3100 100755 --- a/c/meterpreter/source/extensions/kiwi/main.h +++ b/c/meterpreter/source/extensions/kiwi/main.h @@ -9,79 +9,6 @@ #define TLV_TYPE_EXTENSION_KIWI 0 -#define KIWI_PWD_ID_SEK_ALLPASS ((UINT)0) -#define KIWI_PWD_ID_SEK_WDIGEST ((UINT)1) -#define KIWI_PWD_ID_SEK_MSV ((UINT)2) -#define KIWI_PWD_ID_SEK_KERBEROS ((UINT)3) -#define KIWI_PWD_ID_SEK_TSPKG ((UINT)4) -#define KIWI_PWD_ID_SEK_LIVESSP ((UINT)5) -#define KIWI_PWD_ID_SEK_SSP ((UINT)6) -#define KIWI_PWD_ID_SEK_DPAPI ((UINT)7) - -#define TLV_TYPE_KIWI_PWD_ID MAKE_CUSTOM_TLV(TLV_META_TYPE_UINT, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 1) -#define TLV_TYPE_KIWI_PWD_RESULT MAKE_CUSTOM_TLV(TLV_META_TYPE_GROUP, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 2) -#define TLV_TYPE_KIWI_PWD_USERNAME MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 3) -#define TLV_TYPE_KIWI_PWD_DOMAIN MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 4) -#define TLV_TYPE_KIWI_PWD_PASSWORD MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 5) -#define TLV_TYPE_KIWI_PWD_AUTH_HI MAKE_CUSTOM_TLV(TLV_META_TYPE_UINT, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 6) -#define TLV_TYPE_KIWI_PWD_AUTH_LO MAKE_CUSTOM_TLV(TLV_META_TYPE_UINT, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 7) -#define TLV_TYPE_KIWI_PWD_LMHASH MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 8) -#define TLV_TYPE_KIWI_PWD_NTLMHASH MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 9) - -#define TLV_TYPE_KIWI_GOLD_USER MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 10) -#define TLV_TYPE_KIWI_GOLD_DOMAIN MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 11) -#define TLV_TYPE_KIWI_GOLD_SID MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 12) -#define TLV_TYPE_KIWI_GOLD_TGT MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 13) -#define TLV_TYPE_KIWI_GOLD_USERID MAKE_CUSTOM_TLV(TLV_META_TYPE_UINT, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 14) -#define TLV_TYPE_KIWI_GOLD_GROUPID MAKE_CUSTOM_TLV(TLV_META_TYPE_UINT, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 15) - -#define TLV_TYPE_KIWI_LSA_VER_MAJ MAKE_CUSTOM_TLV(TLV_META_TYPE_UINT, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 20) -#define TLV_TYPE_KIWI_LSA_VER_MIN MAKE_CUSTOM_TLV(TLV_META_TYPE_UINT, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 21) -#define TLV_TYPE_KIWI_LSA_COMPNAME MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 22) -#define TLV_TYPE_KIWI_LSA_SYSKEY MAKE_CUSTOM_TLV(TLV_META_TYPE_RAW, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 23) -#define TLV_TYPE_KIWI_LSA_KEYCOUNT MAKE_CUSTOM_TLV(TLV_META_TYPE_UINT, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 24) -#define TLV_TYPE_KIWI_LSA_KEYID MAKE_CUSTOM_TLV(TLV_META_TYPE_RAW, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 25) -#define TLV_TYPE_KIWI_LSA_KEYIDX MAKE_CUSTOM_TLV(TLV_META_TYPE_UINT, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 26) -#define TLV_TYPE_KIWI_LSA_KEYVALUE MAKE_CUSTOM_TLV(TLV_META_TYPE_RAW, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 27) -#define TLV_TYPE_KIWI_LSA_NT6KEY MAKE_CUSTOM_TLV(TLV_META_TYPE_GROUP, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 28) -#define TLV_TYPE_KIWI_LSA_NT5KEY MAKE_CUSTOM_TLV(TLV_META_TYPE_RAW, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 29) - -#define TLV_TYPE_KIWI_LSA_SECRET MAKE_CUSTOM_TLV(TLV_META_TYPE_GROUP, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 35) -#define TLV_TYPE_KIWI_LSA_SECRET_NAME MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 36) -#define TLV_TYPE_KIWI_LSA_SECRET_SERV MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 37) -#define TLV_TYPE_KIWI_LSA_SECRET_NTLM MAKE_CUSTOM_TLV(TLV_META_TYPE_RAW, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 38) -#define TLV_TYPE_KIWI_LSA_SECRET_CURR MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 39) -#define TLV_TYPE_KIWI_LSA_SECRET_CURR_RAW MAKE_CUSTOM_TLV(TLV_META_TYPE_RAW, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 40) -#define TLV_TYPE_KIWI_LSA_SECRET_OLD MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 41) -#define TLV_TYPE_KIWI_LSA_SECRET_OLD_RAW MAKE_CUSTOM_TLV(TLV_META_TYPE_RAW, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 42) - -#define TLV_TYPE_KIWI_LSA_SAM MAKE_CUSTOM_TLV(TLV_META_TYPE_GROUP, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 50) -#define TLV_TYPE_KIWI_LSA_SAM_RID MAKE_CUSTOM_TLV(TLV_META_TYPE_UINT, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 51) -#define TLV_TYPE_KIWI_LSA_SAM_USER MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 52) -#define TLV_TYPE_KIWI_LSA_SAM_LMHASH MAKE_CUSTOM_TLV(TLV_META_TYPE_RAW, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 53) -#define TLV_TYPE_KIWI_LSA_SAM_NTLMHASH MAKE_CUSTOM_TLV(TLV_META_TYPE_RAW, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 54) - -#define TLV_TYPE_KIWI_KERB_EXPORT MAKE_CUSTOM_TLV(TLV_META_TYPE_BOOL, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 60) -#define TLV_TYPE_KIWI_KERB_TKT MAKE_CUSTOM_TLV(TLV_META_TYPE_GROUP, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 61) -#define TLV_TYPE_KIWI_KERB_TKT_ENCTYPE MAKE_CUSTOM_TLV(TLV_META_TYPE_UINT, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 62) -#define TLV_TYPE_KIWI_KERB_TKT_START MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 63) -#define TLV_TYPE_KIWI_KERB_TKT_END MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 64) -#define TLV_TYPE_KIWI_KERB_TKT_MAXRENEW MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 65) -#define TLV_TYPE_KIWI_KERB_TKT_SERVERNAME MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 66) -#define TLV_TYPE_KIWI_KERB_TKT_SERVERREALM MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 67) -#define TLV_TYPE_KIWI_KERB_TKT_CLIENTNAME MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 68) -#define TLV_TYPE_KIWI_KERB_TKT_CLIENTREALM MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 69) -#define TLV_TYPE_KIWI_KERB_TKT_FLAGS MAKE_CUSTOM_TLV(TLV_META_TYPE_UINT, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 70) -#define TLV_TYPE_KIWI_KERB_TKT_RAW MAKE_CUSTOM_TLV(TLV_META_TYPE_RAW, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 71) - -#define TLV_TYPE_KIWI_WIFI_INT MAKE_CUSTOM_TLV(TLV_META_TYPE_GROUP, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 75) -#define TLV_TYPE_KIWI_WIFI_INT_GUID MAKE_CUSTOM_TLV(TLV_META_TYPE_RAW, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 76) -#define TLV_TYPE_KIWI_WIFI_INT_STATE MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 77) -#define TLV_TYPE_KIWI_WIFI_INT_DESC MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 78) -#define TLV_TYPE_KIWI_WIFI_PROFILE MAKE_CUSTOM_TLV(TLV_META_TYPE_GROUP, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 79) -#define TLV_TYPE_KIWI_WIFI_PROFILE_NAME MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 80) -#define TLV_TYPE_KIWI_WIFI_PROFILE_XML MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 81) - #define TLV_TYPE_KIWI_CMD MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 100) #define TLV_TYPE_KIWI_CMD_RESULT MAKE_CUSTOM_TLV(TLV_META_TYPE_STRING, TLV_TYPE_EXTENSION_KIWI, TLV_EXTENSIONS + 101)