Skip to content

Issues with count_hosts_by_os example #80

@mikemadden42

Description

@mikemadden42

I'm seeing a few issues with the count_hosts_by_os example in this repository.

I get this error when I run the program without sudo. Does this example require to be ran with sudo or root?

$ ./count_hosts_by_os
2021/05/23 07:03:44 nmap scan failed: unable to parse nmap output, see warnings for details

When I run the example, the number of Linux hosts is more than the number of hosts seen on the network.

$ sudo ./count_hosts_by_os
Discovered 25 linux hosts and 0 windows hosts out of 18 total up hosts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions