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/sniffer/command_ids.rb
Views: 11791
1
# -*- coding: binary -*-
2
module Rex
3
module Post
4
module Meterpreter
5
module Extensions
6
module Sniffer
7
8
# ID for the extension (needs to be a multiple of 1000)
9
EXTENSION_ID_SNIFFER = 4000
10
11
# Associated command ids
12
COMMAND_ID_SNIFFER_CAPTURE_DUMP = EXTENSION_ID_SNIFFER + 1
13
COMMAND_ID_SNIFFER_CAPTURE_DUMP_READ = EXTENSION_ID_SNIFFER + 2
14
COMMAND_ID_SNIFFER_CAPTURE_RELEASE = EXTENSION_ID_SNIFFER + 3
15
COMMAND_ID_SNIFFER_CAPTURE_START = EXTENSION_ID_SNIFFER + 4
16
COMMAND_ID_SNIFFER_CAPTURE_STATS = EXTENSION_ID_SNIFFER + 5
17
COMMAND_ID_SNIFFER_CAPTURE_STOP = EXTENSION_ID_SNIFFER + 6
18
COMMAND_ID_SNIFFER_INTERFACES = EXTENSION_ID_SNIFFER + 7
19
20
end
21
end
22
end
23
end
24
end
25
26