{"id":13762806,"url":"https://github.com/hahwul/eoyc","last_synced_at":"2025-05-12T23:02:22.639Z","repository":{"id":159308687,"uuid":"613906919","full_name":"hahwul/eoyc","owner":"hahwul","description":"Encoding Only Your Choices","archived":false,"fork":false,"pushed_at":"2023-05-20T04:54:24.000Z","size":22,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T04:29:33.717Z","etag":null,"topics":["bugbounty-tool","cli-tool","encoders","security-tools","utility"],"latest_commit_sha":null,"homepage":"","language":"Crystal","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/hahwul.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-03-14T14:05:03.000Z","updated_at":"2023-12-29T10:27:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc888f4f-a9cf-4aab-9f6b-d9da0a3f04ec","html_url":"https://github.com/hahwul/eoyc","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Feoyc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Feoyc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Feoyc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hahwul%2Feoyc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hahwul","download_url":"https://codeload.github.com/hahwul/eoyc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253837406,"owners_count":21971982,"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":["bugbounty-tool","cli-tool","encoders","security-tools","utility"],"created_at":"2024-08-03T14:00:57.778Z","updated_at":"2025-05-12T23:02:22.573Z","avatar_url":"https://github.com/hahwul.png","language":"Crystal","funding_links":[],"categories":["Weapons"],"sub_categories":["Tools"],"readme":"# eoyc\nEncoding Only Your Choices\n\n## Installation\n```bash\nbrew tap hahwul/eoyc\nbrew install eoyc\n```\n\n## Usage\n```\nUsage: eoyc [arguments]\n    -a, --all                        Convert all string\n    -s STRING, --string=STRING       Your choice string\n    -r REGEX, --regex=REGEX          Your choice regex pattern\n    -e ENCODERS, --encoders=ENCODERS Encoders chain [char: \u003e|,]\n    -o PATH, --output=PATH           Output file\n    -v, --version                    Show version\n    -h, --help                       Show help\n```\n\nFirst, choose the range that you want to encode:\n\n- If you want to encode the entire line, use `-a`.\n- If you want to encode a specific string, use `-s`.\n- If you want to encode the part that matches a regular expression, use `-r`.\n\nSecond, choose the type of encoder you wish to run via `-e`. The encoder can consist of multiple chains.\n\n\u003e base64(base64-encode), base64-decode, md5, sha1, url(url-encode), url-decode, upcase, downcase, redacted\n\n```bash\n# Encoder chanins\n# You can use '\u003e' and '|' and ',' characters for chain.\n-e \"base64\"\n-e \"base64\u003emd5\"\n-e \"url|upcase|md5\"\n-e \"url\u003eupcase,md5\"\n```\n\n## Examples\n```bash\necho \"abcdefghijk\" | eoyc -s bcde -e \"md5\u003ebase64\u003esha1\"\n# aCFV4rFRO+h/0cCngUl1Ccahz040=fghijk\n```\n\n```bash\necho \"abcdefghijk\" | eoyc -a -e \"md5\u003ebase64\u003esha1\"\n# 9EG0tX9wWhKDghHJECSS8E+XZ3U=\n```\n\n```bash\ncat urls.txt | eoyc -a -e \"sha1\"\n# uGDZ7JWU88EM8kFoGzIldEUtQc8=\n# hLfkSqVNAC6sjQD1v6nMk0EPKkg=\n# cv6VxVduxjTiFIFKMqt4VWjtp2o=\n```\n\n```bash\ncat urls.txt | eoyc -a -e \"url\"   \n# https%3A%2F%2Fwww.hahwul.com\n# https%3A%2F%2Fgithub.com\n# https%3A%2F%2Fgoogle.com\n```\n\n## Build\n```bash\n# Clone github repo\ngit clone https://github.com/hahwul/eoyc\ncd eoyc\n\n# Build eoyc\nshards install\nshards build\n\n# Run\n./bin/eoyc -h\n```\n\n## Test\n```bash\ncrystal spec -v\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhahwul%2Feoyc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhahwul%2Feoyc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhahwul%2Feoyc/lists"}