{"id":13697729,"url":"https://github.com/techgaun/bash-backdoor","last_synced_at":"2025-04-12T11:52:19.749Z","repository":{"id":35101284,"uuid":"39274703","full_name":"techgaun/bash-backdoor","owner":"techgaun","description":"A simple backdoor in (ba)sh with encrypted communication channel","archived":false,"fork":false,"pushed_at":"2016-12-16T00:34:58.000Z","size":10,"stargazers_count":26,"open_issues_count":1,"forks_count":8,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-26T06:34:36.838Z","etag":null,"topics":["backdoor","bash","netcat"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"nexmo-community/deskmo","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techgaun.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":"2015-07-17T20:51:12.000Z","updated_at":"2023-11-15T21:37:01.000Z","dependencies_parsed_at":"2022-08-18T01:55:22.758Z","dependency_job_id":null,"html_url":"https://github.com/techgaun/bash-backdoor","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/techgaun%2Fbash-backdoor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fbash-backdoor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fbash-backdoor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fbash-backdoor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techgaun","download_url":"https://codeload.github.com/techgaun/bash-backdoor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565021,"owners_count":21125414,"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":["backdoor","bash","netcat"],"created_at":"2024-08-02T18:01:02.086Z","updated_at":"2025-04-12T11:52:19.725Z","avatar_url":"https://github.com/techgaun.png","language":"Shell","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# bash-backdoor\nA simple backdoor in (ba)sh\n\nIt is cross-compatible across POSIX shells. While I initially decided to write for bash, I decided to use /bin/sh later.\n\nThis little backdoor works well with traditional netcat with -e option but it can be ~~easily~~ ported to support openbsd variant by making use of file descriptors.\nMy attempt to add support for nc.openbsd has not been very successful. Currently, nc.traditional works very well. nc.openbsd package however has issue in sending output back to client. PRs welcome\n\n* The data over communication channel is totally encrypted with aes-256-cbc using openssl.\n* You can generate new key, salt and iv. Check [common.sh](common.sh#L22) for reference\n* You can pass several options as env-vars. Check [common.sh](common.sh#L15-L19) for reference\n\n### Usage\nRun daemon.sh\n\n`$ ./daemon.sh`\n\nRun client.sh\n\n`$ ./client.sh`\n\nYou can run command on the simple prompt in your client-side now.\n\n### Known Issues\n[#1](https://github.com/techgaun/bash-backdoor/issues/1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechgaun%2Fbash-backdoor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechgaun%2Fbash-backdoor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechgaun%2Fbash-backdoor/lists"}