aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Objects/Hacking/Exploit.cs
blob: 7e83c3a0eeb8393db08806957111deb306dc2fbc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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})";
        }
    }

}