{"id":31828383,"url":"https://github.com/ninja-yubaraj/lootbin","last_synced_at":"2025-10-11T19:29:54.581Z","repository":{"id":309230345,"uuid":"1031294162","full_name":"Ninja-Yubaraj/LootBin","owner":"Ninja-Yubaraj","description":"A tool to hunt, scan, and loot public pastes from Termbin for interesting keywords.","archived":false,"fork":false,"pushed_at":"2025-08-10T16:51:08.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-10T18:28:21.452Z","etag":null,"topics":["crawler","monitoring","osint","osint-python","osint-tool","pastebin","python","python3","scanner","scraper","termbin"],"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/Ninja-Yubaraj.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-08-03T12:45:17.000Z","updated_at":"2025-08-10T16:51:11.000Z","dependencies_parsed_at":"2025-08-10T18:28:24.288Z","dependency_job_id":"01891a05-56be-4ff2-8930-0652fba2589b","html_url":"https://github.com/Ninja-Yubaraj/LootBin","commit_stats":null,"previous_names":["ninja-yubaraj/lootbin"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Ninja-Yubaraj/LootBin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ninja-Yubaraj%2FLootBin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ninja-Yubaraj%2FLootBin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ninja-Yubaraj%2FLootBin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ninja-Yubaraj%2FLootBin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ninja-Yubaraj","download_url":"https://codeload.github.com/Ninja-Yubaraj/LootBin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ninja-Yubaraj%2FLootBin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279008424,"owners_count":26084460,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["crawler","monitoring","osint","osint-python","osint-tool","pastebin","python","python3","scanner","scraper","termbin"],"created_at":"2025-10-11T19:29:49.147Z","updated_at":"2025-10-11T19:29:54.573Z","avatar_url":"https://github.com/Ninja-Yubaraj.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🏴‍☠️ LootBin\n**LootBin** is a multi-threaded Python tool to hunt public pastes on [termbin.com](https://termbin.com), looking for interesting content based on keywords you provide. It automatically saves found links and matching pastes into organized folders — perfect for research, OSINT, or just exploring what's out there.\n\n## ✨ Features\n- Multi-threaded scanning\n- Custom keywords to search for\n- Saves matching links \u0026 full pastes\n- Command-line configurable (threads, delay, loot folder, etc.)\n- Clean logging to console and file\n- Only logs useful events (found, loot, errors)\n\n## ⚙️ Installation\n```bash\ngit clone https://github.com/Ninja-Yubaraj/LootBin.git\ncd LootBin\n```\n### 🐍 Using virtual environment (recommended):\n```bash\npython -m venv venv\nsource venv/bin/activate   # On Windows: venv\\Scripts\\activate\npip install -r requirements.txt\n```\n\n\u003e **Note:** If `requirements.txt` isn’t there, install manually:\n\n```bash\npip install requests\n```\n\n## 🚀 Usage\nDefault files \u0026 folders:\n- `keywords.txt` → keywords (one per line)\n- `loot/` → folder to save loot\n- `foundlinks.txt` → found 200 OK URLs\n- `scanner.log` → log file\n\n### ▶ Run with defaults\n\n```bash\npython LootBin.py\n```\n\n### ⚡ Run with custom options\n\n```bash\npython LootBin.py \\\n  --threads 20 \\\n  --delay 0.1 \\\n  --keywords mywords.txt \\\n  --loot myloot \\\n  --found links.txt \\\n  --log mylog.log\n```\n\n| Option       | Description                                | Default          |\n| ------------ | ------------------------------------------ | ---------------- |\n| `--threads`  | Number of worker threads                   | `10`             |\n| `--delay`    | Delay between starting new tasks (seconds) | `0.2`            |\n| `--keywords` | Path to keywords file                      | `keywords.txt`   |\n| `--loot`     | Folder to save loot                        | `loot`           |\n| `--found`    | File to save found 200 OK links            | `foundlinks.txt` |\n| `--log`      | Log file                                   | `scanner.log`    |\n\n\n## 📂 Output\n- **Loot folder:** text files named by random suffix, containing matching pastes\n- **foundlinks.txt:** list of termbin links returning 200 OK\n- **scanner.log:** clean logs of useful events\n\n## ☕ Contributing\nPull requests \u0026 suggestions welcome! Feel free to fork and add:\n\n- **Two-stage scan**: first match keyword list (cheap), then run regex/entropy checks on the matched line + a small context window (±3–6 lines). This will reduce noise drastically.\n- **Entropy filter**: compute Shannon entropy for candidate strings. Many real secrets are high-entropy; normal words are lower. TruffleHog-style tools combine regex + entropy.\n- **False-positive whitelist**: maintain an “exclude words” list for common false positives (e.g., example, localhost, test, example.com, sample API keys used in docs). Many tools allow exclude_regex or exclude_words.\n- regex support\n- Colored logs\n- JSON output\n- Live stats\n- Dockerfile\n\n## ✨ Author\nMade with ❤️ by [Ninja-Yubaraj](https://github.com/Ninja-Yubaraj)\n\n\u003e For educational \u0026 research purposes only. Use responsibly!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninja-yubaraj%2Flootbin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fninja-yubaraj%2Flootbin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninja-yubaraj%2Flootbin/lists"}