autorecon.py: fixed stdin/stdout issue

This commit is contained in:
the-c0d3r 2019-07-05 07:05:59 +08:00
parent 557de5f2f0
commit a965613262
1 changed files with 8 additions and 0 deletions

View File

@ -7,8 +7,10 @@
# option) any later version. # option) any later version.
# #
import atexit
import argparse import argparse
import asyncio import asyncio
import colorama
from colorama import Fore, 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
@ -19,6 +21,12 @@ import string
import sys import sys
import toml import toml
def _quit():
colorama.deinit()
atexit.register(_quit)
verbose = 0 verbose = 0
nmap = '-vv --reason -Pn' nmap = '-vv --reason -Pn'
srvname = '' srvname = ''