projectdiscovery / naabu

A fast port scanner written in go with a focus on reliability and simplicity. Designed to be used in combination with other tools for attack surface discovery in bug bounties and pentests
https://projectdiscovery.io
MIT License
4.59k stars 538 forks source link

Gets ports with non-root access but dosent work with root access. #1065

Closed seczoid closed 2 months ago

seczoid commented 4 months ago
❯ naabu -host 10.10.11.240

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

        projectdiscovery.io

[INF] Current naabu version 2.3.0 (latest)
[INF] Running CONNECT scan with non root privileges
10.10.11.240:443
10.10.11.240:80
[INF] Found 2 ports on host 10.10.11.240 (10.10.11.240)
❯ sudo naabu -host 10.10.11.240

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

        projectdiscovery.io

[INF] Current naabu version 2.3.0 (latest)
[INF] Running host discovery scan
[INF] Running SYN scan with root privileges

the tool works when given non root access but dosent work with root access

Mzack9999 commented 3 months ago

@seczoid could you try with the following flags to see if there is any error message?

sudo naabu -host -Pn -verbose -debug
Mzack9999 commented 2 months ago

Closing due to inactivity - It will be reopened if needed