# Extract password saved in Remmina

DevFeed: [Extract password saved in Remmina](<https://devfeed.tech/articles/extract-password-saved-in-remmina-27627.md>)

Original publisher: [Read original article](<https://gagor.pro/2015/12/extract-password-saved-in-remmina/>)

Author: Tom

Published: 2015-12-25T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [passwords](<https://devfeed.tech/topics/passwords.md>), [Script](<https://devfeed.tech/topics/script.md>), [import](<https://devfeed.tech/topics/import.md>)

Tags: [crypto](<https://devfeed.tech/tags/crypto.md>), [debian](<https://devfeed.tech/tags/debian.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [linux](<https://devfeed.tech/tags/linux.md>), [password](<https://devfeed.tech/tags/password.md>), [passwords](<https://devfeed.tech/tags/passwords.md>), [python](<https://devfeed.tech/tags/python.md>), [script](<https://devfeed.tech/tags/script.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>)

## AI overview

A tutorial explaining how to extract passwords saved by Remmina. It notes that the passwords are encrypted in the .remmina directory and presents a Python script using base64 decoding and DES3 decryption to recover them from Remmina configuration data.

## Source excerpt

I had some passwords saved in remmina but like it always happen, I wasn't been able to remember them when needed. Trying to restore them I found that they're encrypted in .remmina directory. Then I used this script to decrypt them 1: Extract script import base64 from Crypto.Cipher import DES3 secret = base64.decodestring("<STRING FROM remmina.prefs>") password = base64.decodestring("<STRING FROM XXXXXXX.remmina>") print DES3.new(secret[:24], DES3.MODE_CBC, secret[24:]).decrypt(password) http://askubuntu.com/questions/290824/how-to-extract-saved-password-from-remmina external link ↩︎