diff options
author | dusoleil <howcansocksbereal@gmail.com> | 2021-09-02 00:34:57 -0400 |
---|---|---|
committer | dusoleil <howcansocksbereal@gmail.com> | 2021-09-02 00:34:57 -0400 |
commit | 263ef1e02c93f81bd5f3bcad9138b1ab246f124c (patch) | |
tree | 3d3cd725b3866616c46fa544fc8d88f8cad0b686 | |
parent | 4cece8dbed674ab6d361cdb7a440981c90ed4de5 (diff) | |
download | sploit-263ef1e02c93f81bd5f3bcad9138b1ab246f124c.tar.gz sploit-263ef1e02c93f81bd5f3bcad9138b1ab246f124c.zip |
Move comm toggles for consistency
Signed-off-by: dusoleil <howcansocksbereal@gmail.com>
-rw-r--r-- | sploit/comm.py | 6 |
1 files 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''): |