{"id":17385001,"url":"https://github.com/one2blame/shellcodes","last_synced_at":"2025-06-25T19:38:05.741Z","repository":{"id":43561895,"uuid":"455717061","full_name":"one2blame/shellcodes","owner":"one2blame","description":"Custom shellcodes, free for use.","archived":false,"fork":false,"pushed_at":"2022-02-26T17:52:34.000Z","size":37,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T23:42:55.008Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Assembly","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/one2blame.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}},"created_at":"2022-02-04T22:38:46.000Z","updated_at":"2024-01-28T15:59:48.000Z","dependencies_parsed_at":"2022-08-20T03:11:28.720Z","dependency_job_id":null,"html_url":"https://github.com/one2blame/shellcodes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/one2blame%2Fshellcodes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/one2blame%2Fshellcodes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/one2blame%2Fshellcodes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/one2blame%2Fshellcodes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/one2blame","download_url":"https://codeload.github.com/one2blame/shellcodes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245924597,"owners_count":20694747,"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-10-16T07:47:15.369Z","updated_at":"2025-03-27T21:21:48.914Z","avatar_url":"https://github.com/one2blame.png","language":"Assembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shellcodes\nCustom shellcodes, free for use.\n\n## Purpose\n\nThe purpose of this repository is to store custom shellcodes that I can't seem\nto find via Google-searching, other open source projects, pwnlib shellcode\nauto-generation, etc.\n\nCurrently, this repository only contains shellcodes to execute a single command\non a remote target across multiple different architectures. There are plenty of\nmethods to write shellcode in C, however, conducting relative jumps to store\nstrings in registers seems easier to do in assembly.\n\n## Building shellcodes\n\nI provide a `build.sh` script in the root of this repository. Running it like\nso should provide you with an assembled shellcode for each supported\narchitecture:\n\n```bash\n./build.sh\n```\n\n## Using system shellcodes\n\nThe shellcodes provided are designed to execute the following command on Linux\ntargets:\n\n```bash\n/bin/sh -c \"\u003cyour command here\u003e\"\n```\n\nTo add your command to a shellcode, run the following command from the root of\nthis repo:\n\n```bash\necho -ne \"\u003cyour command here\u003e\" | cat src/\u003carch\u003e-system.bin - \u003e shellcode\n```\n\nThe file `shellcode` will now contain the system shellcode, appended with your\ncommand.\n\n## Testing shellcodes\n\nThe provided `build.sh` script also compiles the `loader.c` ELF for each\nsupported architecture. Given a target shellcode file, the `loader` ELF will\nread and execute your shellcode file for testing.\n\n## Contributing\n\nObtaining shellcode execution on a target to then execute a `system` command\nvia `/bin/sh` has been effective enough for me, historically, to execute\nfollow-on payloads by uploading them to the target via `wget` or `curl`. If you\nsee the need for more complex shellcodes, feel free to submit a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fone2blame%2Fshellcodes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fone2blame%2Fshellcodes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fone2blame%2Fshellcodes/lists"}