Intensio Obfuscator is an obfuscate a python code 2.x and 3.x. Takes a python source code and transform it into an obfuscated python code, replace name of variables/classes/functions to random chars and defined length, removes comments, line breaks and add to each line a random script with an always different values.
Requirement
git clone https://github.com/Hnfull/Intensio-Obfuscator.git
cd Intensio-Obfuscator/intensio/
Also Read – ShellPhish : Phishing Tool For 18 Social Media
Features | Descriptions |
---|---|
Replace | Replace all names of variables/classes/functions defined and remove all line breaks |
Padding | Add random scripts after each line and remove all line breaks |
Remove | Remove all commentaries and all line breaks |
Mixer lower | Generate words with 32 chars that replace variables/classes/functions defined in source code and in random scripts if ‘replace’ or ‘padding’ features are specified |
Mixer medium | Generate words with 64 chars that replace variables/classes/functions defined in source code and in random scripts if ‘replace’ or ‘padding’ features are specified |
Mixer high | Generate words with 128 chars that replace variables/classes/functions defined in source code and in random scripts if ‘replace’ or ‘padding’ features are specified |
Parameters | Descriptions |
---|---|
-h, –help | show this help message and exit |
-f, –onefile | if only one file |
-d, –multiplefiles | if multiple files (project) |
-i, –input | source file or directory – if multiple files indicate a directory that contain all your files |
-c, –code | language used in input file or directory, default value: [python], possible value: [python] |
-o, –output | output file or directory that will be obfuscated – if multiple file indicate a empty directory that will contain all your files |
-m, –mixer | length levels of the number of characters for output variables /classes/functions, default value: [medium], possible values: [lower, medium, high] |
-r, –replace | activate the ‘replace’ obfuscation feature |
-p, –padding | activate the ‘padding’ obfuscation feature |
-rm, –remove | activate the ‘remove’ obfuscation feature |
intensio/exclude_python_words.txt
intensio/include_python_words.txt
python3.x intensio_obfuscator.py -d -i test/python/multiplefiles/basic/input/basicRAT -c python -o test/python/multiplefiles/basic/output/basicRAT -m lower -r -rm
python3.x intensio_obfuscator.py -d -i test/python/multiplefiles/advanced/input/basicRAT -c python -o test/python/multiplefiles/advanced/output/basicRAT -m high -r -p -rm
-i
and -o
parameters, then change -d
parameter into -f
parameter' '
or " "
in print()
function, your text will have the same value that the mixer variables/class/function.#
(commentary) your text will have the same value that the mixer variables – class – function, but if between """
or '''
without a variables before, no replacing is performed.intensio/excluded_python_words.txt
to add the variables not to obfuscate or change your names of local variables/classes – fuctions, if your variables/classes – functions have the same name as a keyword it, he will be obfuscated and errors will appear.Intensio-Obfuscator is for education/research purposes only. The author takes NO responsibility ay for how you choose to use any of the tools provided.
shadow-rs is a Windows kernel rootkit written in Rust, demonstrating advanced techniques for kernel manipulation…
Extract and execute a PE embedded within a PNG file using an LNK file. The…
Embark on the journey of becoming a certified Red Team professional with our definitive guide.…
This repository contains proof of concept exploits for CVE-2024-5836 and CVE-2024-6778, which are vulnerabilities within…
This took me like 4 days (+2 days for an update), but I got it…
MaLDAPtive is a framework for LDAP SearchFilter parsing, obfuscation, deobfuscation and detection. Its foundation is…