Show / Hide Table of Contents

Class Hit

Represents the outcome of a successful check, used as Data Type in a Database.

Inheritance
System.Object
Hit
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: RuriLib.Models
Assembly: RuriLib.dll
Syntax
public class Hit

Constructors

| Improve this Doc View Source

Hit()

Needed for NoSQL deserialization.

Declaration
public Hit()
| Improve this Doc View Source

Hit(String, VariableList, String, String, String, String)

Creates a Hit given its details.

Declaration
public Hit(string data, VariableList capturedData, string proxy, string type, string configName, string wordlistName)
Parameters
Type Name Description
System.String data

The data line used

VariableList capturedData

The VariableList of all captured data

System.String proxy

The proxy used

System.String type

The type of the Hit

System.String configName

The Config's name

System.String wordlistName

The Wordlist's name

Properties

| Improve this Doc View Source

CapturedData

The list of all variables marked as Capture.

Declaration
public VariableList CapturedData { get; set; }
Property Value
Type Description
VariableList
| Improve this Doc View Source

CapturedString

The list of all variables marked as Capture as a chained string.

Declaration
[JsonIgnore]
public string CapturedString { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ConfigName

The name of the Config that was used.

Declaration
public string ConfigName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Data

The data line that was used.

Declaration
public string Data { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Date

The timestamp of when the Hit was found.

Declaration
public DateTime Date { get; set; }
Property Value
Type Description
System.DateTime
| Improve this Doc View Source

Id

Needed for NoSQL storage.

Declaration
public Guid Id { get; set; }
Property Value
Type Description
System.Guid
| Improve this Doc View Source

Proxy

The proxy that was used.

Declaration
public string Proxy { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Type

The type of Hit.

Declaration
public string Type { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

WordlistName

The name of the Wordlist that was used.

Declaration
public string WordlistName { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

ToFormattedString(String)

Outputs the Hit details in a given format.

Declaration
public string ToFormattedString(string format)
Parameters
Type Name Description
System.String format

The format in which variables should be replaced

Returns
Type Description
System.String

The formatted string with all variables replaced

  • Improve this Doc
  • View Source
Back to top Generated by DocFX