diff options
Diffstat (limited to 'sploit')
| -rw-r--r-- | sploit/comm.py | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/sploit/comm.py b/sploit/comm.py index 242bc3d..0bc8c6a 100644 --- a/sploit/comm.py +++ b/sploit/comm.py @@ -9,6 +9,7 @@ from sploit.until import bind  class Comm:      logonread = True +    logonwrite = False      flushonwrite = True      def __init__(self, backend): @@ -60,6 +61,7 @@ class Comm:      def write(self, data):          self.back.stdout.write(data)          if self.flushonwrite : self.back.stdout.flush() +        if self.logonwrite : ilog(data, file=sys.stdout, color=ALT)      def writeline(self, data):          self.write(data + b'\n') | 
