MCPcopy Create free account
hub / github.com/MorDavid/BruteForceAI / stop

Method stop

BruteForceAI.py:33–39  ·  view source on GitHub ↗

Stop capturing output

(self)

Source from the content-addressed store, hash-verified

31 return False
32
33 def stop(self):
34 """Stop capturing output"""
35 if self.file:
36 sys.stdout = self.original_stdout
37 sys.stderr = self.original_stderr
38 self.file.close()
39 print(f"📄 Output saved to: {self.filename}")
40
41 def write(self, text):
42 """Write to both console and file"""

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected