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/command_ids.rb
Views: 11791
1
# -*- coding: binary -*-
2
module Rex
3
module Post
4
module Meterpreter
5
module Extensions
6
module Priv
7
8
# ID for the extension (needs to be a multiple of 1000)
9
EXTENSION_ID_PRIV = 2000
10
11
# Associated command ids
12
COMMAND_ID_PRIV_ELEVATE_GETSYSTEM = EXTENSION_ID_PRIV + 1
13
COMMAND_ID_PRIV_FS_BLANK_DIRECTORY_MACE = EXTENSION_ID_PRIV + 2
14
COMMAND_ID_PRIV_FS_BLANK_FILE_MACE = EXTENSION_ID_PRIV + 3
15
COMMAND_ID_PRIV_FS_GET_FILE_MACE = EXTENSION_ID_PRIV + 4
16
COMMAND_ID_PRIV_FS_SET_FILE_MACE = EXTENSION_ID_PRIV + 5
17
COMMAND_ID_PRIV_FS_SET_FILE_MACE_FROM_FILE = EXTENSION_ID_PRIV + 6
18
COMMAND_ID_PRIV_PASSWD_GET_SAM_HASHES = EXTENSION_ID_PRIV + 7
19
20
end
21
end
22
end
23
end
24
end
25
26