InviScript is a powerful tool that converts JavaScript code into an invisible format using Unicode characters. This tool allows you to obfuscate your JavaScript code in a unique way, making it appear empty while still maintaining full functionality.
- Convert JavaScript code to invisible Unicode characters
- Maintains full functionality of the original code
- Simple command-line interface
- Customizable output file name
- Built-in safety checks and user confirmations
- Clone the repository:
git clone https://github.com/GGal1leo/InviScript.git
cd InviScript
- Make sure you have Python 3.x installed on your system.
Basic usage:
python inviscript.py -f <input_file> -o <output_file>
-f, --file
: Specify the input JavaScript file to be converted-o, --output
: Specify the output HTML file name (default: malcode.html)-v, --version
: Show version information-h, --help
: Show help message
Converting a JavaScript file:
python inviscript.py -f sample.js -o output.html
InviScript works by:
- Reading the input JavaScript file
- Converting the code to binary
- Replacing binary digits with invisible Unicode characters
- Wrapping the result in a self-executing proxy
- Generating an HTML file with the obfuscated code
Input (sample.js):
var i = 5;
sum = 0;
for (var i = 0; i < 10; i++) {
sum += i;
}
alert(sum);
The output will be an HTML file containing the code in invisible format that executes exactly the same way as the input.
This project is licensed under the MIT License - see the LICENSE file for details.
Created by GGal1leo
Contributions are welcome! Please feel free to submit a Pull Request.