mirror of https://github.com/infosecn1nja/C3.git
[WebController][Donut] Add aPLib compression
parent
596c107e8e
commit
ca7c5efba0
|
@ -70,9 +70,10 @@ namespace MWR.C3.WebController.Comms
|
||||||
public enum ComperssionEngine
|
public enum ComperssionEngine
|
||||||
{
|
{
|
||||||
NONE = 1,
|
NONE = 1,
|
||||||
LZNT1 = 2, // COMPRESSION_FORMAT_LZNT1
|
APLIB = 2,
|
||||||
XPRESS = 3, // COMPRESSION_FORMAT_XPRESS
|
LZNT1 = 3, // COMPRESSION_FORMAT_LZNT1
|
||||||
XPRESS_HUFF = 4, // COMPRESSION_FORMAT_XPRESS_HUFF
|
XPRESS = 4, // COMPRESSION_FORMAT_XPRESS
|
||||||
|
XPRESS_HUFF = 5, // COMPRESSION_FORMAT_XPRESS_HUFF
|
||||||
}
|
}
|
||||||
|
|
||||||
// entropy level
|
// entropy level
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace MWR.C3.WebController.Models
|
||||||
public DonutRequest()
|
public DonutRequest()
|
||||||
{
|
{
|
||||||
format = DonutLibrary.OutputFormat.BINARY;
|
format = DonutLibrary.OutputFormat.BINARY;
|
||||||
compress = DonutLibrary.ComperssionEngine.XPRESS_HUFF;
|
compress = DonutLibrary.ComperssionEngine.APLIB;
|
||||||
entropy = DonutLibrary.EntropyLevel.DEFAULT;
|
entropy = DonutLibrary.EntropyLevel.DEFAULT;
|
||||||
exitOpt = DonutLibrary.ExitOpt.EXIT_THREAD;
|
exitOpt = DonutLibrary.ExitOpt.EXIT_THREAD;
|
||||||
bypass = DonutLibrary.AmsiWldpBypass.NONE;
|
bypass = DonutLibrary.AmsiWldpBypass.NONE;
|
||||||
|
|
Loading…
Reference in New Issue