mirror of
https://github.com/bellingcat/octosuite.git
synced 2026-06-11 21:08:35 +03:00
16 lines
381 B
Python
16 lines
381 B
Python
import sys
|
|
|
|
colors = True
|
|
machine = sys.platform # Detecting the os
|
|
if machine.lower().startswith(("os", "win", "darwin","ios")):
|
|
colors = False # Colors will not be displayed
|
|
|
|
if not colors:
|
|
reset = red = white = green = ""
|
|
|
|
else:
|
|
white = "\033[97m"
|
|
red = "\033[91m"
|
|
reset = "\033[0m"
|
|
green = "\033[92m"
|