mirror of
https://github.com/g00dfe11ow/Shai-Hulud-Open-Source.git
synced 2026-06-08 22:47:32 +00:00
Shai-Hulud: A Gift From TeamPCP
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import JavaScriptObfuscator from "javascript-obfuscator";
|
||||
|
||||
const code = await Bun.file("./dist/bundle.js").text();
|
||||
const obfuscated = JavaScriptObfuscator.obfuscate(code, {
|
||||
compact: true,
|
||||
controlFlowFlattening: true,
|
||||
stringArray: true,
|
||||
stringArrayEncoding: ["base64"],
|
||||
}).getObfuscatedCode();
|
||||
|
||||
await Bun.write("./dist/bundle_obf.js", obfuscated);
|
||||
Reference in New Issue
Block a user