30 lines
662 B
C#
30 lines
662 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ShiftOS.Objects
|
|
{
|
|
public class Exploit
|
|
{
|
|
public string FriendlyName { get; set; }
|
|
public string ExploitName { get; set; }
|
|
public SystemType EffectiveAgainst { get; set; }
|
|
public string Dependencies { get; set; }
|
|
|
|
public string ID
|
|
{
|
|
get
|
|
{
|
|
return ExploitName.ToLower().Replace(" ", "_");
|
|
}
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"{FriendlyName} ({ExploitName})";
|
|
}
|
|
}
|
|
|
|
}
|