portSpider icon indicating copy to clipboard operation
portSpider copied to clipboard

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

Open ralphyz opened this issue 7 years ago • 0 comments

    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.

ralphyz avatar Jun 13 '17 12:06 ralphyz