{"id":13827344,"url":"https://github.com/andream16/gocrackerino","last_synced_at":"2025-11-04T14:30:23.060Z","repository":{"id":90084446,"uuid":"71831772","full_name":"andream16/GoCrackerino","owner":"andream16","description":"Go Meet in The Middle Key Cracker","archived":false,"fork":false,"pushed_at":"2017-03-18T09:29:38.000Z","size":249,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-17T14:53:56.870Z","etag":null,"topics":["cracker","encryption","go","golang","meet-in-the-middle"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/andream16.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-10-24T21:00:35.000Z","updated_at":"2018-07-18T13:09:54.000Z","dependencies_parsed_at":"2023-03-14T15:31:15.251Z","dependency_job_id":null,"html_url":"https://github.com/andream16/GoCrackerino","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/andream16%2FGoCrackerino","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andream16%2FGoCrackerino/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andream16%2FGoCrackerino/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andream16%2FGoCrackerino/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andream16","download_url":"https://codeload.github.com/andream16/GoCrackerino/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239433908,"owners_count":19637806,"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":["cracker","encryption","go","golang","meet-in-the-middle"],"created_at":"2024-08-04T09:01:54.390Z","updated_at":"2025-11-04T14:30:22.809Z","avatar_url":"https://github.com/andream16.png","language":"Go","funding_links":[],"categories":["\u003ca id=\"42f9e068b6511bcbb47d6b2b273097da\"\u003e\u003c/a\u003e未分类"],"sub_categories":["\u003ca id=\"3bd67ee9f322e2c85854991c85ed6da0\"\u003e\u003c/a\u003e投毒\u0026\u0026Poisoning"],"readme":"# GoCrackerino ![](https://stuff.mit.edu/afs/sipb/project/golang/arch/go1.2.1-linux-amd64/favicon.ico)\n## Golang Key Cracker Which Implements Meet In the Middle Strategy.\n\nGiven a known `cipher-text` and a known `plain-text`, it finds two keys `k1` and `k2` in a way that \n`Ek1(plain) == Dk2(cipher)`\nwhere `E` is the encryption function and `D` is the decryption function.\n\nIt tries all the possible keys in the range of `24/28/32 bits` and prints which are the keys to be used for the encryption and decryption.\n\nKeys can only be `6/7/8 Digits HEX` and `Cipher/Plain` can only be `16 Digits HEX`.\n\nThis cracker was written in `Golang` since I needed to run both `Encryption` and `Decryption` in parallel and `goroutines` made it easy.\n\n# What you need to run the project:\n\n    - Go   : ~1.7\n    - Ocaml: ~4.03.0\n    - AWK  : ~4.0.1\n    - Grep : ~2.x\n    \nDownload the project, extract the contents of `sp-network for challenge mitm.zip`, then run `make` on its folder, two `executables` and more files will be generated. Move `encrypt` and `decrypt` executables to the main project's folder or just make sure to specify their paths on `go-crackerino.go`.\n\nYou can run `encryption` using: `./encrypt -s key cipherText` and `decryption` using `./decrypt -s key plainText`.\n\n    - 24-bit:   000000 -   FFFFFF\n    - 28-bit:  0000000 -  FFFFFFF\n    - 32-bit: 00000000 - FFFFFFFF\n\n`Plain/Cipher` couples to be used to test the application:\n\n    - 24-bit: C330C9CBD01DFBA0 - E10C65124518DB05\n    - 28-bit: 492A5BB83F8A3F95 - 47090A6AC4A56798\n    - 32-bit: FFC7C9E5694ABFF7 - 98AC59F25448FFAC\n    \nMake sure to have `~20GB` of free space for the 32-bit challenge since it will write huge amounts of couples `key cipher` in a file.\n\nWhen `Ek1(C) == Dk2(P)` you found the right keys `k1, k2` to read all encrypted messages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandream16%2Fgocrackerino","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandream16%2Fgocrackerino","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandream16%2Fgocrackerino/lists"}