{"id":22140773,"url":"https://github.com/xorz57/bruteforcessh","last_synced_at":"2025-07-25T23:31:43.104Z","repository":{"id":244701414,"uuid":"816001814","full_name":"xorz57/BruteforceSSH","owner":"xorz57","description":"SSH Bruteforcer written in C++20","archived":false,"fork":false,"pushed_at":"2024-07-27T21:49:36.000Z","size":35,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-27T22:48:29.105Z","etag":null,"topics":["brute-force","brute-force-attacks","bruteforce","bruteforce-attacks","ssh","ssh-brute-force","ssh-bruteforce"],"latest_commit_sha":null,"homepage":"","language":"C++","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/xorz57.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"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},"funding":{"github":"xorz57"}},"created_at":"2024-06-16T19:30:41.000Z","updated_at":"2024-07-27T21:49:39.000Z","dependencies_parsed_at":"2024-06-16T20:56:50.798Z","dependency_job_id":"192ee98d-8170-4ea5-ba96-460849dc6720","html_url":"https://github.com/xorz57/BruteforceSSH","commit_stats":null,"previous_names":["xorz57/bruteforcessh"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xorz57%2FBruteforceSSH","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xorz57%2FBruteforceSSH/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xorz57%2FBruteforceSSH/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xorz57%2FBruteforceSSH/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xorz57","download_url":"https://codeload.github.com/xorz57/BruteforceSSH/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227629085,"owners_count":17796054,"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":["brute-force","brute-force-attacks","bruteforce","bruteforce-attacks","ssh","ssh-brute-force","ssh-bruteforce"],"created_at":"2024-12-01T21:07:30.561Z","updated_at":"2024-12-01T21:07:31.246Z","avatar_url":"https://github.com/xorz57.png","language":"C++","funding_links":["https://github.com/sponsors/xorz57"],"categories":[],"sub_categories":[],"readme":"# BruteforceSSH\n\n[![Build](https://github.com/xorz57/BruteforceSSH/actions/workflows/Build.yml/badge.svg)](https://github.com/xorz57/BruteforceSSH/actions/workflows/Build.yml)\n\n## Usage\n\n```console\nUsage: BruteforceSSH [options]\nOptions:\n  -f, --file \u003cfilename\u003e      File\n  -u, --user \u003cusername\u003e      User (optional)\n  -h, --host \u003chostname\u003e      Host (default: 127.0.0.1)\n  -p, --port \u003cport\u003e          Port (default: 22)\n  -t, --timeout \u003ctimeout\u003e    Timeout (seconds, default: 30)\n  --help                     Print help\n```\n\n## Examples\n\n```console\n./BruteforceSSH --file accounts.txt --host localhost --port 2222\nFailure: pi:root\nFailure: pi:toor\nFailure: pi:1234\nSuccess: pi:raspberry\n```\n\n```console\n./BruteforceSSH --file passwords.txt --host localhost --port 2222 --user pi\nFailure: pi:root\nFailure: pi:toor\nFailure: pi:1234\nSuccess: pi:raspberry\n```\n\n## Testing\n\nEnsure you have Docker and Docker Compose installed on your machine.\n\n1. Clone the repository:\n\n    ```sh\n    git clone https://github.com/xorz57/BruteforceSSH.git\n    cd BruteforceSSH\n    ```\n\n2. Start the OpenSSH server using Docker Compose:\n\n    ```sh\n    docker-compose up -d\n    ```\n\n3. The OpenSSH server will be available on port `2222` of your localhost.\n\n### Credentials\n\n- **Username**: `pi`\n- **Password**: `raspberry`\n\n## Dependencies\n\nBruteforceSSH relies on the following libraries:\n\n- [libssh](https://github.com/canonical/libssh)\n\n## How to Build\n\n#### Linux \u0026 macOS\n\n```bash\ngit clone https://github.com/microsoft/vcpkg.git ~/vcpkg\n~/vcpkg/bootstrap-vcpkg.sh\n\ngit clone https://github.com/xorz57/BruteforceSSH.git\ncd BruteforceSSH\ncmake -B build -DCMAKE_BUILD_TYPE=Release -S . -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake\ncmake --build build --config Release\nctest --build-config Release\n```\n\n#### Windows\n\n```powershell\ngit clone https://github.com/microsoft/vcpkg.git C:/vcpkg\nC:/vcpkg/bootstrap-vcpkg.bat\nC:/vcpkg/vcpkg.exe integrate install\n\ngit clone https://github.com/xorz57/BruteforceSSH.git\ncd BruteforceSSH\ncmake -B build -DCMAKE_BUILD_TYPE=Release -S . -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake\ncmake --build build --config Release\nctest --build-config Release\n```\n\n## Stargazers over time\n\n[![Stargazers over time](https://starchart.cc/xorz57/BruteforceSSH.svg?variant=adaptive)](https://starchart.cc/xorz57/BruteforceSSH)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxorz57%2Fbruteforcessh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxorz57%2Fbruteforcessh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxorz57%2Fbruteforcessh/lists"}