Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipaddress.AddressValueError #8

Open
LahaLuhem opened this issue Sep 11, 2022 · 0 comments
Open

ipaddress.AddressValueError #8

LahaLuhem opened this issue Sep 11, 2022 · 0 comments

Comments

@LahaLuhem
Copy link

Scanning your N3TW0RK, H4NG 0N...

Traceback (most recent call last):
  File "/home/lahaluhem/Desktop/UTILS/KICKthemOUT3/./kick3.py", line 325, in <module>
    net_config()
  File "/home/lahaluhem/Desktop/UTILS/KICKthemOUT3/./kick3.py", line 117, in net_config
    netmask = get_netmask(broadcast)
  File "/home/lahaluhem/Desktop/UTILS/KICKthemOUT3/./kick3.py", line 93, in get_netmask
    if int(IPv4Address(gateway)) in i:
  File "/usr/lib/python3.10/ipaddress.py", line 1305, in __init__
    self._ip = self._ip_int_from_string(addr_str)
  File "/usr/lib/python3.10/ipaddress.py", line 1192, in _ip_int_from_string
    raise AddressValueError("Expected 4 octets in %r" % ip_str)
ipaddress.AddressValueError: Expected 4 octets in 'None'

Running in a VM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant