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

Automatically skip redundant host discovery #1061

Merged
merged 1 commit into from
May 8, 2024

Conversation

Mzack9999
Copy link
Member

Closes #727

$ sudo ./naabu -p 80 -host 192.168.5.150 -debug

                  __
  ___  ___  ___ _/ /  __ __
 / _ \/ _ \/ _ \/ _ \/ // /
/_//_/\_,_/\_,_/_.__/\_,_/

                projectdiscovery.io

[INF] Current naabu version 2.3.0 (latest)
[INF] Host discovery disabled: less than two ports were specified
[INF] Running SYN scan with CAP_NET_RAW privileges
192.168.5.150:80
[DBG] Received Transport (TCP) scan response from ipv4:192.168.5.150 ipv6: port:80
[INF] Found 1 ports on host 192.168.5.150 (192.168.5.150)

@Mzack9999 Mzack9999 self-assigned this May 8, 2024
@Mzack9999 Mzack9999 added the Type: Maintenance Updating phrasing or wording to make things clearer or removing ambiguity. label May 8, 2024
@Mzack9999 Mzack9999 marked this pull request as ready for review May 8, 2024 12:59
Copy link
Member

@ehsandeep ehsandeep left a comment

Choose a reason for hiding this comment

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

sudo ./naabu -p 80,443 -host google.com

                  __
  ___  ___  ___ _/ /  __ __
 / _ \/ _ \/ _ \/ _ \/ // /
/_//_/\_,_/\_,_/_.__/\_,_/

		projectdiscovery.io

[INF] Current naabu version 2.3.0 (latest)
[INF] Host discovery disabled: less than two ports were specified
[INF] Running SYN scan with root privileges
google.com:80
google.com:443
[INF] Found 2 ports on host google.com (142.250.206.174)

@ehsandeep ehsandeep merged commit f131902 into dev May 8, 2024
9 checks passed
@ehsandeep ehsandeep deleted the maint-727-skip-host-discovery branch May 8, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Maintenance Updating phrasing or wording to make things clearer or removing ambiguity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Skip host-discovery for scans targeting ports 80/443 (redundant with host-discovery)
2 participants