CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/lib/rex/post/meterpreter/extensions/powershell/command_ids.rb
Views: 1904
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