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/msf/core/module/privileged.rb
Views: 1904
1
module Msf::Module::Privileged
2
#
3
# Attributes
4
#
5
6
# @!attribute [r] privileged
7
# Whether or not this module requires privileged access.
8
attr_reader :privileged
9
10
#
11
# Instance Methods
12
#
13
14
#
15
# Returns whether or not the module requires or grants high privileges.
16
#
17
def privileged?
18
privileged == true
19
end
20
21
protected
22
23
#
24
# Attributes
25
#
26
27
# @!attribute [w] privileged
28
attr_writer :priveli
29
end
30