Linux

HTB{ RPG }
List keyrings:
$ python3 -c "import gnomekeyring as gk;print(gk.list_keyring_names_sync())"
Unlock keyring with password:
import gnomekeyring as gk
def list_keyring_items(keyring_name):
print(f'*********{keyring_name}**********')
gk.unlock_sync(keyring_name, 'Passw0rd!')
item_keys = gk.list_item_ids_sync(keyring_name)
for key in item_keys:
item_info = gk.item_get_info_sync(keyring_name, key)
print(f'Number: {key}')
print(f'Name: {item_info.get_display_name()}')
print(f'Password: {item_info.get_secret()}')
list_keyring_items('mykeyring')

$ sudo python3 mimipenguin.py
Last modified 2mo ago
Copy link
On this page
GNOME Keyrings
Tools
mimipenguin