(self)
| 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 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected