j4k0xb / webcrack

Deobfuscate obfuscator.io, unminify and unpack bundled javascript
https://webcrack.netlify.app
MIT License
647 stars 73 forks source link

add smart-rename rule from wakaru #62

Open milahu opened 4 months ago

milahu commented 4 months ago

currently, webcrack produces code like

let { sin: k, cos: v, abs: w, log: N, floor: U, PI: A } = Math;

with the smart-rename rule of wakaru this becomes

let { sin, cos, abs, log, floor, PI } = Math;
j4k0xb commented 4 months ago

done can you try if it works as expected or find any edge cases? https://deploy-preview-63--webcrack.netlify.app/