Merge branch 'patch-1' of git://github.com/moshekaplan/AutoRecon into moshekaplan-patch-1
This commit is contained in:
commit
e68575cabd
15
autorecon.py
15
autorecon.py
|
@ -7,17 +7,18 @@
|
|||
# option) any later version.
|
||||
#
|
||||
|
||||
import argparse
|
||||
import asyncio
|
||||
from colorama import init, Fore, Back, Style
|
||||
from concurrent.futures import ProcessPoolExecutor, as_completed, FIRST_COMPLETED
|
||||
import ipaddress
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
import socket
|
||||
import string
|
||||
import sys
|
||||
import asyncio
|
||||
import argparse
|
||||
import ipaddress
|
||||
from concurrent.futures import ProcessPoolExecutor, as_completed, FIRST_COMPLETED
|
||||
|
||||
import toml
|
||||
from colorama import Fore, Style
|
||||
|
||||
verbose = 0
|
||||
nmap = ''
|
||||
|
@ -569,7 +570,7 @@ if __name__ == '__main__':
|
|||
|
||||
if target not in targets:
|
||||
targets.append(target)
|
||||
except:
|
||||
except socket.gaierror:
|
||||
error(target + ' does not appear to be a valid IP address, IP range, or resolvable hostname.')
|
||||
errors = True
|
||||
|
||||
|
|
Loading…
Reference in New Issue