{"id":25029049,"url":"https://github.com/danzek/ctf-crypto-challenge","last_synced_at":"2025-07-05T10:41:06.470Z","repository":{"id":57632878,"uuid":"115696808","full_name":"danzek/ctf-crypto-challenge","owner":"danzek","description":"Given a salt, salted hash, and word list, determine which word from the word list corresponds to the salted hash (i.e., crack the password).","archived":false,"fork":false,"pushed_at":"2018-01-22T23:52:34.000Z","size":31,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T16:09:52.122Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danzek.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}},"created_at":"2017-12-29T07:03:59.000Z","updated_at":"2023-11-08T04:47:53.000Z","dependencies_parsed_at":"2022-08-31T13:20:51.779Z","dependency_job_id":null,"html_url":"https://github.com/danzek/ctf-crypto-challenge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danzek/ctf-crypto-challenge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danzek%2Fctf-crypto-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danzek%2Fctf-crypto-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danzek%2Fctf-crypto-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danzek%2Fctf-crypto-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danzek","download_url":"https://codeload.github.com/danzek/ctf-crypto-challenge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danzek%2Fctf-crypto-challenge/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263728832,"owners_count":23502577,"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":[],"created_at":"2025-02-05T20:57:50.278Z","updated_at":"2025-07-05T10:41:06.420Z","avatar_url":"https://github.com/danzek.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"CTF Crypto Challenge\n====================\n\nGiven a salt, salted hash, and word list, determine which word from the word list corresponds to the salted hash (i.e., crack the password).\n\nDownload\n--------\n\nClone the repo if you plan to do development, or simply download it using `go get`:\n\n    go get github.com/danzek/ctf-crypto-challenge\n\nUsage\n-----\n\n    go run main.go /path/to/word/list.txt salt:hash [salt:hash ...]\n\nTo generate 10 sample salted hashes from the word list (assumes word list is named `words.txt` and is in the `wordlist` folder):\n\n    go run main.go crackme test\n\nOf course you can compile it for your platform with `go build` and run whatever you name the executable as well.\n\nWhy?\n---\n\nI once helped a colleague with a specific CTF problem involving receiving 10 salted hashes (with salts provided) and having to decrypt them using a supplied word list in a short time frame. At the time, we decided to use Python but it was too slow to solve the challenge in the time provided. Now over a year later I'm learning Go and figured this might be a fun project to return to for educational purposes. If it helps you, even better!\n\nLicense\n-------\n\nMIT License\n\nCopyright \u0026copy; 2017 Dan O'Day (d@4n68r.com)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanzek%2Fctf-crypto-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanzek%2Fctf-crypto-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanzek%2Fctf-crypto-challenge/lists"}