{"id":28728839,"url":"https://github.com/cx330blake/black-hat-zig","last_synced_at":"2025-10-12T05:09:45.318Z","repository":{"id":298075316,"uuid":"993761061","full_name":"CX330Blake/Black-Hat-Zig","owner":"CX330Blake","description":"This project provides some code examples of Zig for malwares, hacking, and red teaming. ⚡","archived":false,"fork":false,"pushed_at":"2025-10-01T11:13:30.000Z","size":57789,"stargazers_count":161,"open_issues_count":2,"forks_count":10,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-01T13:12:50.383Z","etag":null,"topics":["hacking","hacking-tool","malware","malware-research","offensive-security","red-teaming","security","zig"],"latest_commit_sha":null,"homepage":"https://black-hat-zig.cx330.tw","language":"Zig","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/CX330Blake.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-31T13:17:10.000Z","updated_at":"2025-10-01T11:12:59.000Z","dependencies_parsed_at":"2025-06-24T10:25:31.613Z","dependency_job_id":"3d1aa075-2659-4576-8293-514a6bf7b9dd","html_url":"https://github.com/CX330Blake/Black-Hat-Zig","commit_stats":null,"previous_names":["cx330blake/black-hat-zig"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CX330Blake/Black-Hat-Zig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CX330Blake%2FBlack-Hat-Zig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CX330Blake%2FBlack-Hat-Zig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CX330Blake%2FBlack-Hat-Zig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CX330Blake%2FBlack-Hat-Zig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CX330Blake","download_url":"https://codeload.github.com/CX330Blake/Black-Hat-Zig/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CX330Blake%2FBlack-Hat-Zig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010341,"owners_count":26084738,"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-10-12T02:00:06.719Z","response_time":53,"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":["hacking","hacking-tool","malware","malware-research","offensive-security","red-teaming","security","zig"],"created_at":"2025-06-15T15:38:48.087Z","updated_at":"2025-10-12T05:09:45.312Z","avatar_url":"https://github.com/CX330Blake.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"\r\n\u003cdiv align=\"right\"\u003e\r\n  \u003cdetails\u003e\r\n    \u003csummary \u003e🌐 Language\u003c/summary\u003e\r\n    \u003cdiv\u003e\r\n      \u003cdiv align=\"right\"\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=en\"\u003eEnglish\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=zh-CN\"\u003e简体中文\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=zh-TW\"\u003e繁體中文\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=ja\"\u003e日本語\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=ko\"\u003e한국어\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=hi\"\u003eहिन्दी\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=th\"\u003eไทย\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=fr\"\u003eFrançais\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=de\"\u003eDeutsch\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=es\"\u003eEspañol\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=it\"\u003eItapano\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=ru\"\u003eРусский\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=pt\"\u003ePortuguês\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=nl\"\u003eNederlands\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=pl\"\u003ePolski\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=ar\"\u003eالعربية\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=fa\"\u003eفارسی\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=tr\"\u003eTürkçe\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=vi\"\u003eTiếng Việt\u003c/a\u003e\u003c/p\u003e\r\n        \u003cp\u003e\u003ca href=\"https://openaitx.github.io/view.html?user=CX330Blake\u0026project=Black-Hat-Zig\u0026lang=id\"\u003eBahasa Indonesia\u003c/a\u003e\u003c/p\u003e\r\n      \u003c/div\u003e\r\n    \u003c/div\u003e\r\n  \u003c/details\u003e\r\n\u003c/div\u003e\n\n# Black-Hat-Zig\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"GitHub License\" src=\"https://img.shields.io/github/license/CX330Blake/black-hat-zig\"\u003e\n  \u003cimg alt=\"GitHub top language\" src=\"https://img.shields.io/github/languages/top/cx330blake/black-hat-zig\"\u003e\n  \u003cimg alt=\"GitHub repo size\" src=\"https://img.shields.io/github/repo-size/cx330blake/black-hat-zig\"\u003e\n  \u003cimg alt=\"X (formerly Twitter) Follow\" src=\"https://img.shields.io/twitter/follow/CX330Blake\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#intro\"\u003eIntro\u003c/a\u003e •\n  \u003ca href=\"#why-zig\"\u003eWhy Zig?\u003c/a\u003e •\n  \u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e •\n  \u003ca href=\"#contributors\"\u003eContributors\u003c/a\u003e •\n  \u003ca href=\"#credits--references\"\u003eCredits \u0026 References\u003c/a\u003e •\n  \u003ca href=\"#star-history\"\u003eStar History\u003c/a\u003e •\n  \u003ca href=\"#disclaimer\"\u003eDisclaimer\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp height=\"350px\" align=\"center\"\u003e\n  \u003cimg src=\"./Black-Hat-Zig.png\"\u003e\n  \u003cbr/\u003e\n  \u003cb\u003eHello hackers. Hello maldevs. Hello reversers. Nice to see you here to explore the dark power of Zig!\u003c/b\u003e\u003cbr/\u003e\u003cbr/\u003e\n  \u003cb\u003eMaintained and managed by \u003ca href=\"https://github.com/cx330blake\"\u003e@CX330Blake\u003c/a\u003e\u003c/b\u003e\n\u003c/p\u003e\n\n---\n\n## Intro\n\n\u003e [!IMPORTANT]\n\u003e This project is continuously updating!\n\nThis project provides many malware techniques implementation using Zig since I'm a huge fan of it. You can use this repo to weaponize Zig. Black-Hat-Zig is continuously updating to make sure it contains as more content as it could. It will be perfect if you want to create a PR for this project.\n\nOkay, let's hack the planet!\n\n## Why Zig?\n\n- 🤝 Easy to interact with C/C++ source\n- 🔎 It's newer, so it's harder to be detect\n- 💪 Strongly low level control, even lower than C\n- 😱 It's harder to RE because of the modern compiler\n- 🛡️ Minimal runtime dependencies - No massive standard library footprint\n- 🎯 No undefined behavior - Explicit handling of edge cases prevents crashes\n\n## Usage\n\n- [Quick Start](https://black-hat-zig.cx330.tw)\n\n## Contributors\n\nThis project is mainly maintained \u0026 managed by [@CX330Blake](https://github.com/CX330Blake). PRs are welcomed. Hope there's more people use Zig for malware developing so the ecosystem will be more mature.\n\nHuge thanks for these contributors!\n\n\u003ca href=\"https://github.com/CX330Blake/black-hat-zig/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=cx330blake/black-hat-zig\" /\u003e\n\u003c/a\u003e\n\n## Credits \u0026 References\n\n- [Maldev Academy](https://maldevacademy.com/)\n- [OffensiveNim](https://github.com/byt3bl33d3r/OffensiveNim)\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=CX330blake/black-hat-zig\u0026type=Date)](https://www.star-history.com/#CX330blake/black-hat-zig\u0026Date)\n\n## Disclaimer\n\nThis project is for ethical and educational purpose only. Don't be a cyber criminal.\n\n\u003c!-- GitAds-Verify: SYUFFUKR39H8T8MYYOIUKQ5AFB1O8AQ9 --\u003e\n\n## GitAds Sponsored\n\n\u003cp align=\"center\"\u003e\n  This project is \u003cstrong\u003esponsored by \u003ca href=\"https://docs.gitads.dev/docs/getting-started/publishers\"\u003eGitAds\u003c/a\u003e\u003c/strong\u003e.\u003cbr\u003e\n  You can get your GitHub repository sponsored too — \u003ca href=\"https://docs.gitads.dev/docs/getting-started/publishers\"\u003ecreate your account now\u003c/a\u003e.\n\u003c/p\u003e\n\n[![Sponsored by GitAds](https://gitads.dev/v1/ad-serve?source=cx330blake/black-hat-zig@github)](https://gitads.dev/v1/ad-track?source=cx330blake/black-hat-zig@github)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcx330blake%2Fblack-hat-zig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcx330blake%2Fblack-hat-zig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcx330blake%2Fblack-hat-zig/lists"}