mitre / sandcat

A CALDERA plugin
https://caldera.mitre.org/
Apache License 2.0
63 stars 36 forks source link

Moved getLocalIPv4Addresses() to agent_util.go in mitre/gocat to prev… #353

Closed raviserota closed 3 years ago

raviserota commented 3 years ago

…ent code duplication, since this function is needed by agent.go as well. Call to this function in the edited file has been updated accordingly.

Description

Adding local IP address fetching function to sandcat. This is one 1/4 pull requests, in addition to:

https://github.com/mitre/gocat/pull/48 https://github.com/mitre/caldera/pull/2056 A yet-to-be-created fieldmanual PR.

Type of change

How Has This Been Tested?

Agent IP address functionality is working on my local system. Proxy functionality has not yet been tested to unsure it hasn't been broken.

Checklist: