[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 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

View File

@ -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;