mirror of
https://github.com/codingo/Interlace.git
synced 2026-02-20 22:34:31 +01:00
Merge pull request #108 from codingo/dot-breaks-target-fix
Dot breaks target fix
This commit is contained in:
@@ -1 +1 @@
|
||||
__version__ = '1.8.1'
|
||||
__version__ = '1.8.2'
|
||||
|
||||
@@ -149,6 +149,10 @@ class InputHelper(object):
|
||||
for host in host_ranges:
|
||||
host = host.replace(" ", "").replace("\n", "")
|
||||
# check if it is a domain name
|
||||
if len(host.split(".")[0]) == 0:
|
||||
destination_set.add(host)
|
||||
continue
|
||||
|
||||
if host.split(".")[0][0].isalpha() or host.split(".")[-1][-1].isalpha():
|
||||
destination_set.add(host)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user