[WebController][Donut] Add aPLib compression

dependabot/npm_and_yarn/Src/WebController/UI/websocket-extensions-0.1.4
Grzegorz Rychlik 2020-01-21 12:19:13 +01:00
parent 596c107e8e
commit ca7c5efba0
2 changed files with 5 additions and 4 deletions

View File

@ -70,9 +70,10 @@ namespace MWR.C3.WebController.Comms
public enum ComperssionEngine
{
NONE = 1,
LZNT1 = 2, // COMPRESSION_FORMAT_LZNT1
XPRESS = 3, // COMPRESSION_FORMAT_XPRESS
XPRESS_HUFF = 4, // COMPRESSION_FORMAT_XPRESS_HUFF
APLIB = 2,
LZNT1 = 3, // COMPRESSION_FORMAT_LZNT1
XPRESS = 4, // COMPRESSION_FORMAT_XPRESS
XPRESS_HUFF = 5, // COMPRESSION_FORMAT_XPRESS_HUFF
}
// entropy level

View File

@ -31,7 +31,7 @@ namespace MWR.C3.WebController.Models
public DonutRequest()
{
format = DonutLibrary.OutputFormat.BINARY;
compress = DonutLibrary.ComperssionEngine.XPRESS_HUFF;
compress = DonutLibrary.ComperssionEngine.APLIB;
entropy = DonutLibrary.EntropyLevel.DEFAULT;
exitOpt = DonutLibrary.ExitOpt.EXIT_THREAD;
bypass = DonutLibrary.AmsiWldpBypass.NONE;