CCL Leveldb Reader, extract vault data from any chrome extensions, and etc.
Project description
CCL Level DB
LDB Reader and extract data from phantom wallet, ecnrypted key and data, vector, salt data for next decoding.
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 ccl_leveldb
Example code
example patch
C:\Users\root\AppData\Local\Google\Chrome\User Data\Default\Local Extension Settings\nkbihfbeogaeaoehlefnkodbefgpgknn
import ccl_leveldb
def findldb(db_path):
try:
leveldb_records = ccl_leveldb.RawLevelDb(db_path)
for record in leveldb_records.iterate_records_raw():
try:
encrypted_object = json.loads(record.value.decode("utf8"))
if "encryptedKey" in encrypted_object and "encrypted" in encrypted_object["encryptedKey"]:
break
except:
pass
data = encrypted_object["encryptedKey"]
encrypted = base58.b58decode(data["encrypted"])
nonce = base58.b58decode(data["nonce"])
salt = base58.b58decode(data["salt"])
result_object_2 = []
leveldb_records = ccl_leveldb.RawLevelDb(db_path)
for record in leveldb_records.iterate_records_raw():
try:
json_data = json.loads(record.value.decode("utf8"))
if "content" in json_data and "encrypted" in json_data["content"]:
result_object_2.append(json_data)
except:
pass
return [result_object_2, [encrypted, nonce, salt]]
except Exception as ex:
return []
##Output:
[Encrypted, [data, vector, salt]]
For more information, see docs.python-guide.org.
License
MIT
Decoder master project (c)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ccl_leveldb-1.0.tar.gz
(8.3 kB
view hashes)
Built Distribution
Close
Hashes for ccl_leveldb-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae802079db9a05d583220bec455de2716c1f7dcdcd523f8881cf7d59b89567cc |
|
MD5 | d65d76c4e94042313f2631f2503fa68d |
|
BLAKE2b-256 | ccc663ddf3c735080d1c77cb1a735b18e8239d1e2730ecf66764ce55f939fdf5 |