mirror of
https://github.com/codingo/Interlace.git
synced 2025-12-18 07:14:20 +01:00
Edited to fix the dot problem
This commit is contained in:
@@ -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