Giter Club home page Giter Club logo

intensio-obfuscator's Introduction

Intensio-Obfuscator (Beta)

  • 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 differents values.

Requirements

  • Python >= 3.5
  • requirements.txt

Files supported

  • Files written in python 2.x and 3.x

Installation

git clone https://github.com/Hnfull/Intensio-Obfuscator.git

pip3 install -r Intensio-Obfuscator/requirements.txt

cd Intensio-Obfuscator/intensio/

python3.x intensio_obfuscator.py --help

Features

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
Rcommentaries Remove all commentaries and all line breaks
Rprint Remove all print functions 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

Usages

Parameters Descriptions
-h, --help show this help message and exit
-i, --input source directory - indicate a directory that contain your file(s)
-c, --code language used in input directory, default value: [python], possible value: [python]
-o, --output output directory that will be obfuscated - indicate a empty directory that will contain your file(s)
-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
-rc, --rcommentaries activate the 'rcommentaries' obfuscation feature
-rp, --rprint activate the 'rprint' obfuscation feature
  • If you want exclude python variables/classes/functions which will be taken by the 'replace' feature, edit intensio/exclude/python/exclude_python_words.txt

  • If you want to include python variables/classes/functions that are not included when launching the 'replace' feature, edit intensio/include/python/include_python_words.txt

Examples

Demo

Python target files demo

Recommendations

Malfunctions

Todo

  • Version 1.0.1-x:

    • Code optimization
    • Fix bugs and problems
    • Improved features already present
  • Version 1.1.0:

    • Support files written in C
  • Version 1.2.0:

    • Support files written in C++

License

  • MIT

Disclamer

  • 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.