Created
April 22, 2025 03:02
-
-
Save thewhiteh4t/c10648a80d531de3e0ea195f1fbfa9c8 to your computer and use it in GitHub Desktop.
Simple python script to decrypt and read creds in terminal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # https://github.com/libkeepass/pykeepass | |
| # pip install pykeepass | |
| from pykeepass import PyKeePass | |
| kp = PyKeePass('Logins.kdbx', password='<ENTER PASSWORD>') | |
| for entry in kp.entries: | |
| print(f'[+] Title : {entry.title}') | |
| print(f'[+] URL : {entry.url}') | |
| print(f'[+] Notes : {entry.notes}') | |
| print(f'[+] Tags : {entry.tags}') | |
| print(f'[+] User : {entry.username}') | |
| print(f'[+] Pass : {entry.password}') | |
| print('-' * 40) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment