| skipped 89 lines |
90 | 90 | | is_multipart=conf.is_multipart, |
91 | 91 | | timeout=timeout, |
92 | 92 | | ) |
| 93 | + | if attack.status_code == 401: |
| 94 | + | logger.warning( |
| 95 | + | "It seems the session got expired, update the session and re-run" |
| 96 | + | ) |
| 97 | + | logger.end("ending") |
| 98 | + | exit(0) |
93 | 99 | | except URLError as e: |
94 | 100 | | logger.critical(f"error: {e}") |
95 | 101 | | logger.end("ending") |
| skipped 15 lines |