{"id":19390592,"url":"https://github.com/mandiant/shelidate","last_synced_at":"2025-04-24T00:31:24.173Z","repository":{"id":251948915,"uuid":"832442197","full_name":"mandiant/shelidate","owner":"mandiant","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-06T06:25:47.000Z","size":18,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T22:51:10.964Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mandiant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2024-07-23T03:24:13.000Z","updated_at":"2025-03-01T10:13:01.000Z","dependencies_parsed_at":"2024-08-06T19:41:37.707Z","dependency_job_id":"89410775-0d7f-4241-9a8a-fe547b117d4e","html_url":"https://github.com/mandiant/shelidate","commit_stats":null,"previous_names":["mandiant/shelidate"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandiant%2Fshelidate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandiant%2Fshelidate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandiant%2Fshelidate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandiant%2Fshelidate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mandiant","download_url":"https://codeload.github.com/mandiant/shelidate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250539392,"owners_count":21447299,"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":[],"created_at":"2024-11-10T10:22:03.021Z","updated_at":"2025-04-24T00:31:20.535Z","avatar_url":"https://github.com/mandiant.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shelidate\n\nA shellcode integration testing harness. shelidate can be used standalone to confirm payload callbacks without standing up a full command and control framework or integrated into the testing process to ensure payloads execute properly.\n\n## Usage\n\n```\nUsage of shelidate.exe:\n  -address string\n        shellcode listener address (default \"127.0.0.1:1337\")\n  -command string\n        command to execute while listening, use {{.Shellcode}} to substitute the shellcode file\n  -timeout string\n        timeout duration (only used if commmand is specified) (default \"30s\")\n```\n\n### Examples\n\nGenerate shellcode that calls back to `127.0.0.1:1337` and listen indefinitely:\n\n```\nshelidate.exe\n```\n\nGenerate shellcode, run the command `shellcode_runner.exe C:\\Path\\To\\Shellcode`, and time out after 30 seconds\n\n```\nshelidate.exe -command 'shellcode_runner.exe {{.Shellcode}}'\n```\n\n## Setup\n\nshelidate expects Go 1.22 on Windows to build. shelidate can be build with\n\n```\ngo build -o shelidate ./cmd/...\n```\n\n### Building shellcode\n\n[MinGW-w64](https://www.mingw-w64.org/) must be installed and `gcc` and `objcopy` must be available on the path to rebuild the shellcode, `shelidate.bin`.\n\nThe initial executable can be built with:\n\n```\ngcc shellcode/main.c -o shelidate.exe --entry=entry -nostdlib -ffunction-sections -fno-asynchronous-unwind-tables -fno-ident '-Wl,--strip-all,--no-seh,-Tshellcode/main.S'\n```\n\nThe shellcode can be extracted with:\n\n```\nobjcopy -O binary --only-section=.text shelidate.exe shelidate.bin\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmandiant%2Fshelidate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmandiant%2Fshelidate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmandiant%2Fshelidate/lists"}