autorecon.py: added termios to restore the flags
This commit is contained in:
parent
a965613262
commit
a5f9509c01
|
@ -20,13 +20,17 @@ import socket
|
|||
import string
|
||||
import sys
|
||||
import toml
|
||||
import termios
|
||||
|
||||
|
||||
def _quit():
|
||||
colorama.deinit()
|
||||
termios.tcsetattr(sys.stdin.fileno(), TERM_FLAGS)
|
||||
|
||||
|
||||
atexit.register(_quit)
|
||||
|
||||
TERM_FLAGS = termios.tcgetattr(sys.stdin.fileno())
|
||||
|
||||
verbose = 0
|
||||
nmap = '-vv --reason -Pn'
|
||||
srvname = ''
|
||||
|
|
Loading…
Reference in New Issue