diff options
-rw-r--r-- | sploit/comm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sploit/comm.py b/sploit/comm.py index 8c46f1d..41eae60 100644 --- a/sploit/comm.py +++ b/sploit/comm.py @@ -24,7 +24,7 @@ class Comm: pass def read(self, size): - data = os.read(self.back.stdin.fileno(), size) + data = self.back.stdin.read(size) if(data == b''): raise BrokenPipeError('Tried to read on broken pipe') if self.logonread : ilog(data, file=sys.stdout, color=NORMAL) |