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 | 6815af7a8dfb3bf5f4d0495fc37ad013da9ba93a (patch) | |
| tree | cc155a466c225d476b1fb1d0199af187ad7bddf5 /tools | |
| parent | ab6bcf9c5c8e8c7490d6b70141c4b2c864f15752 (diff) | |
| download | lib-des-gnux-6815af7a8dfb3bf5f4d0495fc37ad013da9ba93a.tar.gz lib-des-gnux-6815af7a8dfb3bf5f4d0495fc37ad013da9ba93a.zip | |
Move comm toggles for consistency
Signed-off-by: dusoleil <howcansocksbereal@gmail.com>
Diffstat (limited to 'tools')
| -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''): | 
