initial commit
This commit is contained in:
@@ -0,0 +1,72 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
# Coded by [email protected]
|
||||
|
||||
class ApiErrors:
|
||||
client_not_authorized = "Client not authorized!"
|
||||
function_does_not_exist = "Method '{}' does not exist"
|
||||
|
||||
class Login:
|
||||
account_does_not_exist = "Account '{}' does not exist"
|
||||
wrong_password = "Invalid password to log into your account"
|
||||
logged_in = "Successful login"
|
||||
logged_out = "Logged out from account"
|
||||
already_logged_out = "Already logged out"
|
||||
already_logged_in = "Already logged in account '{}'"
|
||||
|
||||
class Register:
|
||||
account_already_exist = "Account '{}' is already registered"
|
||||
registered_ok = "Successful registration"
|
||||
unregistered_ok = "Account deleted successfully"
|
||||
invalid_credentials = "The username or password you entered is incorrect"
|
||||
change_password_ok = "Password changed successfully"
|
||||
change_telegram_ok = "Telegram bot token saved"
|
||||
change_apps_ok = "Apps list saved"
|
||||
|
||||
class Report:
|
||||
deleted_ok = "Report ID:{} deleted successfully"
|
||||
saved_ok = "Report saved"
|
||||
comment_ok = "Comment changed successfully"
|
||||
not_found = "Report with ID:{} not exists"
|
||||
|
||||
class Grabber:
|
||||
path_deleted_ok = "Path deleted successfully"
|
||||
path_saved_ok = "Scanning path saved"
|
||||
extensions_saved_ok = "Extensions saved"
|
||||
|
||||
class ReportsJsonErrors:
|
||||
default_counter = {
|
||||
"wallets": 0,
|
||||
"passwords": 0,
|
||||
"credit_cards": 0,
|
||||
"autofill": 0,
|
||||
"cookies": 0,
|
||||
"history": 0,
|
||||
"downloads": 0,
|
||||
"grabber": 0,
|
||||
}
|
||||
default_information = {
|
||||
"hardware": {
|
||||
"screen": "0x0",
|
||||
"ram": 0,
|
||||
"cpu_name": "Unknown",
|
||||
"cpu_id": "Unknown",
|
||||
"gpu_name": "Unknown ",
|
||||
"disk_id": "Unknown",
|
||||
"manufacturer": "Unknown"
|
||||
},
|
||||
"network": {
|
||||
"local_ip": "127.0.0.1",
|
||||
"gateway_ip": "Unknown",
|
||||
"bssid": "Unknown"
|
||||
},
|
||||
"power": {
|
||||
"adapter_connected": False,
|
||||
"battery_percentage": 255
|
||||
},
|
||||
"os": {
|
||||
"name": "Unknown",
|
||||
"admin": False,
|
||||
"lang": "Unknown"
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user