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

network-util doesn't handle NULL values #12

Open
atmathis opened this issue Jan 9, 2019 · 1 comment
Open

network-util doesn't handle NULL values #12

atmathis opened this issue Jan 9, 2019 · 1 comment

Comments

@atmathis
Copy link

atmathis commented Jan 9, 2019

Issue encountered when when apparent null value is collected by the network-util. Error message below (1200 into 5000+ results processed).

Traceback (most recent call last):
File "network-util.py", line 370, in
sys.exit(main())
File "network-util.py", line 357, in main
domain=args.domain)
File "network-util.py", line 158, in process_search
dst_ip = ipaddress.ip_address(netconn.remote_ip)
File "/usr/lib/python3.5/ipaddress.py", line 54, in ip_address
address)
ValueError: '' does not appear to be an IPv4 or IPv6 address

@crahan
Copy link
Contributor

crahan commented Mar 5, 2019

Hi @atmathis, I've submitted a pull request to help fix this issue here: #15

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

2 participants