Skip to content

Conversation

@thannaske
Copy link
Contributor

As described in #718, this PR adds an option to exclude single addresses, hosts or CIDRs from the list of addresses to allow for a more granular selection of target addresses to be scanned.

The new optional argument can be used with -x or --exclude-addresses. The implementation was done by filtering the final list of parsed addresses against the list of exclusions (after they have been parsed and optionally resolved as well). I've added three tests to make sure it works as intended as well.

Copy link
Collaborator

@PsypherPunk PsypherPunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it—verified locally and LGTM! 🚀

@PsypherPunk PsypherPunk merged commit 3b06a34 into bee-san:master Jan 20, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants