Simple Tools for decode crypto data, from extensions wallet, Metamask, Ronin, Brawe, etc.
Project description
WalletReader
Simple Tools for decode crypto data, from extensions wallet, Metamask, Ronin, Brawe, TronLink, etc.
Installation
Python requires Python.org v3,7+ to run. Install the dependencies and devDependencies and start the server.
python -m pip install pip
python -m pip install --upgrade pip
pip install pycryptodome
pip install Cipherbcrypt
Using Single Version
Decrypt hash by one password:
from WalletReader import extensionWalletDecrypt
pssw = 'qwerty123'
payload = {'data': 'M5YTg9f1PP62H........ATR/iKzdvhHdF', 'iv': '6CD......Cg==', 'salt': 'TkHQ2......fxaSC/g='}
d1 = extensionWalletDecrypt()
obj = d1.decryptSingle(pssw, payload)
print(obj)
Output:
[{'type': 'HD Key Tree', 'data': {'mnemonic': 'result slam keen employ smile capable crack network favorite equal limit orphan', 'numberOfAccounts': 1, 'hdPath': "m/44'/60'/0'/0"}}, {'type': 'Trezor Hardware', 'data': {'hdPath': "m/44'/60'/0'/0", 'accounts': [], 'page': 0, 'paths': {}, 'perPage': 5, 'unlockedAccount': 0}}, {'type': 'Ledger Hardware', 'data': {'hdPath': "m/44'/60'/0'", 'accounts': [], 'accountDetails': {}, 'implementFullBIP44': False}}]
Using List Version
Best practice: virtual environments
In order to avoid problems with pip packages in different versions or packages that install under the same folder (i.e. pycrypto
and pycryptodome
) you can make use of a so called virtual environment. There, the installed pip packages can be managed for every single project individually.
To install a virtual environment and setup everything, use the following commands:
# install python3 and pip3
sudo apt update
sudo apt upgrade
sudo apt install python3
sudo apt install python3-pip
# install virtualenv
pip3 install virtualenv
# install and create a virtual environment in your target folder
mkdir target_folder
cd target_folder
python3 -m virtualenv .
# now activate your venv and install pycryptodome
source bin/activate
pip3 install pycryptodome
# check if everything worked:
# start the interactive python console and import the Crypto module
# when there is no import error then it worked
python
>>> from Crypto.Cipher import AES
>>> exit()
# don't forget to deactivate your venv again
deactivate
For more information, see docs.python-guide.org.
License
MIT
Decoder master project (c)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for walletdecode-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e51c5958002f16bb6fa3df14ce26540ec2cfa54e4837fd2aac851872679f3128 |
|
MD5 | 2cd9637cf3df5013c47133fb0bc9eec1 |
|
BLAKE2b-256 | f524e55b3409a0e97a2f583b68d2cf76f3010bcf02ba7020547513e87c588bde |