1.1.0 • Published 11 months ago

tmx-deobfuscator v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

TMX-Deobfuscator

Description

tmx-deobfuscator is a quick and easy solution for deobfuscating ThreatMetrix dynamic files with no worries.

Installation

Install globally via npm:

npm install -g tmx-deobfuscator

Usage

You can use tmx-deobfuscator both programmatically in code or via CLI.

In Code

const tmx_deobfuscator = require("tmx-deobfuscator");

const deobfuscated_code = tmx_deobfuscator.deobfuscate("example.js");

console.log(deobfuscated_code);

You can also specify an output file:

const tmx_deobfuscator = require("tmx-deobfuscator");

tmx_deobfuscator.deobfuscate("example.js", "example_deobfuscated.js");

Or directly pass the code as a string:

const tmx_deobfuscator = require("tmx-deobfuscator");

let code = require("fs").readFileSync("example.js", "utf8");

const deobfuscated_code = tmx_deobfuscator.deobfuscate(code);

CLI

tmx_deobfuscator <input_file> -o <output_file>

Contributing

Contributions, issues and feature requests are welcome. Feel free to check issues page if you want to contribute.

License

This project is licensed under the MIT License.

Connect with me

Stay connected and follow me on:

For any questions or feedback, feel free to reach out!