MCPcopy Create free account
hub / github.com/OWASP/Python-Honeypot / __init__

Method __init__

modules/ssh/weak_password/__init__.py:17–26  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

15 """
16
17 def __init__(self):
18 self.kill_flag = False
19 self.log_filename = 'tmp/ohp_ssh_weak_password_logs.txt'
20 self.log_filename_dump = 'tmp/ohp_ssh_weak_password_files_logs.json'
21 self.stop_execution = False
22 self.DIRECTORY_TO_WATCH = os.getcwd() + "/tmp/ohp_ssh_weak_container/"
23 self.EXCLUDES = ['/dev']
24 self.module_name = "ssh/weak_password"
25 if not os.path.exists(self.DIRECTORY_TO_WATCH):
26 os.makedirs(self.DIRECTORY_TO_WATCH)
27
28 def processor(self):
29 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected