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/powershell/command_ids.rb
Views: 11791
1
# -*- coding: binary -*-
2
module Rex
3
module Post
4
module Meterpreter
5
module Extensions
6
module Powershell
7
8
# ID for the extension (needs to be a multiple of 1000)
9
EXTENSION_ID_POWERSHELL = 14000
10
11
# Associated command ids
12
COMMAND_ID_POWERSHELL_ASSEMBLY_LOAD = EXTENSION_ID_POWERSHELL + 1
13
COMMAND_ID_POWERSHELL_EXECUTE = EXTENSION_ID_POWERSHELL + 2
14
COMMAND_ID_POWERSHELL_SESSION_REMOVE = EXTENSION_ID_POWERSHELL + 3
15
COMMAND_ID_POWERSHELL_SHELL = EXTENSION_ID_POWERSHELL + 4
16
17
end
18
end
19
end
20
end
21
end
22
23