Files
metasploit-gs/lib/rex/post/meterpreter/extensions/powershell/command_ids.rb
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
507 B
Ruby
Raw Normal View History

2020-05-04 15:06:34 +10:00
# -*- coding: binary -*-
module Rex
module Post
module Meterpreter
module Extensions
module Powershell
# ID for the extension (needs to be a multiple of 1000)
EXTENSION_ID_POWERSHELL = 14000
# Associated command ids
COMMAND_ID_POWERSHELL_ASSEMBLY_LOAD = EXTENSION_ID_POWERSHELL + 1
COMMAND_ID_POWERSHELL_EXECUTE = EXTENSION_ID_POWERSHELL + 2
COMMAND_ID_POWERSHELL_SESSION_REMOVE = EXTENSION_ID_POWERSHELL + 3
COMMAND_ID_POWERSHELL_SHELL = EXTENSION_ID_POWERSHELL + 4
end
end
end
end
end