Skip to content

bug report and fix #2

@bluescity

Description

@bluescity

if use this cmd
scanner 192.168.1.1/32 -t 2
will return error

Traceback (most recent call last):
for ip in iplist:
TypeError: 'NoneType' object is not iterable

in line 321
if subnet == 32:
print bin2ip(baseIP)

en,it's that ?
i fix it
if subnet == 32:
ip = bin2ip(baseIP)
cidrlist.append(ip)
return cidrlist

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