CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/rex/post/meterpreter/extensions/priv/tlv.rb
Views: 11791
1
# -*- coding: binary -*-
2
module Rex
3
module Post
4
module Meterpreter
5
module Extensions
6
module Priv
7
8
# Passwd
9
TLV_TYPE_SAM_HASHES = TLV_META_TYPE_STRING | (TLV_EXTENSIONS + 1)
10
11
# Fs
12
TLV_TYPE_FS_FILE_MODIFIED = TLV_META_TYPE_UINT | (TLV_EXTENSIONS + 100)
13
TLV_TYPE_FS_FILE_ACCESSED = TLV_META_TYPE_UINT | (TLV_EXTENSIONS + 101)
14
TLV_TYPE_FS_FILE_CREATED = TLV_META_TYPE_UINT | (TLV_EXTENSIONS + 102)
15
TLV_TYPE_FS_FILE_EMODIFIED = TLV_META_TYPE_UINT | (TLV_EXTENSIONS + 103)
16
TLV_TYPE_FS_FILE_PATH = TLV_META_TYPE_STRING | (TLV_EXTENSIONS + 110)
17
TLV_TYPE_FS_SRC_FILE_PATH = TLV_META_TYPE_STRING | (TLV_EXTENSIONS + 111)
18
19
# Elevate
20
TLV_TYPE_ELEVATE_TECHNIQUE = TLV_META_TYPE_UINT | (TLV_EXTENSIONS + 200)
21
TLV_TYPE_ELEVATE_SERVICE_NAME = TLV_META_TYPE_STRING | (TLV_EXTENSIONS + 201)
22
TLV_TYPE_ELEVATE_SERVICE_DLL = TLV_META_TYPE_STRING | (TLV_EXTENSIONS + 202)
23
TLV_TYPE_ELEVATE_SERVICE_LENGTH = TLV_META_TYPE_UINT | (TLV_EXTENSIONS + 203)
24
25
end
26
end
27
end
28
end
29
end
30
31