{"id":39336791,"url":"https://github.com/dan1elt0m/binarycookies","last_synced_at":"2026-01-18T02:12:56.099Z","repository":{"id":248107727,"uuid":"827779410","full_name":"dan1elt0m/binarycookies","owner":"dan1elt0m","description":"Binary Cookies CLI and Python library","archived":false,"fork":false,"pushed_at":"2025-11-02T17:09:44.000Z","size":961,"stargazers_count":21,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-02T19:07:36.062Z","etag":null,"topics":["binary","binary-cookie","binary-cookies","binarycookies","cli","cookies","parser","python","reader"],"latest_commit_sha":null,"homepage":"https://dan1elt0m.github.io/binarycookies/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit-0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dan1elt0m.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-12T11:01:42.000Z","updated_at":"2025-11-02T17:09:41.000Z","dependencies_parsed_at":"2025-05-04T14:19:42.480Z","dependency_job_id":"6c04ef13-19ef-4b65-b097-16381dc0c5c0","html_url":"https://github.com/dan1elt0m/binarycookies","commit_stats":null,"previous_names":["dan1elt0m/binary-cookies-reader","dan1elt0m/binarycookies"],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/dan1elt0m/binarycookies","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan1elt0m%2Fbinarycookies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan1elt0m%2Fbinarycookies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan1elt0m%2Fbinarycookies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan1elt0m%2Fbinarycookies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dan1elt0m","download_url":"https://codeload.github.com/dan1elt0m/binarycookies/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dan1elt0m%2Fbinarycookies/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28526569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["binary","binary-cookie","binary-cookies","binarycookies","cli","cookies","parser","python","reader"],"created_at":"2026-01-18T02:12:56.047Z","updated_at":"2026-01-18T02:12:56.091Z","avatar_url":"https://github.com/dan1elt0m.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Github Actions Status](https://github.com/dan1elt0m/binary-cookies-reader/workflows/test/badge.svg)](https://github.com/dan1elt0m/binary-cookies-reader/actions/workflows/test.yml)\n\u003ch1\u003e\n  \u003cimg src=\"docs/bincook.png\" width=\"30\" style=\"vertical-align: middle; margin-right: 10px;\"\u003e\n  Binary Cookies\n\u003c/h1\u003e\n\nCLI tool and Python library for reading and writing Binary Cookies.\n\n### Documentation\nFor detailed documentation, please visit the [Binary Cookies Documentation](https://dan1elt0m.github.io/binarycookies/)\n\n### Requirements\n\n- Python \u003e= 3.9\n\n### Installation\n```bash \npip install binarycookies\n```\n\n### CLI example:\n```sh\nbcparser path/to/cookies.binarycookies\n```\n\nOutput:\n```json\n[\n  {\n    \"name\": \"session_id\",\n    \"value\": \"abc123\",\n    \"url\": \"https://example.com\",\n    \"path\": \"/\",\n    \"create_datetime\": \"2023-10-01T12:34:56+00:00\",\n    \"expiry_datetime\": \"2023-12-31T23:59:59+00:00\",\n    \"flag\": \"Secure\"\n  },\n  {\n    \"name\": \"user_token\",\n    \"value\": \"xyz789\",\n    \"url\": \"https://example.com\",\n    \"path\": \"/account\",\n    \"create_datetime\": \"2023-10-01T12:34:56+00:00\",\n    \"expiry_datetime\": \"2023-12-31T23:59:59+00:00\",\n    \"flag\": \"HttpOnly\"\n  }\n]\n```\n#### Output formats\nThe CLI supports multiple output formats using the --output flag.\n- `json` (default): Outputs cookies in JSON format.\n- `ascii`: Outputs cookies in a human-readable ASCII format with each cookie property on a separate line.\n- `netscape`: Outputs cookies in the Netscape cookie file format.\n\n### Basic Usage Python\n\n#### Deserialization\n\n```python\nimport binarycookies \n\nwith open(\"path/to/cookies.binarycookies\", \"rb\") as f:\n    cookies = binarycookies.load(f)\n```\n\n#### Serialization\n\n```python\nimport binarycookies \n\ncookie = {\n    \"name\": \"session_id\",\n    \"value\": \"abc123\",\n    \"url\": \"https://example.com\",\n    \"path\": \"/\",\n    \"create_datetime\": \"2023-10-01T12:34:56+00:00\",\n    \"expiry_datetime\": \"2023-12-31T23:59:59+00:00\",\n    \"flag\": \"Secure\"\n}\n\nwith open(\"path/to/cookies.binarycookies\", \"wb\") as f:\n    binarycookies.dump(cookie, f)\n```\n\n### Ethical Use \u0026 Responsible Handling\nThis project is intended for lawful, ethical use only. Typical, appropriate uses include:\n- Inspecting Binary Cookies from your own devices or data you are authorized to access\n- DFIR, QA, and security testing performed with explicit, written permission\n- Educational/research work on datasets that are owned by you, anonymized, or publicly released for that purpose\n\nYou must not use this tool to:\n- Access, extract, modify, or distribute cookies from systems or accounts you do not own or have permission to analyze\n- Bypass authentication, session management, DRM, or other technical controls\n- Enable tracking, stalking, doxxing, fraud, or other privacy-invasive or harmful activities\n\n\n### License\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n### Contributing\nContributions are welcome! If you find a bug or have a feature request, please open an issue on GitHub. Pull requests are also welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdan1elt0m%2Fbinarycookies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdan1elt0m%2Fbinarycookies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdan1elt0m%2Fbinarycookies/lists"}