g0ldencybersec / EasyEASM

Zero-dollar attack surface management tool
MIT License
264 stars 37 forks source link

Resolve conflicts between command execution and system commands. #17

Open d4rk30 opened 7 months ago

d4rk30 commented 7 months ago

Fix some issues:

  1. During project initialization, it's necessary to check if the required tools are installed in the local environment. The check should inspect whether the necessary tools are present in the bin directory of go env, rather than simply checking for their existence in the bash commands. If there are similarly named tools in the bash commands but they are not the same, it could lead to installation being ignored, causing errors in subsequent execution.
  2. When executing commands in the passive package, ensure the use of tools from the bin directory of go env to avoid conflicts with similarly named tools that come with the system."