{"id":19544881,"url":"https://github.com/ariary/countdown","last_synced_at":"2026-06-11T18:31:17.804Z","repository":{"id":109492805,"uuid":"551465535","full_name":"ariary/countdown","owner":"ariary","description":"Get passwords possibilities number providing  wordlist and  constraints model","archived":false,"fork":false,"pushed_at":"2022-10-17T14:42:40.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T05:42:25.463Z","etag":null,"topics":["bruteforce","password","wordlist","wordlist-processing"],"latest_commit_sha":null,"homepage":"","language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ariary.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}},"created_at":"2022-10-14T13:00:30.000Z","updated_at":"2022-10-14T13:38:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"aacc91f1-3120-44f3-8b9c-6036ebb197f8","html_url":"https://github.com/ariary/countdown","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ariary/countdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariary%2Fcountdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariary%2Fcountdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariary%2Fcountdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariary%2Fcountdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ariary","download_url":"https://codeload.github.com/ariary/countdown/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariary%2Fcountdown/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34213180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"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":["bruteforce","password","wordlist","wordlist-processing"],"created_at":"2024-11-11T03:32:54.074Z","updated_at":"2026-06-11T18:31:17.779Z","avatar_url":"https://github.com/ariary.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"# c o u n t d o w n\n\n## G O A L\n\n* *(blackbox)* have an idea of the password list size before trying to generate it\n* *(whitebox)* show the strength/weakness of a password considering specific attacker capabilities without having to generate the wordlist (and perform bruteforce)\n\n## A P P R O A C H\n\n1. **Construct a wordlist**\n\nTry to enumerate some possible words that could be used in the password\n\nI recommend using [`cewl`](https://github.com/digininja/CeWL) if targetting a company to do so:\n```shell\n# extract word that are repeated at least 115 times in the company site\n» cewl --with-numbers -c https://[TARGET] \u003e cewl_count.txt\n» sort_cewl cewl_count.txt 15 \u003e min_15_from_cewl.txt\n```\n\n2. **Construct \"extra\" wordlist (include special characters + other custom ones)**\n```shell\n# include most used special characters in password + some dates\n» seq 0 100 \u003e extra.txt \u0026\u0026 seq 1950 2050 \u003e\u003e extra.txt\n```\n\n3. **Provide constraint model**\n\n***👋 TL;DR here***\n\nIt is possible to play with:\n * The substitution numbers in words (*e.g* `A` to `4`)\n * The numbers of Uppercase letters in words\n * The number of words from the wordlist\n * The number of words from the \"extra wordlist\" and their positions\n\n```shell\n# Compute different variables about wordlist\n» LEN_WORDLIST=$(cat min_15_from_cewl.txt | wc -l)\n» AVG_WORD_SIZE=$(( $(cat min_15_from_cewl.txt | wc -c) / $(cat min_15_from_cewl.txtt | wc -w) ))\n» LEN_EXTRA_WORDLIST=$(cat extra.txt | wc -l)\n# How many passwords possible if:\n# max 2 words from the wordlist are possible\n# max 3 substitutions by word\n# max 2 words from extra wordlists can follow each other\n# max 1 uppercase letter by word\n» countdown --len \"${LEN_WORDLIST}\" --lenExtra \"${LEN_EXTRA_WORDLIST}\" --meanWordLength=7 --maxSubstitution=3 --extraFollowing=2 --max-upper=1\n```\n\n## .. I want to use it\nInstall `nim`\n```shell\n» git clone https://github.com/ariary/countdown \u0026\u0026 cd countdown \u0026\u0026 make build.countdown \u0026\u0026 make build.sort_cewl\n```\n\n## Disclaimer\n\n* I am pretty sure similar projects already exist and may be better, but my google fu skills were not sufficient to find them (btw I like making my own tools)\n* I try my best to make the right compute, considering the different constraints, but some mistakes might be present (enumeration logic can be very confusing sometimes)\n\n## Supplementary notes\n\nWith a cluster of GPU *(like the ZOTAC GTX 1050 Ti Min)* it is theorically possible to crack tens of millions more hashes per second. It is affordable.\n\n* So you can have an idea about how many seconds you need to test against the wordlist by dividing the #Passwords by 10 000 000\n* Divide the previous result by 86400 to get an idea in days\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fariary%2Fcountdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fariary%2Fcountdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fariary%2Fcountdown/lists"}