NEED FIX: main分支出问题速度修 #28
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
python -m detection ~ ─╯
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/sangge/code/BackDoorBuster/detection/main.py", line 408, in
main()
File "/home/sangge/code/BackDoorBuster/detection/main.py", line 404, in main
process_path(args.path, output_format, args.mode, output_file)
File "/home/sangge/code/BackDoorBuster/detection/main.py", line 347, in process_path
file_results = checkModeAndDetect(mode, file_path, file_extension)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sangge/code/BackDoorBuster/detection/main.py", line 331, in checkModeAndDetect
return find_dangerous_functions(read_file_content(filePath), fileExtension)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/sangge/code/BackDoorBuster/detection/utils.py", line 8, in read_file_content
return file.read()
^^^^^^^^^^^
File "", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb2 in position 1180: invalid start byte
pyc分支里的报错