Closed khaledkamal456 closed 1 month ago
I couldn't repro the issue on osx - used the dev branch for testing:
$ sudo naabu -host "34.120.164.219" -top-ports 1000 -json -debug
__
___ ___ ___ _/ / __ __
/ _ \/ _ \/ _ \/ _ \/ // /
/_//_/\_,_/\_,_/_.__/\_,_/
projectdiscovery.io
[INF] Current naabu version 2.2.0 (outdated)
[INF] Running host discovery scan
[INF] Running SYN scan with root privileges
[INF] Found 2 ports on host 34.120.164.219 (34.120.164.219)
{"ip":"34.120.164.219","timestamp":"2024-06-25T12:16:34.141933Z","port":443,"protocol":"tcp","tls":false}
{"ip":"34.120.164.219","timestamp":"2024-06-25T12:16:34.141933Z","port":80,"protocol":"tcp","tls":false}
When I run naabu with sudo su, it appears like this without any output
When I run naabu without sudo su, it appears like this
Knowing that the
which naabu
command was not executed, it shows me the same path whether I use subo su or not