aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Objects/Hacking/Payload.cs
blob: 3ec11b85a14d92f3a41b6e980bef3bfc93ef1949 (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
31
32
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShiftOS.Objects
{
    public class Payload
    {
        public string FriendlyName { get; set; }
        public string PayloadName { get; set; }
        public int EffectiveAgainstFirewall { get; set; }
        public SystemType EffectiveAgainst { get; set; }
        public int Function { get; set; }
        public string Dependencies { get; set; }

        public string ID
        {
            get
            {
                return PayloadName.ToLower().Replace(" ", "_");
            }
        }

        public override string ToString()
        {
            return $"{FriendlyName} ({PayloadName})";
        }
    }

}