guardicode / agentpluginapi

Interfaces and components that comprise the Infection Monkey Agent Plugin API
GNU General Public License v3.0
1 stars 0 forks source link

Fix vaguely named files #1

Closed mssalvatore closed 5 months ago

mssalvatore commented 5 months ago

tools.py and info.py are vaguely named. Furthermore, they are not exported from the package and contain code only used by LocalMachineInfo (with the exception of ITCPPortSelector which is in info.py for no particular reason.

This PR moves code to be defined close to where it's used and puts ITCPPortSelector in an appropriately named file.