From 263ef1e02c93f81bd5f3bcad9138b1ab246f124c Mon Sep 17 00:00:00 2001 From: dusoleil Date: Thu, 2 Sep 2021 00:34:57 -0400 Subject: Move comm toggles for consistency Signed-off-by: dusoleil --- sploit/comm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sploit/comm.py b/sploit/comm.py index a0a9ebd..1b8ba7f 100644 --- a/sploit/comm.py +++ b/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''): -- cgit v1.2.3