mirror of
https://github.com/bellingcat/octosuite.git
synced 2026-06-12 05:18:33 +03:00
Update colors.py
This commit is contained in:
@@ -9,11 +9,11 @@ from datetime import datetime
|
||||
# colors.py is the reason why users get to choose whether to enable/disable colors
|
||||
# delete this file, the entire program breaks
|
||||
system_info = [("RAM", f"{str(round(psutil.virtual_memory().total / (1024.0 **3)))}GB"),
|
||||
("Processor",platform.processor),
|
||||
("Node", platform.node),
|
||||
("Release", platform.release),
|
||||
("Architecture", platform.architecture),
|
||||
("Version", platform.version)]
|
||||
("Processor",platform.processor()),
|
||||
("Node", platform.node()),
|
||||
("Release", platform.release()),
|
||||
("Architecture", platform.architecture()),
|
||||
("Version", platform.version())]
|
||||
first_banner = f"""
|
||||
OCTOSUITE © 2022 Richard Mwewa
|
||||
{datetime.now().strftime('%A %d %B %Y, %H:%M:%S%p')}
|
||||
@@ -23,7 +23,7 @@ first_banner = f"""
|
||||
print(first_banner)
|
||||
system_tree = Tree(f"{platform.system()}")
|
||||
for system_key, system_value in system_info:
|
||||
system_tree.add(f"{system_key}: {system_value()}")
|
||||
system_tree.add(f"{system_key}: {system_value}")
|
||||
xprint(system_tree)
|
||||
print("\n")
|
||||
while True:
|
||||
|
||||
Reference in New Issue
Block a user