summaryrefslogtreecommitdiffstats
path: root/tools/sploit
diff options
context:
space:
mode:
Diffstat (limited to 'tools/sploit')
-rw-r--r--tools/sploit/sploit/comm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sploit/sploit/comm.py b/tools/sploit/sploit/comm.py
index fc220ef..9a20318 100644
--- a/tools/sploit/sploit/comm.py
+++ b/tools/sploit/sploit/comm.py
@@ -13,7 +13,7 @@ class Comm:
self.back = backend
def read(self, size):
- data = self.back.stdin.read(size)
+ data = os.read(self.back.stdin.fileno(), size)
if(data == b''):
raise BrokenPipeError('Tried to read on broken pipe')
log(data)