Display the comment based on the status of the ragnarorch.
(self, status)
| 396 | |
| 397 | total_passwords = 0 |
| 398 | for file in crackedpw_files: |
| 399 | try: |
| 400 | # Check if file is not empty and has content |
| 401 | if os.path.getsize(file) > 0: |
| 402 | with open(file, 'r') as f: |
| 403 | df = pd.read_csv(f, usecols=[0]) |
| 404 | if not df.empty: |
| 405 | total_passwords += len(df) |
| 406 | else: |
| 407 | logger.debug(f"Password file {file} is empty, skipping") |
| 408 | except (pd.errors.EmptyDataError, pd.errors.ParserError) as e: |