{"id":19684235,"url":"https://github.com/elliotwutingfeng/passwordsim","last_synced_at":"2025-04-29T06:30:25.115Z","repository":{"id":65231225,"uuid":"588441108","full_name":"elliotwutingfeng/passwordsim","owner":"elliotwutingfeng","description":"passwordsim lets you search for passwords similar to your specified password in any passwords dataset. The similarity metric used is the Damerau-Levenshtein distance.","archived":false,"fork":false,"pushed_at":"2024-08-11T20:07:05.000Z","size":44,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-08-11T21:24:07.813Z","etag":null,"topics":["cybersecurity","damerau-levenshtein","data-breaches","hacktoberfest","haveibeenpwned","osint","password","password-manager","security"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elliotwutingfeng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-01-13T05:52:26.000Z","updated_at":"2024-08-11T20:07:07.000Z","dependencies_parsed_at":"2024-04-27T16:24:47.179Z","dependency_job_id":"a674c11e-24b0-4139-8a1e-d6986a042a62","html_url":"https://github.com/elliotwutingfeng/passwordsim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotwutingfeng%2Fpasswordsim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotwutingfeng%2Fpasswordsim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotwutingfeng%2Fpasswordsim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elliotwutingfeng%2Fpasswordsim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elliotwutingfeng","download_url":"https://codeload.github.com/elliotwutingfeng/passwordsim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224151083,"owners_count":17264436,"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","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":["cybersecurity","damerau-levenshtein","data-breaches","hacktoberfest","haveibeenpwned","osint","password","password-manager","security"],"created_at":"2024-11-11T18:17:12.095Z","updated_at":"2024-11-11T18:17:12.568Z","avatar_url":"https://github.com/elliotwutingfeng.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# passwordsim\n\n[![Go Reference](https://img.shields.io/badge/go-reference-blue?logo=go\u0026logoColor=white\u0026style=for-the-badge)](https://pkg.go.dev/github.com/elliotwutingfeng/passwordsim)\n[![Go Report Card](https://goreportcard.com/badge/github.com/elliotwutingfeng/passwordsim?style=for-the-badge)](https://goreportcard.com/report/github.com/elliotwutingfeng/passwordsim)\n[![Coveralls](https://img.shields.io/coverallsCoverage/github/elliotwutingfeng/passwordsim?logo=coveralls\u0026style=for-the-badge)](https://coveralls.io/github/elliotwutingfeng/passwordsim?branch=main)\n\n[![GitHub license](https://img.shields.io/badge/LICENSE-BSD--3--CLAUSE-GREEN?style=for-the-badge)](LICENSE)\n\n## Summary\n\n**passwordsim** lets you search for passwords similar to your specified password in any passwords dataset. The similarity metric used is the [Damerau-Levenshtein](https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance) distance.\n\n## Use cases\n\n- Choosing strong passwords\n- Guessing password variants\n\n## Requirements\n\nTested on Linux x64\n\n- Fast multicore CPU\n- At least 32 GB RAM recommended for larger datasets (multi-GB)\n- Go 1.19\n\n## Installation\n\n```sh\ngo get github.com/elliotwutingfeng/passwordsim\n```\n\n## Setup\n\npasswordsim executable will be created in the folder **'dist/'**\n\n```bash\nmake build_cli\n```\n\n## Usage\n\nSearch for passwords similar to '[correct horse battery staple](https://xkcd.com/936)' in **'test/passwords.txt'**, with a normalised Damerau-Levenshtein distance score no larger than **0.3**.\n\n```bash\ndist/passwordsim -f 'test/passwords.txt' -o 'output.txt' -p 'correct horse battery staple' -t 0.3\n```\n\nFor Windows systems, use back slashes `\\`.\n\n### Terminal output\n\n```text\nSearching for similar passwords...\n3 similar passwords found in 'test/passwords.txt'. Threshold: 0.30\nResults saved to file 'output.txt'.\n```\n\n### File output\n\n**Filename:** output.txt\n\n```text\ncorrect horse battery staple 0\nincorrect horse battery staple 0.06666666666666667\nincorrect horse battery st@ple 0.1\n```\n\nThe number on the right of each password is its [normalised Damerau-Levenshtein distance score](https://github.com/lmas/Damerau-Levenshtein) relative to your specified password. Scores range from 0 to 1. The smaller the number, the more similar the password. 0 implies exact match.\n\n## Password datasets\n\n- [SecLists](https://github.com/danielmiessler/SecLists)\n- [Xato.net 10 million passwords](https://xato.net/today-i-am-releasing-ten-million-passwords-b6278bbe7495)\n- [Weekpass](https://weakpass.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felliotwutingfeng%2Fpasswordsim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felliotwutingfeng%2Fpasswordsim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felliotwutingfeng%2Fpasswordsim/lists"}