{"id":15984813,"url":"https://github.com/phra/and-sub-encoder","last_synced_at":"2025-09-05T02:09:48.774Z","repository":{"id":148083599,"uuid":"221810319","full_name":"phra/and-sub-encoder","owner":"phra","description":"x86 ASCII AND-SUB Encoder","archived":false,"fork":false,"pushed_at":"2019-11-19T00:24:08.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T20:47:20.131Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/phra.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-15T00:18:36.000Z","updated_at":"2019-11-19T00:24:10.000Z","dependencies_parsed_at":"2023-04-21T11:49:57.779Z","dependency_job_id":null,"html_url":"https://github.com/phra/and-sub-encoder","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":0.5,"last_synced_commit":"cb7c65f28727e77cb8fa8b5fb052769af52caa9d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phra/and-sub-encoder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phra%2Fand-sub-encoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phra%2Fand-sub-encoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phra%2Fand-sub-encoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phra%2Fand-sub-encoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phra","download_url":"https://codeload.github.com/phra/and-sub-encoder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phra%2Fand-sub-encoder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273699712,"owners_count":25152286,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2024-10-08T02:10:37.059Z","updated_at":"2025-09-05T02:09:48.718Z","avatar_url":"https://github.com/phra.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# and-sub-encoder\nx86 ASCII AND-SUB Encoder\n\n## Try it online\n\nhttps://iwantmore.pizza/posts/and-sub-encoder.html\n\n## Usage\n\n```\n$ ts-node index.ts\n\nand eax, 0x20202020\nand eax, 0x40404040 ; eax = 0x0\nsub eax, 0x24554420\nsub eax, 0x7e7e7e73\nsub eax, 0x7e7e7e7e ; eax = 0xdeadbeef\n\npayload length: 150\npush eax\npop ebx\nsub eax, 0x20202020\nsub eax, 0x61616120\nsub eax, 0x7e7e7e71 ; eax += 0x4f\npush eax\npop esp\nand eax, 0x20202020\nand eax, 0x40404040 ; eax = 0x0\nsub eax, 0x20202020\nsub eax, 0x20202051\nsub eax, 0x7d7d7d7e ; eax = 0x42424211\npush eax\nand eax, 0x20202020\nand eax, 0x40404040 ; eax = 0x0\nsub eax, 0x2020204c\nsub eax, 0x402e207e\nsub eax, 0x7d7e7a7e ; eax = 0x223344b8\npush eax\ndec ecx\ndec ecx\ndec ecx\ndec ecx\ndec ecx\ndec ecx\ndec ecx\ndec ecx\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphra%2Fand-sub-encoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphra%2Fand-sub-encoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphra%2Fand-sub-encoder/lists"}