(self, shared_data)
| 29 | Class to handle the process of stealing files from SSH servers. |
| 30 | """ |
| 31 | def __init__(self, shared_data): |
| 32 | try: |
| 33 | self.shared_data = shared_data |
| 34 | self.sftp_connected = False |
| 35 | self.stop_execution = False |
| 36 | self.b_parent_action = b_parent # Set the parent action attribute |
| 37 | self.file_tracker = FileTracker('ssh', self.shared_data.datadir) |
| 38 | logger.info("StealFilesSSH initialized") |
| 39 | except Exception as e: |
| 40 | logger.error(f"Error during initialization: {e}") |
| 41 | |
| 42 | def connect_ssh(self, ip, username, password): |
| 43 | """ |
nothing calls this directly
no test coverage detected