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/ui.rb
Views: 11780
1
# -*- coding: binary -*-
2
3
module Rex
4
module Post
5
6
###
7
#
8
# This class provides generalized user interface manipulation routines that
9
# might be supported by post-exploitation clients.
10
#
11
###
12
class UI
13
14
#
15
# This method disables the keyboard on the remote machine.
16
#
17
def disable_keyboard
18
raise NotImplementedError
19
end
20
21
#
22
# This method enables the keyboard on the remote machine.
23
#
24
def enable_keyboard
25
raise NotImplementedError
26
end
27
28
#
29
# This method disables the mouse on the remote machine.
30
#
31
def disable_mouse
32
raise NotImplementedError
33
end
34
35
#
36
# This method enables the mouse on the remote machine.
37
#
38
def enable_mouse
39
raise NotImplementedError
40
end
41
42
#
43
# This method gets the number of seconds the user has been idle from input
44
# on the remote machine.
45
#
46
def idle_time
47
raise NotImplementedError
48
end
49
50
end
51
52
end; end
53
54