CYB3RMX / Qu1cksc0pe

All-in-One malware analysis tool.
GNU General Public License v3.0
1.33k stars 186 forks source link

DRAFT: Replace `distutils.spawn.find_executable` with `shutil.which` #67

Closed teward closed 1 month ago

teward commented 1 month ago

The functionality of distutils.spawn.find_executable which searches the PATH for the executable path of a given requested executable name is easily replaced in-line with shutil.which which has the same functionality.

Because distutils is now deprecated and removed in Python 3.12 it is better to replace this single functionality with shutil.

This will fix #66 by removing distutils from the equation.

teward commented 1 month ago

This needs fixed elsewhere in the code so i'll have a larger PR later