Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add port scanning strategy #135

Merged
merged 1 commit into from Aug 7, 2020
Merged

Add port scanning strategy #135

merged 1 commit into from Aug 7, 2020

Conversation

bernardoamc
Copy link
Collaborator

@bernardoamc bernardoamc commented Aug 7, 2020

Users will be able to pick from:

  • serial: in order to have their ports scanned in ascending order
  • random: in order to have their ports scanned randomly

Fixes #133

User will be able to pick from:
  - serial: in order to have their ports scanned in ascending order
  - random: in order to have their ports scanned randomly
@bee-san
Copy link
Member

bee-san commented Aug 7, 2020

Do you still want me to review this?

@@ -1,5 +1,4 @@
mod range_iterator;
use range_iterator::RangeIterator;
use super::PortStrategy;
Copy link
Member

Choose a reason for hiding this comment

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

I did not know you can do this, this is very cool

@bee-san bee-san merged commit 8b21dfd into master Aug 7, 2020
@delete-merged-branch delete-merged-branch bot deleted the ba-add-scan-strategy branch August 7, 2020 23:43
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.

Add an argument to not use randomisation of ports
2 participants