{"id":27933110,"url":"https://github.com/pragati-i/loginsystem","last_synced_at":"2025-05-07T04:27:28.166Z","repository":{"id":291402891,"uuid":"977167647","full_name":"Pragati-i/LoginSystem","owner":"Pragati-i","description":"Java login system with brute-force protection and attempt logging.","archived":false,"fork":false,"pushed_at":"2025-05-04T12:04:13.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-04T12:34:55.497Z","etag":null,"topics":["brute-force-detection","java","login-system","security"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Pragati-i.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-05-03T15:21:52.000Z","updated_at":"2025-05-04T12:07:40.000Z","dependencies_parsed_at":"2025-05-04T12:45:01.630Z","dependency_job_id":null,"html_url":"https://github.com/Pragati-i/LoginSystem","commit_stats":null,"previous_names":["pragati-i/loginsystem"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pragati-i%2FLoginSystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pragati-i%2FLoginSystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pragati-i%2FLoginSystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pragati-i%2FLoginSystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pragati-i","download_url":"https://codeload.github.com/Pragati-i/LoginSystem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252812581,"owners_count":21808167,"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-detection","java","login-system","security"],"created_at":"2025-05-07T04:27:27.484Z","updated_at":"2025-05-07T04:27:28.141Z","avatar_url":"https://github.com/Pragati-i.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔐 Login System with Brute-Force Detection\n\nThis is a simple Java-based console application that implements a secure login system. It detects brute-force login attempts and locks the user account after three failed attempts. All login activities are logged with timestamps.\n\n---\n\n## ✅ Features\n\n- User authentication using username and password  \n- Brute-force detection and automatic account lock after 3 failed attempts  \n- Login attempt logging with timestamp (`login_attempts.log`)  \n- Clean and modular code (OOP-based)\n\n---\n\n## 🚀 How to Run\n\n### 🖥️ Using Java Compiler (Terminal / CMD)\n1. Navigate to the project directory:\n   ```bash\n   cd src\n   ```\n2. Compile the files:\n   ```bash\n   javac *.java\n   ```\n3. Run the application:\n   ```bash\n   java Main\n   ```\n\n---\n\n### 📦 Using JAR File\nIf you have the JAR file (e.g. `LoginSystem.jar`):\n\n```bash\njava -jar LoginSystem.jar\n```\n\n---\n\n## 📝 Log File\n\nAll login attempts are recorded in `login_attempts.log` with time, username, and result (SUCCESS/FAIL).\n\n---\n\n## 💡 Example Users\n\n| Username | Password |\n|----------|----------|\n| alice    | 1234     |\n| bob      | pass     |\n\n---\n\n## 👩‍💻 Created By\n\n**Pragati**  \nJava \u0026 DSA Based Project# LoginSystem\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpragati-i%2Floginsystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpragati-i%2Floginsystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpragati-i%2Floginsystem/lists"}