Merge branch 'moshekaplan-patch-1'
This commit is contained in:
commit
bdd3edc145
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue