Module: Ronin::Exploits::Metadata::HeaderName
- Defined in:
- lib/ronin/exploits/metadata/header_name.rb
Overview
Adds a header_name metadata attribute to an exploit class.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(exploit) ⇒ Object
private
Adds ClassMethods to the exploit class.
Instance Method Summary collapse
-
#header_name ⇒ String?
The target HTTP Header name of the exploit.
Class Method Details
.included(exploit) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Adds ClassMethods to the exploit class.
38 39 40 |
# File 'lib/ronin/exploits/metadata/header_name.rb', line 38 def self.included(exploit) exploit.extend ClassMethods end |
Instance Method Details
#header_name ⇒ String?
The target HTTP Header name of the exploit.
78 79 80 |
# File 'lib/ronin/exploits/metadata/header_name.rb', line 78 def header_name self.class.header_name end |