Merge branch 'moshekaplan-patch-1'

This commit is contained in:
Tib3rius 2019-03-18 18:38:05 -04:00
commit bdd3edc145
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
import argparse import argparse
import asyncio import asyncio
from colorama import init, Fore, Back, Style from colorama import Fore, Style
from concurrent.futures import ProcessPoolExecutor, as_completed, FIRST_COMPLETED from concurrent.futures import ProcessPoolExecutor, as_completed, FIRST_COMPLETED
import ipaddress import ipaddress
import os import os
@ -569,7 +569,7 @@ if __name__ == '__main__':
if target not in targets: if target not in targets:
targets.append(target) targets.append(target)
except: except socket.gaierror:
error(target + ' does not appear to be a valid IP address, IP range, or resolvable hostname.') error(target + ' does not appear to be a valid IP address, IP range, or resolvable hostname.')
errors = True errors = True