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

IPs from file, rstrip() for hostname needed #3

Open
ukastens opened this issue Nov 14, 2016 · 1 comment
Open

IPs from file, rstrip() for hostname needed #3

ukastens opened this issue Nov 14, 2016 · 1 comment
Assignees

Comments

@ukastens
Copy link

If one uses ip-list generated from nmap, the socket.inet_aton(hostname) will fail. A rstrip() would be needed

@Cleveridge Cleveridge self-assigned this Nov 16, 2016
@Cleveridge
Copy link
Owner

Hi ukastens,
Thanks for reporting the issue.
I've added rstrip when adding the ip's to the 'ip_l'-list (line 451). I also added a length check to prevent empty lines (line 450).

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