Module: Ronin::Exploits::Metadata::CookieParam

Defined in:
lib/ronin/exploits/metadata/cookie_param.rb

Overview

Adds a cookie_param metadata attribute to an exploit class.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

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.

Parameters:



38
39
40
# File 'lib/ronin/exploits/metadata/cookie_param.rb', line 38

def self.included(exploit)
  exploit.extend ClassMethods
end

Instance Method Details

The target Cookie param of the exploit.

Returns:

  • (String, nil)

    The Cookie param name to exploit.

See Also:



78
79
80
# File 'lib/ronin/exploits/metadata/cookie_param.rb', line 78

def cookie_param
  self.class.cookie_param
end