add almost all donut options
This commit is contained in:
@@ -203,6 +203,11 @@ export async function handleBuildRoutes(
|
||||
boundFiles,
|
||||
iosBundleId,
|
||||
useDonut,
|
||||
donutSingleThreaded,
|
||||
donutExitMode,
|
||||
donutEntropy,
|
||||
donutPreserveHeaders,
|
||||
donutResumeOffset,
|
||||
useLinuxShellcode,
|
||||
shellcodeConsole,
|
||||
useSgn,
|
||||
@@ -529,6 +534,11 @@ export async function handleBuildRoutes(
|
||||
boundFiles: safeBoundFiles,
|
||||
iosBundleId: typeof iosBundleId === "string" && /^[a-zA-Z0-9.-]{1,128}$/.test(iosBundleId.trim()) ? iosBundleId.trim() : undefined,
|
||||
useDonut: !!useDonut,
|
||||
donutSingleThreaded: !!donutSingleThreaded,
|
||||
donutExitMode: (donutExitMode === 1 || donutExitMode === 2 || donutExitMode === 3) ? donutExitMode : undefined,
|
||||
donutEntropy: (donutEntropy === 1 || donutEntropy === 2 || donutEntropy === 3) ? donutEntropy : undefined,
|
||||
donutPreserveHeaders: !!donutPreserveHeaders,
|
||||
donutResumeOffset: typeof donutResumeOffset === "number" && Number.isFinite(donutResumeOffset) && donutResumeOffset > 0 ? donutResumeOffset : undefined,
|
||||
useLinuxShellcode: !!useLinuxShellcode,
|
||||
shellcodeConsole: !!shellcodeConsole,
|
||||
useSgn: !!useSgn,
|
||||
|
||||
Reference in New Issue
Block a user