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

Method start

BruteForceAI.py:22–31  ·  view source on GitHub ↗

Start capturing output

(self)

Source from the content-addressed store, hash-verified

20 self.original_stderr = sys.stderr
21
22 def start(self):
23 """Start capturing output"""
24 try:
25 self.file = open(self.filename, 'w', encoding='utf-8-sig')
26 sys.stdout = self
27 sys.stderr = self
28 return True
29 except Exception as e:
30 print(f"❌ Error opening output file {self.filename}: {e}")
31 return False
32
33 def stop(self):
34 """Stop capturing output"""

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected