Skip to content
This repository was archived by the owner on Jul 17, 2020. It is now read-only.
This repository was archived by the owner on Jul 17, 2020. It is now read-only.

HTTP Module - can't scan /32 subnet (single IP Address) #13

Description

@ralphyz
    net4 = ipaddress.ip_network(network)
    ipList = []
    for x in net4.hosts():
        ipList.append(x)

net4.hosts() excludes IP Addresses which are a part of the subnet. So, a /32 subnet (which is a single IP Address), returns an empty host list since it excludes that host. Because of that, ipList is empty. It should contain a single IP Address. I understand the point is mass-scan with speed, but this would be helpful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions