https://github.com/relative/synchrony
javascript-obfuscator cleaner & deobfuscator
https://github.com/relative/synchrony
demangle deobfuscator javascript javascript-deobfuscator javascript-obfuscator unmangle
Last synced: 29 days ago
JSON representation
javascript-obfuscator cleaner & deobfuscator
- Host: GitHub
- URL: https://github.com/relative/synchrony
- Owner: relative
- License: gpl-3.0
- Created: 2020-12-28T18:48:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-27T11:02:50.000Z (over 1 year ago)
- Last Synced: 2025-05-11T03:33:33.556Z (about 1 month ago)
- Topics: demangle, deobfuscator, javascript, javascript-deobfuscator, javascript-obfuscator, unmangle
- Language: TypeScript
- Homepage: https://deobfuscate.relative.im/
- Size: 696 KB
- Stars: 1,001
- Watchers: 18
- Forks: 130
- Open Issues: 40
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# synchrony

javascript cleaner & deobfuscator (primarily [javascript-obfuscator](https://github.com/javascript-obfuscator/javascript-obfuscator)/[obfuscator.io](https://obfuscator.io))
API reference is available at
## Usage note
Artifacts produced by old versions of javascript-obfuscator will likely not deobfuscate correctly, please **DO NOT** open an issue. Try previous versions of synchrony or another deobfuscator.
There is no user configuration as of yet, the string decoder works automatically
## Usage
Use the latest version at or install from NPM
```shell
# 1. Install deobfuscator globally using yarn/npm
npm install --global deobfuscator # alternatively, yarn global add deobfuscator, pnpm install --global deobfuscator# 1.1. Or Install from Git
# npm install --global relative/synchrony#master # alternatively, yarn global add relative/synchrony#master, pnpm install --global relative/synchrony#master# 2. Get an obfuscated file
curl https://gist.github.com/relative/79e392bced4b9bed8fd076f834e06dee/raw/obfuscated.js -o ./obfuscated.js# 3. Run deobfuscator
synchrony deobfuscate ./obfuscated.js# 4. Check the reuslts of your debofuscation at script.cleaned.js
cat ./obfuscated.cleaned.js
```## Transformer errors
Transformer errors will show errors in your terminal output like
```
Caught an error while attempting to run AST visitor!
node = Node {...}
err = ...
```Copy the entire terminal output (or redirect it to a file). Then open a new issue with the terminal output and the
obfuscated file and any config you may have used.**Please do not include screenshots or partial output from the deobfuscator.**
If you can reproduce the error with a smaller input file and a javascript-obfuscator config, please provide them in your issue.