spellshift / realm

Realm is a cross platform Red Team engagement platform with a focus on automation and reliability.
https://docs.realm.pub/
GNU General Public License v3.0
425 stars 32 forks source link

Add netmask to get ip #659

Closed hulto closed 9 months ago

hulto commented 9 months ago

What type of PR is this?

/kind cleanup /kind feature

What this PR does / why we need it:

Add netmask CIDR to sys.get_ip Remove get_ip dependency on pnet crate.

Which issue(s) this PR fixes:

Unblocks #484

codecov[bot] commented 9 months ago

Codecov Report

Attention: Patch coverage is 80.00000% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 72.02%. Comparing base (80eea9c) to head (2e3476b).

Files Patch % Lines
implants/lib/eldritch/src/sys/get_ip_impl.rs 80.00% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #659 +/- ## ========================================== - Coverage 72.08% 72.02% -0.06% ========================================== Files 175 175 Lines 12018 12008 -10 ========================================== - Hits 8663 8649 -14 - Misses 3141 3145 +4 Partials 214 214 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.