Skip to content
Permalink
Browse files

Covenant v0.3

  • Loading branch information...
cobbr committed Aug 2, 2019
2 parents 02e8499 + cf426f4 commit abcba78006c29b687f6e1a43a1ea1793784714fd
Showing 474 changed files with 145,112 additions and 7,903 deletions.
@@ -1,5 +1,4 @@
**/bin/
**/obj/
**/out/
Dockerfile*
**/*.trx

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -29,14 +29,14 @@ public BinaryLauncher()
/// 'InstallUtil'</param>
/// <param name="commType">Possible values include: 'HTTP',
/// 'SMB'</param>
public BinaryLauncher(int? id = default(int?), int? listenerId = default(int?), DotNetVersion? dotNetFrameworkVersion = default(DotNetVersion?), LauncherType? type = default(LauncherType?), string name = default(string), string description = default(string), CommunicationType? commType = default(CommunicationType?), bool? validateCert = default(bool?), bool? useCertPinning = default(bool?), string smbPipeName = default(string), int? delay = default(int?), int? jitterPercent = default(int?), int? connectAttempts = default(int?), System.DateTime? killDate = default(System.DateTime?), string launcherString = default(string), string stagerCode = default(string), string base64ILByteString = default(string))
public BinaryLauncher(int? id = default(int?), int? listenerId = default(int?), string name = default(string), string description = default(string), DotNetVersion? dotNetFrameworkVersion = default(DotNetVersion?), LauncherType? type = default(LauncherType?), CommunicationType? commType = default(CommunicationType?), bool? validateCert = default(bool?), bool? useCertPinning = default(bool?), string smbPipeName = default(string), int? delay = default(int?), int? jitterPercent = default(int?), int? connectAttempts = default(int?), System.DateTime? killDate = default(System.DateTime?), string launcherString = default(string), string stagerCode = default(string), string base64ILByteString = default(string))
{
Id = id;
ListenerId = listenerId;
DotNetFrameworkVersion = dotNetFrameworkVersion;
Type = type;
Name = name;
Description = description;
DotNetFrameworkVersion = dotNetFrameworkVersion;
Type = type;
CommType = commType;
ValidateCert = validateCert;
UseCertPinning = useCertPinning;
@@ -66,6 +66,16 @@ public BinaryLauncher(int? id = default(int?), int? listenerId = default(int?),
[JsonProperty(PropertyName = "listenerId")]
public int? ListenerId { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }

/// <summary>
/// Gets or sets possible values include: 'Net40', 'Net35', 'NetCore21'
/// </summary>
@@ -80,16 +90,6 @@ public BinaryLauncher(int? id = default(int?), int? listenerId = default(int?),
[JsonProperty(PropertyName = "type")]
public LauncherType? Type { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }

/// <summary>
/// Gets or sets possible values include: 'HTTP', 'SMB'
/// </summary>
@@ -24,13 +24,12 @@ public CapturedCredential()
/// </summary>
/// <param name="type">Possible values include: 'Password', 'Hash',
/// 'Ticket'</param>
public CapturedCredential(int? id = default(int?), string domain = default(string), string username = default(string), string serviceName = default(string), CredentialType? type = default(CredentialType?))
public CapturedCredential(int? id = default(int?), CredentialType? type = default(CredentialType?), string domain = default(string), string username = default(string))
{
Id = id;
Type = type;
Domain = domain;
Username = username;
ServiceName = serviceName;
Type = type;
CustomInit();
}

@@ -44,6 +43,12 @@ public CapturedCredential(int? id = default(int?), string domain = default(strin
[JsonProperty(PropertyName = "id")]
public int? Id { get; set; }

/// <summary>
/// Gets or sets possible values include: 'Password', 'Hash', 'Ticket'
/// </summary>
[JsonProperty(PropertyName = "type")]
public CredentialType? Type { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "domain")]
@@ -54,16 +59,5 @@ public CapturedCredential(int? id = default(int?), string domain = default(strin
[JsonProperty(PropertyName = "username")]
public string Username { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "serviceName")]
public string ServiceName { get; set; }

/// <summary>
/// Gets or sets possible values include: 'Password', 'Hash', 'Ticket'
/// </summary>
[JsonProperty(PropertyName = "type")]
public CredentialType? Type { get; set; }

}
}
@@ -26,15 +26,14 @@ public CapturedHashCredential()
/// 'LM', 'SHA1'</param>
/// <param name="type">Possible values include: 'Password', 'Hash',
/// 'Ticket'</param>
public CapturedHashCredential(string hash = default(string), HashType? hashCredentialType = default(HashType?), int? id = default(int?), string domain = default(string), string username = default(string), string serviceName = default(string), CredentialType? type = default(CredentialType?))
public CapturedHashCredential(HashType? hashCredentialType = default(HashType?), string hash = default(string), int? id = default(int?), CredentialType? type = default(CredentialType?), string domain = default(string), string username = default(string))
{
Hash = hash;
HashCredentialType = hashCredentialType;
Hash = hash;
Id = id;
Type = type;
Domain = domain;
Username = username;
ServiceName = serviceName;
Type = type;
CustomInit();
}

@@ -43,11 +42,6 @@ public CapturedHashCredential(string hash = default(string), HashType? hashCrede
/// </summary>
partial void CustomInit();

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "hash")]
public string Hash { get; set; }

/// <summary>
/// Gets or sets possible values include: 'NTLM', 'LM', 'SHA1'
/// </summary>
@@ -56,29 +50,29 @@ public CapturedHashCredential(string hash = default(string), HashType? hashCrede

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "id")]
public int? Id { get; set; }
[JsonProperty(PropertyName = "hash")]
public string Hash { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "domain")]
public string Domain { get; set; }
[JsonProperty(PropertyName = "id")]
public int? Id { get; set; }

/// <summary>
/// Gets or sets possible values include: 'Password', 'Hash', 'Ticket'
/// </summary>
[JsonProperty(PropertyName = "username")]
public string Username { get; set; }
[JsonProperty(PropertyName = "type")]
public CredentialType? Type { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "serviceName")]
public string ServiceName { get; set; }
[JsonProperty(PropertyName = "domain")]
public string Domain { get; set; }

/// <summary>
/// Gets or sets possible values include: 'Password', 'Hash', 'Ticket'
/// </summary>
[JsonProperty(PropertyName = "type")]
public CredentialType? Type { get; set; }
[JsonProperty(PropertyName = "username")]
public string Username { get; set; }

}
}
@@ -24,14 +24,13 @@ public CapturedPasswordCredential()
/// </summary>
/// <param name="type">Possible values include: 'Password', 'Hash',
/// 'Ticket'</param>
public CapturedPasswordCredential(string password = default(string), int? id = default(int?), string domain = default(string), string username = default(string), string serviceName = default(string), CredentialType? type = default(CredentialType?))
public CapturedPasswordCredential(string password = default(string), int? id = default(int?), CredentialType? type = default(CredentialType?), string domain = default(string), string username = default(string))
{
Password = password;
Id = id;
Type = type;
Domain = domain;
Username = username;
ServiceName = serviceName;
Type = type;
CustomInit();
}

@@ -50,6 +49,12 @@ public CapturedPasswordCredential(string password = default(string), int? id = d
[JsonProperty(PropertyName = "id")]
public int? Id { get; set; }

/// <summary>
/// Gets or sets possible values include: 'Password', 'Hash', 'Ticket'
/// </summary>
[JsonProperty(PropertyName = "type")]
public CredentialType? Type { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "domain")]
@@ -60,16 +65,5 @@ public CapturedPasswordCredential(string password = default(string), int? id = d
[JsonProperty(PropertyName = "username")]
public string Username { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "serviceName")]
public string ServiceName { get; set; }

/// <summary>
/// Gets or sets possible values include: 'Password', 'Hash', 'Ticket'
/// </summary>
[JsonProperty(PropertyName = "type")]
public CredentialType? Type { get; set; }

}
}
@@ -26,15 +26,15 @@ public CapturedTicketCredential()
/// 'AES'</param>
/// <param name="type">Possible values include: 'Password', 'Hash',
/// 'Ticket'</param>
public CapturedTicketCredential(string ticket = default(string), TicketType? ticketCredentialType = default(TicketType?), int? id = default(int?), string domain = default(string), string username = default(string), string serviceName = default(string), CredentialType? type = default(CredentialType?))
public CapturedTicketCredential(TicketType? ticketCredentialType = default(TicketType?), string serviceName = default(string), string ticket = default(string), int? id = default(int?), CredentialType? type = default(CredentialType?), string domain = default(string), string username = default(string))
{
Ticket = ticket;
TicketCredentialType = ticketCredentialType;
ServiceName = serviceName;
Ticket = ticket;
Id = id;
Type = type;
Domain = domain;
Username = username;
ServiceName = serviceName;
Type = type;
CustomInit();
}

@@ -43,11 +43,6 @@ public CapturedTicketCredential(string ticket = default(string), TicketType? tic
/// </summary>
partial void CustomInit();

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "ticket")]
public string Ticket { get; set; }

/// <summary>
/// Gets or sets possible values include: 'RC4', 'AES'
/// </summary>
@@ -56,29 +51,34 @@ public CapturedTicketCredential(string ticket = default(string), TicketType? tic

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "id")]
public int? Id { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "domain")]
public string Domain { get; set; }
[JsonProperty(PropertyName = "serviceName")]
public string ServiceName { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "username")]
public string Username { get; set; }
[JsonProperty(PropertyName = "ticket")]
public string Ticket { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "serviceName")]
public string ServiceName { get; set; }
[JsonProperty(PropertyName = "id")]
public int? Id { get; set; }

/// <summary>
/// Gets or sets possible values include: 'Password', 'Hash', 'Ticket'
/// </summary>
[JsonProperty(PropertyName = "type")]
public CredentialType? Type { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "domain")]
public string Domain { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "username")]
public string Username { get; set; }

}
}
@@ -0,0 +1,73 @@
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>

namespace Covenant.API.Models
{
using Newtonsoft.Json;
using System.Linq;

public partial class CommandOutput
{
/// <summary>
/// Initializes a new instance of the CommandOutput class.
/// </summary>
public CommandOutput()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the CommandOutput class.
/// </summary>
public CommandOutput(int gruntCommandId, int? id = default(int?), string output = default(string), GruntCommand gruntCommand = default(GruntCommand))
{
Id = id;
Output = output;
GruntCommandId = gruntCommandId;
GruntCommand = gruntCommand;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "id")]
public int? Id { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "output")]
public string Output { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "gruntCommandId")]
public int GruntCommandId { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "gruntCommand")]
public GruntCommand GruntCommand { get; set; }

/// <summary>
/// Validate the object.
/// </summary>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown if validation fails
/// </exception>
public virtual void Validate()
{
if (GruntCommand != null)
{
GruntCommand.Validate();
}
}
}
}

0 comments on commit abcba78

Please sign in to comment.
You can’t perform that action at this time.