2017-07-27 23:34:27 +00:00
|
|
|
|
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; }
|
2017-07-28 00:27:31 +00:00
|
|
|
|
public SystemType EffectiveAgainst { get; set; }
|
2017-07-28 02:36:46 +00:00
|
|
|
|
public int Function { get; set; }
|
2017-07-27 23:34:27 +00:00
|
|
|
|
public string Dependencies { get; set; }
|
|
|
|
|
|
|
|
|
|
public string ID
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return PayloadName.ToLower().Replace(" ", "_");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return $"{FriendlyName} ({PayloadName})";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|