Skip to main content

CCL Leveldb Reader, extract vault data from any chrome extensions, and etc.

Project description

CCL Level DB

N|Solid

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

This version

1.0

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)

Uploaded Source

Built Distribution

ccl_leveldb-1.0-py3-none-any.whl (8.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page