-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.py
More file actions
25 lines (20 loc) · 768 Bytes
/
example.py
File metadata and controls
25 lines (20 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import VaultLib as vl
vault = vl.Vault(vault_name="NeoVault",
signature=b"NEO_SPACE_MARKER",
master_password="Aleksey_Secure_2026",
user='Alex',
out_image="cat.png",
mask_source="mask_cat.jpg",
show_logo=True)
# Показать список:
vault.list_entries()
services = vault.get_services()
# vault._show_decoy()
if services:
for service in services:
# Прочитать:
res = vault.get_entry(service)
if res[0] == 2:
print(f"[S] Сервис: {service} | Логин: {res[1]['login']} | Пасс: {res[1]['password']}")
elif res[0] == 1:
print('[!] Неверный мастер-пароль')