{"id":17977043,"url":"https://github.com/0xdea/shellcode","last_synced_at":"2025-03-25T15:31:28.033Z","repository":{"id":134566466,"uuid":"455810507","full_name":"0xdea/shellcode","owner":"0xdea","description":"A collection of my shellcode samples.","archived":false,"fork":false,"pushed_at":"2024-01-04T15:48:50.000Z","size":28,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-20T13:13:32.724Z","etag":null,"topics":["bsd","linux","mips","shellcode","solaris","sparc","x86"],"latest_commit_sha":null,"homepage":"https://0xdeadbeef.info","language":"C","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/0xdea.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":"2022-02-05T07:59:02.000Z","updated_at":"2025-03-02T07:21:52.000Z","dependencies_parsed_at":"2024-10-29T18:05:17.832Z","dependency_job_id":null,"html_url":"https://github.com/0xdea/shellcode","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/0xdea%2Fshellcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdea%2Fshellcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdea%2Fshellcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdea%2Fshellcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xdea","download_url":"https://codeload.github.com/0xdea/shellcode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245489764,"owners_count":20623789,"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":["bsd","linux","mips","shellcode","solaris","sparc","x86"],"created_at":"2024-10-29T17:26:07.774Z","updated_at":"2025-03-25T15:31:27.591Z","avatar_url":"https://github.com/0xdea.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shellcode\n[![](https://img.shields.io/github/stars/0xdea/shellcode.svg?style=flat\u0026color=yellow)](https://github.com/0xdea/shellcode)\n[![](https://img.shields.io/github/forks/0xdea/shellcode.svg?style=flat\u0026color=green)](https://github.com/0xdea/shellcode)\n[![](https://img.shields.io/github/watchers/0xdea/shellcode.svg?style=flat\u0026color=red)](https://github.com/0xdea/shellcode)\n[![](https://img.shields.io/badge/twitter-%400xdea-blue.svg)](https://twitter.com/0xdea)\n[![](https://img.shields.io/badge/mastodon-%40raptor-purple.svg)](https://infosec.exchange/@raptor)\n\n\u003e “A vulnerability provides an assembly language for a computer that has never been programmed before, and that was not designed with programmability in mind.” \n\u003e \n\u003e -- Halvar Flake\n\n## x86\n\n* [**setuid-linux.c**](https://github.com/0xdea/shellcode/blob/main/x86/setuid-linux.c). Old setuid/execve shellcode for Linux/x86 (30 bytes).\n* [**portbind-linux.c**](https://github.com/0xdea/shellcode/blob/main/x86/portbind-linux.c). Old setuid/portbind shellcode for Linux/x86 (96 bytes).\n* [**reusage-linux.c**](https://github.com/0xdea/shellcode/blob/main/x86/reusage-linux.c). Old execve shellcode for Linux/x86 that reuses \"/bin/sh\" in .rodata (16 bytes).\n* [**gets-linux.c**](https://github.com/0xdea/shellcode/blob/main/x86/gets-linux.c). Old stdin-reopen/execve shellcode for Linux/x86, useful against gets() buffer overflows.\n* [**raptorcode.c**](https://github.com/0xdea/shellcode/blob/main/x86/raptorcode.c). Old shellcode for Linux/x86 that writes a message to the current tty.\n* [**setuid-bsd.c**](https://github.com/0xdea/shellcode/blob/main/x86/setuid-bsd.c). Old setuid/execve shellcode for BSD/x86 (30 bytes).\n* [**portbind-bsd.c**](https://github.com/0xdea/shellcode/blob/main/x86/portbind-bsd.c). Old setuid/portbind shellcode for BSD/x86 (94 bytes).\n* [**leetcode.c**](https://github.com/0xdea/shellcode/blob/main/x86/leetcode.c). Old setuid/execve shellcode for BSD/x86, with an ASCII message buried in the code.\n\n## SPARC\n\n* [**sparc_solaris_exec.c**](https://github.com/0xdea/shellcode/blob/main/SPARC/sparc_solaris_exec.c). Solaris/SPARC setuid/execve shellcode (60 bytes).\n* [**sparc_solaris_chmod.c**](https://github.com/0xdea/shellcode/blob/main/SPARC/sparc_solaris_chmod.c). Solaris/SPARC setuid/chmod/exit shellcode (64 bytes).\n* [**sparc_solaris_chmod2.c**](https://github.com/0xdea/shellcode/blob/main/SPARC/sparc_solaris_chmod2.c). Very small Solaris/SPARC chmod shellcode (36 bytes).\n\n## MIPS\n\n* [**mips_n32_msb_linux_revsh.c**](https://github.com/0xdea/shellcode/blob/main/MIPS/mips_n32_msb_linux_revsh.c). Basic MIPS N32 MSB Linux reverse shellcode.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xdea%2Fshellcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xdea%2Fshellcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xdea%2Fshellcode/lists"}