{"id":16980249,"url":"https://github.com/htr-tech/vigenere-decoder","last_synced_at":"2025-08-20T20:20:50.362Z","repository":{"id":194612679,"uuid":"691210123","full_name":"htr-tech/Vigenere-Decoder","owner":"htr-tech","description":"Decode / Bruteforce Vigenere cipher text just using the Flag Format!!","archived":false,"fork":false,"pushed_at":"2024-11-23T17:02:46.000Z","size":18,"stargazers_count":30,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-15T01:11:34.274Z","etag":null,"topics":["caeser-cipher","capture-the-flag","cipher","ciphertext","crypto","ctf","ctf-challenges","ctf-tools","vigenere","vigenere-cipher","vigenere-decoder"],"latest_commit_sha":null,"homepage":"","language":"Python","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/htr-tech.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":"2023-09-13T18:01:43.000Z","updated_at":"2025-04-11T13:33:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"b31f06df-2fd1-4571-9a0f-ebe789ee5777","html_url":"https://github.com/htr-tech/Vigenere-Decoder","commit_stats":null,"previous_names":["htr-tech/vigenere-decoder"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htr-tech%2FVigenere-Decoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htr-tech%2FVigenere-Decoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htr-tech%2FVigenere-Decoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/htr-tech%2FVigenere-Decoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/htr-tech","download_url":"https://codeload.github.com/htr-tech/Vigenere-Decoder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248986314,"owners_count":21194025,"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":["caeser-cipher","capture-the-flag","cipher","ciphertext","crypto","ctf","ctf-challenges","ctf-tools","vigenere","vigenere-cipher","vigenere-decoder"],"created_at":"2024-10-14T01:50:31.743Z","updated_at":"2025-04-15T01:11:55.412Z","avatar_url":"https://github.com/htr-tech.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\n  \u003cb\u003eVigenère Cipher Decoder\u003c/b\u003e\n  \u003cbr/\u003e\n  Decode / Bruteforce Vigenere cipher text using the Flag Format!!\n  \u003cbr/\u003e\u003cbr/\u003e\n  \u003ca href=\"#\"\u003e\u003cimg width=\"750\" alt=\"Demo\" src=\"./example/example.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n#\n\n### ~$ `time`\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth\u003eScript \u0026 Source\u003c/th\u003e\n    \u003cth\u003eTime Taken\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eBrutes Each Char (example Dir)\u003c/a\u003e\u003c/td\u003e\n    \u003ctd\u003e60 Minutes\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eVigenère Cipher Decoder (This)\u003c/td\u003e\n    \u003ctd\u003e0.484 Seconds\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003e `vigenere.py -c \"RymJHS{XQ_MOWF_TTXU_DBHQBIZR?}\" -t \"CatCTF\"`\n\n#\n\n### ~$ `cat usage.txt`:\n\n- Simply **clone the repository**. Only python should be installed in your system.\n  ```bash\n  $ git clone https://github.com/htr-tech/Vigenere-Decoder\n  $ cd Vigenere-Decoder\n  $ python vigenere.py\n  ```\n  \u003e Ouput (Interactive Menu)\n  ```\n   _    _ _\n  | |  | (_)\n  | |  | |_  ____  ____ ____   ____  ____ ____\n   \\ \\/ /| |/ _  |/ _  )  _ \\ / _  )/ ___) _  )\n    \\  / | ( ( | ( (/ /| | | ( (/ /| |  ( (/ /\n     \\/  |_|\\_|| |\\____)_| |_|\\____)_|   \\____)\n           (_____|                @htr-tech\n\n  Input Cipher Text: RymJHS{XQ_MOWF_TTXU_DBHQBIZR?}\n  Known/Flag Format: CatCTF\n\n  Possible Key: python\n  Possible Flag: CatCTF{IS_THIS_EVEN_POSSIBLE?}\n  ```\n\n- You can also use **command line argument** to run this script.\n  ```bash\n  usage: vigenere.py [-h] [-c CIPHER] [-t TEXT]\n\n  options:\n    -h, --help            show this help message and exit\n    -c CIPHER, --cipher CIPHER\n                          cipher text\n    -t TEXT, --text TEXT  known text / flag format\n  ```\n\n#\n\n### ~ $ `cat faq.txt`\n\n- ### What is Vigenère Cipher:\n  Vigenère cipher is a polyalphabetic encryption algorithm. It is a method of encrypting alphabetic text using a series of different Caesar ciphers based on the letters of a keyword.\n\n  It is considered a stronger cipher than the Caesar cipher because it uses longer keys that allow the letters to be encrypted in multiple ways, making frequency analysis less effective.\n\n- ### What does this script do?\n  This script allows you to decrypt a Vigenere cipher by providing the known part of the plaintext or flag format. It uses a Decoder class to decode the ciphered text with a given key, and a BruteForcer class to attempt to find the decryption key by comparing the flag format with the decrypted text. More details are commented inside the script.\n\n- ### More to be added...\n\n\n#\n\n### ~$ `./social`:\n\u003cp align=\"left\"\u003e\u003cbr/\u003e\n  \u003ca href=\"https://tahmidrayat.is-a.dev\" target=\"_blank\"\u003e\u003cimg width=\"120\" src=\"https://img.shields.io/badge/Socials-grey?style=for-the-badge\u0026logo=linktree\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/htr-tech\" target=\"_blank\"\u003e\u003cimg width=\"116\"src=\"https://img.shields.io/badge/Github-blue?style=for-the-badge\u0026logo=github\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtr-tech%2Fvigenere-decoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhtr-tech%2Fvigenere-decoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtr-tech%2Fvigenere-decoder/lists"}