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/android/command_ids.rb
Views: 11791
1
# -*- coding: binary -*-
2
3
module Rex
4
module Post
5
module Meterpreter
6
module Extensions
7
module Android
8
9
# ID for the extension (needs to be a multiple of 1000)
10
EXTENSION_ID_ANDROID = 5000
11
12
# Associated command ids
13
COMMAND_ID_ANDROID_ACTIVITY_START = EXTENSION_ID_ANDROID + 1
14
COMMAND_ID_ANDROID_CHECK_ROOT = EXTENSION_ID_ANDROID + 2
15
COMMAND_ID_ANDROID_DEVICE_SHUTDOWN = EXTENSION_ID_ANDROID + 3
16
COMMAND_ID_ANDROID_DUMP_CALLLOG = EXTENSION_ID_ANDROID + 4
17
COMMAND_ID_ANDROID_DUMP_CONTACTS = EXTENSION_ID_ANDROID + 5
18
COMMAND_ID_ANDROID_DUMP_SMS = EXTENSION_ID_ANDROID + 6
19
COMMAND_ID_ANDROID_GEOLOCATE = EXTENSION_ID_ANDROID + 7
20
COMMAND_ID_ANDROID_HIDE_APP_ICON = EXTENSION_ID_ANDROID + 8
21
COMMAND_ID_ANDROID_INTERVAL_COLLECT = EXTENSION_ID_ANDROID + 9
22
COMMAND_ID_ANDROID_SEND_SMS = EXTENSION_ID_ANDROID + 10
23
COMMAND_ID_ANDROID_SET_AUDIO_MODE = EXTENSION_ID_ANDROID + 11
24
COMMAND_ID_ANDROID_SET_WALLPAPER = EXTENSION_ID_ANDROID + 12
25
COMMAND_ID_ANDROID_SQLITE_QUERY = EXTENSION_ID_ANDROID + 13
26
COMMAND_ID_ANDROID_WAKELOCK = EXTENSION_ID_ANDROID + 14
27
COMMAND_ID_ANDROID_WLAN_GEOLOCATE = EXTENSION_ID_ANDROID + 15
28
29
end
30
end
31
end
32
end
33
end
34
35