Malfunctions

July 14, 2020 ยท View on GitHub

1) when [-rfn, --replacefilename] is called

  • If you import python file

    • Can generate an error = no
      • Recommended:

        # I have test1.py file that contain several functions or classes
        from path.test1 import get
        get("user")
        
      • Not Recommended:

        # I have test1.py file that contain several functions or classes
        from path import test1
        test1.get("user")
        
      • Intensio-Obfuscator will detect a non compliant format (currently this type of import is not supported by tool) code for obfuscation and exclude this file name automatically

      • You can exclude manually file names with --excludefiles parameter (see src/intensio_obfuscator/exclude_examples/exclude_files_name_by_user.txt template and --excludefiles parameter)

  • If you import python file and in path the file name have the same name that a folder

    • Can generate an error = no
      • Recommended:

        # I have test1.py file that contain several functions or classes
        from path.mytest.test1 import get
        get("user")
        
      • Not Recommended:

        # I have test1.py file that contain several functions or classes
        from path.test1.test1 import get
        get("user")
        
      • Intensio-Obfuscator will detect a non compliant format (currently this type of import is not supported by tool) code for obfuscation and exclude this file name automatically