Hnfull / Intensio-Obfuscator

Obfuscate a python code 2.x and 3.x
MIT License
625 stars 127 forks source link

Bug on OSx BigSur #68

Open aledv opened 3 years ago

aledv commented 3 years ago

Bug

Description

I use the same command on a Machine Windows and working fine. python3 intensio_obfuscator.py -i "/Users/osx/Develop/dm_schedulatore" -o "/Users/osx/Downloads/dm_obfuscated" -mlen lower -ind 2 -rts --excludewords exclude_examples/exclude_words_by_user.txt Same source and same command and I get this issue:

******************** [ Obfuscation replace file(s) name ] ********************

[!] Obfuscation [ replace file name ] feature no asked !

****************** [ Obfuscation replace string(s) to hex ] ******************

[!] Obfuscation [ replace string to hex ] feature no asked !

********************* [ Correction delete .pyc file(s) ] *********************

[+] Running delete 8 .pyc file(s)...

Setting up   |================================| 100%

Correction   |                                | 0%
Traceback (most recent call last):
  File "intensio_obfuscator.py", line 369, in <module>
    main()
  File "intensio_obfuscator.py", line 342, in main
    verboseArg=args.GetArgsValue().verbose,
  File "/Users/osx/Develop/Intensio-Obfuscator/src/intensio_obfuscator/core/obfuscation/intensio_delete.py", line 348, in TrashFiles
    os.chdir(moveFolder)
FileNotFoundError: [Errno 2] No such file or directory: ''