Skip to content

bug report and fix #2

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

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions