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 string
|
||||||
import sys
|
import sys
|
||||||
import toml
|
import toml
|
||||||
|
import termios
|
||||||
|
|
||||||
|
|
||||||
def _quit():
|
def _quit():
|
||||||
colorama.deinit()
|
termios.tcsetattr(sys.stdin.fileno(), TERM_FLAGS)
|
||||||
|
|
||||||
|
|
||||||
atexit.register(_quit)
|
atexit.register(_quit)
|
||||||
|
|
||||||
|
TERM_FLAGS = termios.tcgetattr(sys.stdin.fileno())
|
||||||
|
|
||||||
verbose = 0
|
verbose = 0
|
||||||
nmap = '-vv --reason -Pn'
|
nmap = '-vv --reason -Pn'
|
||||||
srvname = ''
|
srvname = ''
|
||||||
|
|
Loading…
Reference in New Issue