Package eu.tneitzel.rmg.endpoints
Class Vulnerability
- java.lang.Object
-
- eu.tneitzel.rmg.endpoints.Vulnerability
-
public class Vulnerability extends Object
The Vulnerability class represents a known vulnerability of a KnownEndpoint. This is used to make the user aware of attack vectors that exist and should be checked on the KnownEndpoint. A KnownEndpoint can contain multiple vulnerabilities that are displayed when using remote-method-guesser's 'known' action.- Author:
- Tobias Neitzel (@qtc_de)
-
-
Constructor Summary
Constructors Constructor Description Vulnerability()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Get the vulnerability description.StringgetName()Get the vulnerability name.List<String>getReferences()Get the vulnerability references.voidsetDescription(String description)Set the description of the vulnerability.voidsetName(String name)Set vulnerability namevoidsetReferences(List<String> references)Set the references of the vulnerability.
-
-
-
Method Detail
-
setName
public void setName(String name)
Set vulnerability name- Parameters:
name- of the vulnerability
-
setDescription
public void setDescription(String description)
Set the description of the vulnerability.- Parameters:
description- vulnerability description
-
setReferences
public void setReferences(List<String> references)
Set the references of the vulnerability.- Parameters:
references- vulnerability references
-
getName
public String getName()
Get the vulnerability name.- Returns:
- name
-
getDescription
public String getDescription()
Get the vulnerability description.- Returns:
- description
-
-