Closed Ice3man543 closed 9 months ago
options.ConfigureHostDiscovery()
is the missing line in your example; to enable default probes, we must call it. I'll keep this issue open and probably move this to NewRunner
or elsewhere to prevent others from suffering.
Naabu version:
Latest
Current Behavior:
An error
No valid ipv4 or ipv6 targets were found
occurs when running as code inside of docker container. only occurs when using syn scan mode, doesn't happen with connect. Seems to be related to Host Discovery as disabling host discovery usingSkipHostDiscovery: true
works.Expected Behavior:
Should run scan in syn mode as well.
Steps To Reproduce:
Create a go program with below code
Anything else:
Happens when running inside a docker container. Doesn't occur outside it.