diff options
Diffstat (limited to '')
-rw-r--r-- | tools/sploit/sploit/comm.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/sploit/sploit/comm.py b/tools/sploit/sploit/comm.py index 4b1d487..c109ec4 100644 --- a/tools/sploit/sploit/comm.py +++ b/tools/sploit/sploit/comm.py @@ -11,6 +11,7 @@ class Comm: logonread = True logonwrite = False flushonwrite = True + readonwrite = False timeout = 0.25 # seconds def __init__(self, backend): @@ -81,6 +82,7 @@ class Comm: self.back.stdout.write(data) if self.flushonwrite : self.back.stdout.flush() if self.logonwrite : ilog(data, file=sys.stdout, color=ALT) + if self.readonwrite : self.readall_nonblock() def writeline(self, data): self.write(data + b'\n') |