diff options
-rw-r--r-- | tools/sploit/sploit/comm.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/sploit/sploit/comm.py b/tools/sploit/sploit/comm.py index a0a9ebd..1b8ba7f 100644 --- a/tools/sploit/sploit/comm.py +++ b/tools/sploit/sploit/comm.py @@ -8,12 +8,12 @@ from sploit.log import log from sploit.until import bind class Comm: - def __init__(self, backend): - self.back = backend - logonread = True flushonwrite = True + def __init__(self, backend): + self.back = backend + def read(self, size): data = os.read(self.back.stdin.fileno(), size) if(data == b''): |