feat(new tool): JS Unobfuscator

webcrack is a tool for reverse engineering javascript. It can deobfuscate obfuscator.io, unminify, transpile, and unpack webpack/browserify, to resemble the original source code as much as possible.
This commit is contained in:
sharevb 2024-05-18 15:35:30 +02:00 committed by ShareVB
parent e876d03608
commit b5d3ed6b89
7 changed files with 1035 additions and 106 deletions

View file

@ -15,6 +15,7 @@ import { VitePWA } from 'vite-plugin-pwa';
import markdown from 'vite-plugin-vue-markdown';
import svgLoader from 'vite-svg-loader';
import { configDefaults } from 'vitest/config';
import { nodePolyfills } from 'vite-plugin-node-polyfills';
const baseUrl = process.env.BASE_URL ?? '/';
@ -97,6 +98,9 @@ export default defineConfig({
resolvers: [NaiveUiResolver(), IconsResolver({ prefix: 'icon' })],
}),
Unocss(),
nodePolyfills({
exclude: ['fs'],
}),
],
base: baseUrl,
resolve: {
@ -112,5 +116,11 @@ export default defineConfig({
},
build: {
target: 'esnext',
rollupOptions: {
external: ['./out/isolated_vm'],
},
},
optimizeDeps: {
exclude: ['isolated-vm'],
},
});