{"id":27736759,"url":"https://github.com/flyzone84/bruteforce","last_synced_at":"2025-04-28T14:30:14.927Z","repository":{"id":290308449,"uuid":"973992926","full_name":"Flyzone84/bruteforce","owner":"Flyzone84","description":"this script can perfome brute force attack for various login pages","archived":false,"fork":false,"pushed_at":"2025-04-28T05:26:31.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-28T06:26:42.790Z","etag":null,"topics":["brute-force","flyzone84","hacking","login","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Flyzone84.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-28T05:16:24.000Z","updated_at":"2025-04-28T05:27:43.000Z","dependencies_parsed_at":"2025-04-28T06:26:53.736Z","dependency_job_id":"a9c14862-7834-4fcf-89f3-028009537082","html_url":"https://github.com/Flyzone84/bruteforce","commit_stats":null,"previous_names":["flyzone84/bruteforce"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flyzone84%2Fbruteforce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flyzone84%2Fbruteforce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flyzone84%2Fbruteforce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flyzone84%2Fbruteforce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flyzone84","download_url":"https://codeload.github.com/Flyzone84/bruteforce/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251330053,"owners_count":21572223,"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","flyzone84","hacking","login","python"],"created_at":"2025-04-28T14:30:13.896Z","updated_at":"2025-04-28T14:30:14.873Z","avatar_url":"https://github.com/Flyzone84.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTTP Brute Force Login Script\n\nThis Python script performs a brute-force attack on a web login form by iterating through a list of passwords for a given username and target URL.\n\n## Features\n\n- Reads passwords from a file\n- Sends HTTP POST requests to the login endpoint\n- Detects success based on response text or status code\n- Customizable login form path and success condition\n\n## Requirements\n\n- Python 3.x\n- `requests` library\n\n## Installation\n\n1. Clone this repository:\n   ```bash\n   git clone https://github.com/Flyzone84/bruteforce.git\n   cd bruteforce\n   ```\n   Or directly:\n   ```bash\n   pip install requests\n   ```\n\n## Usage\n\n1. Run the script:\n   ```bash\n   python bruteforce.py\n     ```\n2. When prompted, enter:\n   - **Target IP Address** (e.g., `100.210.180.101`)\n   - **Port** (default `80`)\n   - **Login Path** (e.g., `/login`)\n   - **Username** (e.g., `admin`)\n   - **Path to Password File** (e.g., `passwords.txt`)\n\nThe script will try each password and print whether it succeeded or failed.\n\n## Customization\n\n- **Success condition**: By default, the script checks for the substring `\"Welcome\"` in the response or a `302` status code. You can modify this in the `brute_force_login` function:\n\n  ```python\n  if \"Welcome\" in response.text or response.status_code == 302:\n      # success logic\n  ```\n\n- **Timeout**: Adjust the `timeout` parameter in `requests.post()` if needed.\n\n## Example\n\n```bash\nEnter Target IP Address (e.g., 103.119.179.101): 192.168.1.10\nEnter Port (default 80 if unknown): 81\nEnter Login Path (e.g., /login): /doc/page/login.asp\nEnter Username (e.g., admin): admin\nEnter Path to Password File: /path/to/password_file.txt\n```\n\n## Disclaimer\n\nUse this script only on systems you own or have explicit permission to test. Unauthorized access to systems is illegal and unethical.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflyzone84%2Fbruteforce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflyzone84%2Fbruteforce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflyzone84%2Fbruteforce/lists"}