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