{"id":26065647,"url":"https://github.com/yogsec/hacker-ai","last_synced_at":"2026-04-29T12:38:21.580Z","repository":{"id":280613497,"uuid":"942576483","full_name":"yogsec/Hacker-AI","owner":"yogsec","description":"This tool combines the power of Ollama (Mistral) with your terminal to turn natural language into real shell commands. Whether you want to scan websites with nmap or ping a server, just type what you want — HackerAI handles the rest. All locally, without any API costs!","archived":false,"fork":false,"pushed_at":"2025-03-04T10:29:57.000Z","size":205,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T11:31:55.869Z","etag":null,"topics":["bugbountytools","burpsuite","chatgpt","cyber-security","cybersec","cybersecurity","deep-learning","deepseek","forensics","hackerai","hackergpt","hackgpt","hacking-tools","infosec","machinelearning","mitre","openai","osint","wireshark"],"latest_commit_sha":null,"homepage":"https://linktr.ee/yogsec","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/yogsec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":"yogsec","thanks_dev":null,"custom":null}},"created_at":"2025-03-04T10:21:53.000Z","updated_at":"2025-03-04T11:15:10.000Z","dependencies_parsed_at":"2025-03-04T11:32:54.337Z","dependency_job_id":"98b91088-bd51-43e8-beeb-5217692c340e","html_url":"https://github.com/yogsec/Hacker-AI","commit_stats":null,"previous_names":["yogsec/hacker-ai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogsec%2FHacker-AI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogsec%2FHacker-AI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogsec%2FHacker-AI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogsec%2FHacker-AI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yogsec","download_url":"https://codeload.github.com/yogsec/Hacker-AI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242599010,"owners_count":20155885,"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":["bugbountytools","burpsuite","chatgpt","cyber-security","cybersec","cybersecurity","deep-learning","deepseek","forensics","hackerai","hackergpt","hackgpt","hacking-tools","infosec","machinelearning","mitre","openai","osint","wireshark"],"created_at":"2025-03-08T19:28:15.493Z","updated_at":"2025-12-06T12:00:52.327Z","avatar_url":"https://github.com/yogsec.png","language":"Python","funding_links":["https://buymeacoffee.com/yogsec"],"categories":[],"sub_categories":[],"readme":"# HackerAI - Your Local AI Security Assistant\n\nWelcome to **HackerAI**! This tool combines the power of **Ollama (Mistral)** with **your terminal** to turn natural language into real shell commands. Whether you want to **scan websites with nmap** or **ping a server**, just type what you want — HackerAI handles the rest. All locally, without any API costs!\n\n![https://github.com/yogsec/Hacker-AI/blob/main/Screenshot%20from%202025-03-04%2015-50-47.png?raw=true](https://github.com/yogsec/Hacker-AI/blob/main/Screenshot%20from%202025-03-04%2015-50-47.png?raw=true)\n\n\u003cbr\u003e\n\u003cdiv align=\"center\" style=\"margin: 30px 0;\"\u003e\n  \u003ca href=\"https://www.whatsapp.com/channel/0029Vb68FeRFnSzGNOZC3h3x\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?style=for-the-badge\u0026message=WhatsApp+Channel\u0026color=25D366\u0026logo=whatsapp\u0026logoColor=FFFFFF\u0026label=\" alt=\"WhatsApp Channel\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://t.me/HackerSecure\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?style=for-the-badge\u0026message=Telegram+Channel\u0026color=24A1DE\u0026logo=telegram\u0026logoColor=FFFFFF\u0026label=\" alt=\"Telegram Channel\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.linkedin.com/in/cybersecurity-pentester/\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?style=for-the-badge\u0026message=LinkedIn\u0026color=0A66C2\u0026logo=LinkedIn\u0026logoColor=FFFFFF\u0026label=\" alt=\"LinkedIn\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://linktr.ee/yogsec\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?style=for-the-badge\u0026message=LinkTree\u0026color=25D366\u0026logo=linktree\u0026logoColor=FFFFFF\u0026label=\" alt=\"LinkTree\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://x.com/home\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?style=for-the-badge\u0026message=X\u0026color=000000\u0026logo=x\u0026logoColor=FFFFFF\u0026label=\" alt=\"X\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"mailto:abhinavsingwal@gmail.com?subject=Hi%20YogSec%20,%20nice%20to%20meet%20you!\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?style=for-the-badge\u0026message=Gmail\u0026color=EA4335\u0026logo=Gmail\u0026logoColor=FFFFFF\u0026label=\" alt=\"Email\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://yogsec.github.io/yogsec/\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?style=for-the-badge\u0026message=Website\u0026color=FFFFC5\u0026logo=Firefox\u0026logoColor=000000\u0026label=\" alt=\"Website\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n---\n\n## Installation Guide\n\n### 1. Install Ollama\n\nOllama is the core engine that runs the AI model **Mistral** locally.\n\n Install Ollama from: [https://ollama.com/download](https://ollama.com/download)\n\nFor Linux:\n```bash\ncurl -fsSL https://ollama.com/install.sh | sh\n```\n\nFor Windows:\n Install via: [https://ollama.com/download](https://ollama.com/download)\n\n---\n\n### 2. Download the Mistral Model\n\nAfter installing Ollama, pull Mistral (recommended lightweight model):\n```bash\nollama pull mistral\n```\n\n---\n\n### 3. Clone or Download HackerAI\n\n```bash\ngit clone https://github.com/yogsec/Hacker-AI.git\ncd Hacker-AI\n```\n\nOr download `hackerai.py` manually if you want.\n\n---\n\n### 4. Install Python Requirements\n\nMake sure you have Python 3.8+ and install required libraries:\n```bash\npip install -r requirements.txt\n```\n\n**Create `requirements.txt`:**\n```\nrequests\n```\n\n---\n\n### 5. Run HackerAI\n\nStart **Ollama** (if not already running):\n```bash\nollama serve\n```\n\nThen run:\n```bash\npython3 hackerai.py\n```\n\n---\n\n## Usage\n\nJust type natural language commands like:\n```\nWhat do you want to do? (e.g., scan google.com with nmap): scan google.com with nmap\n```\n\nHackerAI will think and execute:\n```bash\nnmap google.com\n```\n\n### 📖 Other Examples\n\n| Input | Action |\n|---|---|\n| scan google.com with nikto | Runs `nikto -h google.com` |\n| ping example.com | Runs `ping -c 4 example.com` |\n| curl example.com | Runs `curl example.com` |\n\n---\n\n## Common Problems \u0026 Solutions\n\n| Problem | Cause | Solution |\n|---|---|---|\n| `Error communicating with Ollama` | Ollama is not running | Start Ollama with `ollama serve` |\n| `Model mistral not found` | Mistral not downloaded | Run `ollama pull mistral` |\n| `This request doesn't translate into a valid shell command` | Non-technical request (like \"who is the richest man\") | Only ask for commands related to hacking or sysadmin work. |\n| Syntax Error in Command | Mistral hallucinated something wrong | Rephrase the question or ask in simpler terms |\n\n---\n\n## Supported Commands (Examples)\n\nScan websites with `nmap`  \nScan vulnerabilities with `nikto`  \nPerform `ping` tests  \nFetch URLs with `curl`  \nExtendable to any command you want!\n\n---\n\n## Important Note\n\n\u003e HackerAI only supports **practical shell commands**. It **does not answer general knowledge questions** like \"who is the richest person\". It’s focused only on commands you can run in a terminal.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyogsec%2Fhacker-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyogsec%2Fhacker-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyogsec%2Fhacker-ai/lists"}