mirror of
https://github.com/bellingcat/octosuite.git
synced 2026-06-13 05:48:34 +03:00
18 lines
570 B
Python
18 lines
570 B
Python
#!/usr/bin/env python3
|
|
|
|
import logging
|
|
from src.main import *
|
|
from lib.colors import red,red_bg,white,reset
|
|
|
|
if __name__ == '__main__':
|
|
try:
|
|
octosuite().on_start()
|
|
|
|
except KeyboardInterrupt:
|
|
logging.warning('Process interrupted with Ctrl+C')
|
|
exit(f'\n{white}[{red} x {white}] Process interrupted with {red_bg}Ctrl+C{reset}')
|
|
|
|
except Exception as e:
|
|
logging.error(f'Session terminated on error: {e}')
|
|
exit(f'\n{white}[{red} ! {white}] Session {red_bg}terminated{reset}{white} on error: {red}{e}{reset}')
|