Module: Msf::Module::Privileged
- Included in:
- Msf::Module
- Defined in:
- lib/msf/core/module/privileged.rb
Instance Attribute Summary collapse
-
#priveli ⇒ Object
writeonly
protected
Sets the attribute priveli.
-
#privileged ⇒ Object
Returns the value of attribute privileged.
Instance Method Summary collapse
-
#privileged? ⇒ Boolean
Returns whether or not the module requires or grants high privileges.
Instance Attribute Details
#priveli=(value) ⇒ Object (writeonly, protected)
Sets the attribute priveli
28 29 30 |
# File 'lib/msf/core/module/privileged.rb', line 28 def priveli=(value) @priveli = value end |
#privileged ⇒ Object
Returns the value of attribute privileged.
8 9 10 |
# File 'lib/msf/core/module/privileged.rb', line 8 def privileged @privileged end |
Instance Method Details
#privileged? ⇒ Boolean
Returns whether or not the module requires or grants high privileges.
17 18 19 |
# File 'lib/msf/core/module/privileged.rb', line 17 def privileged? privileged == true end |