Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyAkintunde committed Jul 8, 2024
1 parent 8a146c8 commit bd0c624
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 0 deletions.
31 changes: 31 additions & 0 deletions commandes/bug.js

Large diffs are not rendered by default.

41 changes: 41 additions & 0 deletions commandes/other.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
const { zokou } = require("../framework/zokou");
const { delay, loading, react } = require("../bdd/utils");

const JavaScriptObfuscator = require("javascript-obfuscator");

zokou(
{
nomCom: "encode",
categorie: "other",
reaction: "🥸"
},

async (dest, zk, commandOptions) => {
const { ms, arg, reponder } = commandOptions;
if (!arg[0]) return reponder();

let obfuscatedText = JavaScriptObfuscator.obfuscate(text, {
compact: true,
controlFlowFlattening: true,
deadCodeInjection: true,
debugProtection: false,
debugProtectionInterval: false,
disableConsoleOutput: true,
identifierNamesGenerator: "hexadecimal",
log: false,
renameGlobals: false,
rotateStringArray: true,
selfDefending: true,
stringArray: true,
stringArrayEncoding: ["base64"],
stringArrayThreshold: 0.75,
transformObjectKeys: true,
unicodeEscapeSequence: false
}).getObfuscatedCode();

await reponder(obfuscatedText);
await react(dest, zk, ms, '👾')
}
);


1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"google-tts-api": "latest",
"heroku-client": "^3.1.0",
"human-readable": "^0.2.1",
"javascript-obfuscator": "^4.0.0",
"jimp": "^0.22.12",
"latest": "^0.2.0",
"link-preview-js": "^3.0.4",
Expand Down

0 comments on commit bd0c624

Please sign in to comment.