{"id":18259133,"url":"https://github.com/github30/shell2udp","last_synced_at":"2025-06-16T11:38:01.360Z","repository":{"id":57863788,"uuid":"528635320","full_name":"GitHub30/shell2udp","owner":"GitHub30","description":"Executing shell commands via UDP server","archived":false,"fork":false,"pushed_at":"2022-11-29T04:39:06.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T18:53:47.427Z","etag":null,"topics":["executor","os-command-injection","popen","python","shell","shell2http","shell2udp","subprocess","udp","webhook"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/shell2udp/","language":"Python","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/GitHub30.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-08-25T00:12:42.000Z","updated_at":"2024-05-21T02:21:55.000Z","dependencies_parsed_at":"2023-01-22T07:02:06.449Z","dependency_job_id":null,"html_url":"https://github.com/GitHub30/shell2udp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GitHub30/shell2udp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitHub30%2Fshell2udp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitHub30%2Fshell2udp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitHub30%2Fshell2udp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitHub30%2Fshell2udp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GitHub30","download_url":"https://codeload.github.com/GitHub30/shell2udp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GitHub30%2Fshell2udp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260151359,"owners_count":22966500,"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":["executor","os-command-injection","popen","python","shell","shell2http","shell2udp","subprocess","udp","webhook"],"created_at":"2024-11-05T10:36:34.987Z","updated_at":"2025-06-16T11:38:01.306Z","avatar_url":"https://github.com/GitHub30.png","language":"Python","readme":"[![Python](https://img.shields.io/pypi/pyversions/shell2udp.svg)](https://badge.fury.io/py/shell2udp)\n[![PyPI](https://badge.fury.io/py/shell2udp.svg)](https://badge.fury.io/py/shell2udp)\n\n# shell2udp\nUDP-server to execute shell commands. Designed for development, prototyping or remote control. Settings through two command line arguments, path and shell command. By default bind to :8080.\n\n# Usage\n\n```bash\nshell2udp [options] [\"shell command\" for /] /path \"shell command\" /path2 \"shell command2\" ...\noptions:\n    -p, --port NNNN : port for udp server ( default 8080 )\n```\n\n# Install\n\n```bash\npip install shell2udp\n```\n\n# Examples\n\n## Windows\n\n```powershell\nshell2udp 'shutdown -s -t 0'\n```\n\n```powershell\nshell2udp 'shutdown -s -t 0' /beep \"powershell -c echo `a\"\n```\n\n```powershell\nshell2udp --port 3306 /beep 'powershell -command [Console]::Beep(440,2000)'\n```\n\n### Dispatch\n\n```powershell\n[System.Net.Sockets.UdpClient]::New().Send(\"\", 0, \"localhost\", 8080)\n```\n\n```powershell\n[System.Net.Sockets.UdpClient]::New().Send([System.Text.Encoding]::UTF8.GetBytes(\"/beep\"), 5, \"localhost\", 8080)\n# [System.Text.Encoding]::UTF8.GetBytes(\"/beep\").Length\n```\n\n## Linux\n\n```bash\nshell2udp 'notify-send Hello root'\n```\n\n\n```bash\nshell2udp -p3000 'notify-send Hello root' /path 'canberra-gtk-play -i desktop-login'\n```\n\n```bash\nshell2udp -p3000 /path 'canberra-gtk-play -i desktop-login'\n```\n\n### Dispatch\n\n```bash\necho \u003e /dev/udp/localhost/8080\n```\n\n```bash\necho /path \u003e /dev/udp/localhost/8080\n```\n\n# Acknowledgements\n\nhttps://github.com/msoap/shell2http\n\nhttps://github.com/eshaan7/Flask-Shell2HTTP\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub30%2Fshell2udp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub30%2Fshell2udp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub30%2Fshell2udp/lists"}