summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/sploit/sploit/comm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sploit/sploit/comm.py b/tools/sploit/sploit/comm.py
index 2786c45..242bc3d 100644
--- a/tools/sploit/sploit/comm.py
+++ b/tools/sploit/sploit/comm.py
@@ -31,7 +31,7 @@ class Comm:
def readall(self):
data = b''
for line in self.back.stdin:
- ilog(line, file=sys.stdout, color=NORMAL)
+ if self.logonread : ilog(line, file=sys.stdout, color=NORMAL)
data += line
return data