diff options
-rw-r--r-- | sploit/comm.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sploit/comm.py b/sploit/comm.py index 50ef3dc..58504d3 100644 --- a/sploit/comm.py +++ b/sploit/comm.py @@ -110,6 +110,8 @@ class Comm: try: ilog("<--Interact Mode-->") os.set_blocking(stdin.fileno(), False) + l = self.logonread + self.logonread = True poll = select.poll() poll.register(self.back.stdin, event) @@ -122,6 +124,7 @@ class Comm: except KeyboardInterrupt: pass finally: + self.logonread = l os.set_blocking(stdin.fileno(), True) ilog("<--Interact Mode Done-->") |