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

Fixing the missing port issue with Nessus #191

Merged
merged 2 commits into from
Oct 29, 2023

Conversation

quentinpraz
Copy link
Contributor

As discussed in issue #171, when importing targets from a Nessus report, only one port per IP/Host was actually scanned. This limitation occurred because the target list was implemented as a map[string]int.
To address this issue, I made the following changes:

  • Modified the target list to use a map[string][]int instead, allowing multiple ports per IP/Host.
  • Refactored the functions to accommodate the updated target list.
  • Additionally, I introduced a function to remove any duplicate ports for the same IP/Host, ensuring each port is scanned only once.

Fixing the issue where some ports where missing when importing a Nessus scan.
@leonjza
Copy link
Member

leonjza commented Oct 29, 2023

Thanks! 🥳

@leonjza leonjza merged commit d802cd4 into sensepost:master Oct 29, 2023
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