Class: Ronin::Vulns::Vuln Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/ronin/vulns/vuln.rb

Overview

This class is abstract.

Base class for all vulnerability classes.

Direct Known Subclasses

WebVuln

Class Method Summary collapse

Class Method Details

.vuln_typeSymbol

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.

This method is abstract.
Note:

This is used internally to map an vulnerability class to a printable type.

Returns the type or kind of vulnerability.

Returns:

  • (Symbol)

Raises:

  • (NotImplementedError)


43
44
45
# File 'lib/ronin/vulns/vuln.rb', line 43

def self.vuln_type
  raise(NotImplementedError,"#{self}.vuln_type was not implemented")
end