Fraunhofer-AISEC / gallia

Extendable Pentesting Framework
https://fraunhofer-aisec.github.io/gallia/
Apache License 2.0
129 stars 25 forks source link

chore: Remove psutil dependency #591

Closed rumpelsepp closed 2 days ago

rumpelsepp commented 2 months ago

The psutil dependency is used at exactly one location in the codebase. The psutil library claims to be portable, however the broadcast feature is not supported on Windows.

Since we support Linux as Tier-1 and Windows as Tier-2, let's remove the dependency and use the always available system tooling for this.

As for the why remove dependencies that are not really used in gallia: Recently we had a dependency hell situation on a embedded platform; a C compiler toolchain with several special library version was required to build those dependencies via pip (this one uses C-extensions). In order to avoid this situation in the future dependencies without value are removed (see #582, #590).