{"id":20368000,"url":"https://github.com/mcaptcha/cli","last_synced_at":"2025-10-19T20:39:43.143Z","repository":{"id":38332422,"uuid":"345965055","full_name":"mCaptcha/cli","owner":"mCaptcha","description":"CLI tool for generating mCaptcha PoWs","archived":false,"fork":false,"pushed_at":"2023-11-28T21:44:51.000Z","size":3072,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T05:37:37.592Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mCaptcha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSES/AGPL-3.0-or-later.txt","code_of_conduct":"code_of_conduct.md","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}},"created_at":"2021-03-09T10:16:41.000Z","updated_at":"2023-09-16T22:58:36.000Z","dependencies_parsed_at":"2022-08-09T03:00:54.116Z","dependency_job_id":"4a7433d4-3088-4728-a98f-fcc64a6cbc4d","html_url":"https://github.com/mCaptcha/cli","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mCaptcha/cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mCaptcha%2Fcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mCaptcha%2Fcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mCaptcha%2Fcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mCaptcha%2Fcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mCaptcha","download_url":"https://codeload.github.com/mCaptcha/cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mCaptcha%2Fcli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279903949,"owners_count":26241844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-19T02:00:07.647Z","response_time":64,"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":[],"created_at":"2024-11-15T00:36:03.710Z","updated_at":"2025-10-19T20:39:43.101Z","avatar_url":"https://github.com/mCaptcha.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003emCaptcha PoW CLI\u003c/h1\u003e\n  \u003cp\u003e\n    \u003cstrong\u003emCaptcha - PoW based DoS protection\u003c/strong\u003e\n  \u003c/p\u003e\n\n[![Documentation](https://img.shields.io/badge/docs-master-blue)](https://mcaptcha.github.io/mCaptcha/mcaptcha_cli/index.html)\n![CI (Linux)](\u003chttps://github.com/mCaptcha/cli/workflows/CI%20(Linux)/badge.svg\u003e)\n[![dependency status](https://deps.rs/repo/github/mCaptcha/cli/status.svg)](https://deps.rs/repo/github/mCaptcha/cli)\n\u003cbr /\u003e\n[![codecov](https://codecov.io/gh/mCaptcha/cli/branch/master/graph/badge.svg)](https://codecov.io/gh/mCaptcha/cli)\n\n\u003c/div\u003e\n\n## Usage\n\n### Modes:\n\n1. Offline: Computes PoW over given CAPTCHA parameters\n2. Online: CLI alternative for people using browsers without JavaScript\n   support\n\n```bash\nCLI tool to solve mCaptcha\n\nUsage: mcaptcha-cli \u003cCOMMAND\u003e\n\nCommands:\n  offline  Compute PoW with offline parameters\n  online   Compute PoW by fetching parameters from  CAPTCHA URL\n  help     Print this message or the help of the given subcommand(s)\n\nOptions:\n  -h, --help     Print help\n  -V, --version  Print version\n```\n\n#### Offline\n\nHelp menu:\n\n```bash\nCompute PoW with offline parameters\n\nUsage: mcaptcha-cli offline --salt \u003cSALT\u003e --phrase \u003cPHRASE\u003e --difficulty-factor \u003cDIFFICULTY_FACTOR\u003e\n\nOptions:\n  -s, --salt \u003cSALT\u003e                            Salt with which PoW should be computed\n  -p, --phrase \u003cPHRASE\u003e                        Phrase over which PoW should be computed\n  -d, --difficulty-factor \u003cDIFFICULTY_FACTOR\u003e  Difficulty Factor\n  -h, --help                                   Print help\n```\n\nExample usage:\n\n```bash\n13:28 atm@lab cli ±|online|→ mcaptcha-cli offline -s $(rand 32) -p $(rand 32) -d 50000\ndifficulty: 50000\nnonce: 90507\noriginal phrase: f351f333d44b2c6b5bf7f033b065bbb8fb5e9dd153bd402e43ed04425f5a3859\nresult: 340276562956196291522979356090220150471\n```\n\n(where rand is\n[this](https://github.com/realaravinth/dotfiles/blob/6fc6c87cc912e17488a35c0d3327ecf393221270/scripts/rand#L20)\nscript)\n\n#### Online\n\nFetches CAPTCHA parameters from CAPTCHA URL, computes PoW, validates\nagainst given mCaptcha server and returns authorization token\n\nHelp menu:\n\n```bash\nCompute PoW by fetching parameters from  CAPTCHA URL\n\nUsage: mcaptcha-cli online --url \u003cURL\u003e\n\nOptions:\n  -u, --url \u003cURL\u003e  URL of the CAPTCHA. Example:  https://example.org/widget?sitekey=foo\n  -h, --help       Print help\n```\n\nExample usage:\n\n```bash\n13:32 atm@lab cli ±|online ✗|→ mcaptcha-cli online -u https://demo.mcaptcha.org/widget?sitekey=pHy0AktWyOKuxZDzFfoaewncWecCHo23\nAuthorization token: 3xleN26OctBuVu3X4t6CYyUjErhaxQvz\n```\n\n## Funding\n\n### NLnet\n\n\u003cdiv align=\"center\"\u003e\n\t\u003cimg\n\t\theight=\"150px\"\n\t\talt=\"NLnet NGIZero logo\"\n\t\tsrc=\"./docs/third-party/NGIZero-green.hex.svg\"\n\t/\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n2023 development is funded through the [NGI0 Entrust\nFund](https://nlnet.nl/entrust), via [NLnet](https://nlnet.nl/). Please\nsee [here](https://nlnet.nl/project/mCaptcha/) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcaptcha%2Fcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcaptcha%2Fcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcaptcha%2Fcli/lists"}