{"id":26795919,"url":"https://github.com/the-real-virus/pycaptcha","last_synced_at":"2026-04-13T22:03:39.633Z","repository":{"id":285026738,"uuid":"956847710","full_name":"The-Real-Virus/pyCAPTCHA","owner":"The-Real-Virus","description":"pyCAPTCHA: A Simple \u0026 Secure CAPTCHA Generator ! Generate and verify CAPTCHA images effortlessly with pyCAPTCHA – a lightweight, user-friendly, and interactive Python-based solution.","archived":false,"fork":false,"pushed_at":"2025-03-29T01:08:20.000Z","size":480,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T02:21:43.386Z","etag":null,"topics":["ai","automation","bash","captcha","captcha-generator","coding","ctf","cyber-security","ethical-hacking","github","linux","networking","open-source","pentesting","programming","python","redteam","scripting","software","tools"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/The-Real-Virus.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-29T01:05:23.000Z","updated_at":"2025-03-29T01:08:23.000Z","dependencies_parsed_at":"2025-03-29T02:21:44.449Z","dependency_job_id":"dc08bde8-2db6-497c-8d57-2e1b07a47d40","html_url":"https://github.com/The-Real-Virus/pyCAPTCHA","commit_stats":null,"previous_names":["the-real-virus/pycaptcha"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Real-Virus%2FpyCAPTCHA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Real-Virus%2FpyCAPTCHA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Real-Virus%2FpyCAPTCHA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/The-Real-Virus%2FpyCAPTCHA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/The-Real-Virus","download_url":"https://codeload.github.com/The-Real-Virus/pyCAPTCHA/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246223325,"owners_count":20743168,"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":["ai","automation","bash","captcha","captcha-generator","coding","ctf","cyber-security","ethical-hacking","github","linux","networking","open-source","pentesting","programming","python","redteam","scripting","software","tools"],"created_at":"2025-03-29T18:16:27.619Z","updated_at":"2026-04-13T22:03:39.604Z","avatar_url":"https://github.com/The-Real-Virus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 💀pyCAPTCHA💀\n\n## 📜 Description\npyCAPTCHA is a lightweight and interactive CAPTCHA generator built with Python. It provides an easy way to generate and verify CAPTCHA images, preventing automated bots from accessing protected areas of an application.\n\n## 🔑 Features\n- 🖼️ **Image-Based CAPTCHA**: Generates random 6-digit CAPTCHA images.\n- 🎨 **Custom Font Support**: Uses user-defined fonts for better customization.\n- 💡 **User-Friendly Interface**: Built with `tkinter` for a smooth experience.\n- ✅ **Cross-Platform Compatibility**: Works on Windows, macOS, and Linux.\n- 🔄 **Auto-Refresh on Incorrect Input**: Automatically generates a new CAPTCHA if verification fails.\n- ⚡ **Lightweight \u0026 Fast**: Minimal dependencies and efficient performance.\n\n## 🚀Step-by-Step Guide in Linux Terminal !\n\nStep 1: Update \u0026 upgrade your system  \n\u003esudo apt update  \n\n\u003esudo apt upgrade  \n\nStep 2: install Dependencies  \n\u003epip install captcha --break-system-packages  \n\n\u003esudo apt install python3-pillow  \n\nStep 3: Clone the repository  \n\u003egit clone https://github.com/The-Real-Virus/pyCAPTCHA.git  \n\nStep 4: Go to the Tool Directory where u clone it  \n\u003ecd pyCAPTCHA  \n\nStep 5: After Completing the process now u can run script  \n\u003epython3 pycaptcha.py  \n\n\n## 💡 Tips !\n- Make sure you have the required fonts (`ChelseaMarketsr.ttf` \u0026 `DejaVuSanssr.ttf`) in the script directory.\n- If fonts are missing, replace them with system fonts.\n- If you're running this on a different OS, update the font paths accordingly.\n\n## 🤝 Follow the Prompts !\n1. **Install Dependencies:**\n   ```bash\n   follow step 2\n   ```\n2. **Run the script:**\n   ```bash\n   python3 pycaptcha.py\n   ```\n3. **Enter the CAPTCHA displayed in the image.**\n4. **Click \"Submit\" to verify or \"Refresh\" to generate a new one.**\n\n## ⚙️ Troubleshooting\n### ❌ `ModuleNotFoundError: No module named 'captcha'`\n✅ **Solution:** Install the `captcha` module:\n```bash\nfollow step 2\n```\n\n### ❌ `OSError: cannot open resource`\n✅ **Solution:**\n- Ensure font files are in the correct location.\n- Use absolute paths in the script.\n- Try using a system font instead.\n\n### ❌ `ValueError: invalid literal for int() with base 10`\n✅ **Solution:** Enter only numeric values in the input field.\n\n## 🛠️MODIFICATION \n\nIF U WANT TO MODIFY OR USE THE SCRIPT IN UR PROJECTs , CONSIDER GIVING CREDITS !  \n\n## 📂 Example Output\n\t```\n\t[INFO] Generating CAPTCHA: 728349\n\t[INFO] CAPTCHA saved as captcha.png\n\t[INFO] User entered: 728349\n\t[SUCCESS] CAPTCHA Verified!\n\t```\n# ⚠️Disclaimer !\nThis tool is intended for ethical and educational use only.  \nDo not use it for illegal activities. The author is not responsible for any misuse.  \nThis script is intended for educational purposes and authorized testing only.  \nUnauthorized use of this script is illegal and unethical.  \nEnsure you have explicit permission before testing any system.  \n- Obtain explicit permission before testing any system.  \n- Adhere to all applicable laws and regulations.  \n- Respect user privacy and data.  \n- By using this script, you agree to take full responsibility for your actions.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-real-virus%2Fpycaptcha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-real-virus%2Fpycaptcha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-real-virus%2Fpycaptcha/lists"}