Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
flyswatter — Drop-in nginx trap that poisons the well for scanners, skids & AI crawlers with fake secrets. | Kitploit
Tools/GitLabGitLab/acidvegas/flyswatter
Defensive ToolsContainer SecurityWeb Proxies & InterceptionWeb SecurityCrawlerAnti-Bot
GitLabacidvegas/flyswatter

flyswatter

Drop-in nginx trap that poisons the well for scanners, skids & AI crawlers with fake secrets.

View Repository
12 days agoNot yet reviewed
Share

flyswatter

flyswatter

Skids, scanners, and AI crawlers are internet gnats. flyswatter is a drop-in nginx trap that catches them on every domain you host.

Two traps, both reply 200 OK (never a block code, so they can't tell they've been caught):

  1. Bot / scraper / AI-crawler user-agents get a dynamic mocking page instead of your site.
  2. Scanner paths (.env, .git/config, AWS creds, SSH keys, SQL dumps, ...) get believable, bogus, insulting, ever-changing fake secrets.

Everything is generated fresh per request — no two responses are the same.

Fake endpoints

Any request to these paths gets a plausible-but-bogus dynamic file. Fake keys embed FUCKYOU / madeulook, IPs come from DoD /8 ranges, hostnames and passwords are random:

PathFake content
/.env, /.env.*full dotenv: DB, Redis, Mongo, AWS, DO, Cloudflare, Stripe, GitHub, Slack, SendGrid, Twilio, JWT — plus a huge LLM/AI stack (OpenAI, Anthropic, Ollama, Groq, Mistral, Cohere, HuggingFace, Replicate, Together, Perplexity, OpenRouter, DeepSeek, Gemini, Azure OpenAI, LangChain/LangSmith, Pinecone, Weaviate, Qdrant, Chroma)
/.git/config, /.git/HEADgit config with an embedded creds URL
/.git-credentialsgithub / gitlab / bitbucket creds
/.aws/credentialsAWS ini (default / prod profiles)
/.ssh/id_rsa, /id_rsa, /id_ed25519fake OpenSSH private key
/wp-config.phpWordPress DB creds + auth salts
/config.jsonapp config with nested creds
/secrets.json, /credentials.jsonJSON secret bundle
/.vscode/sftp.jsonSFTP host / user / password
/docker-compose.ymlcompose file with env secrets
/.npmrcnpm registry auth tokens
/.pypircPyPI upload tokens
/.netrcmachine / login / password
/.htpasswd, /.htaccesshtpasswd hashes
/backup.sql, /dump.sql, /database.sql, /db.sqlSQL dump with fake users + password hashes

Bot user-agents

A dynamic mocking HTML page (with a hidden garbage payload to poison scrapes) and a pile of obnoxious headers: X-Fuck-Scrapers, X-Do-Not-Train: 1, X-Robots-Tag: noai, noimageai, X-Training-Data: poisoned, and more.

Extra nastiness (random)

  • 1 in 5 .env hits are log-bombed — the whole file repeated 5000× (~19 MB), gzipped so it's tiny for you and huge in their logs/parser.
  • 1 in 5 hits get an invalid UTF-16-LE tail that crashes naive UTF-8 decoders (the classic "my bot ate a weird-encoded message and died").
  • Fake IPs come only from DoD /8 ranges, so the "infra" looks exotic.

Why it's safe

  • The non-.env/.git paths are root-anchored (^/...), so files served inside git repos (gitea, gitweb, ...) are never shadowed.
  • If a real .env or .git sits in a webroot, flyswatter shadows it — scanners get the fake, never the real file.
  • If the trap container is down, those paths return 502 — nginx never falls through to the real file.

Install

Requires docker + nginx.

git clone https://github.com/YOU/flyswatter && cd flyswatter
sudo ./setup.sh

setup.sh builds and starts the trap container (localhost only) and installs the nginx map + snippet. Then add two lines to every server { } block you want protected:

if ($block_ua) { return 461; }     # bot/AI user-agents -> troll page
include snippets/flyswatter.conf;     # trap routing + fake-secret endpoints

Reload:

sudo nginx -t && sudo systemctl reload nginx

See nginx/EXAMPLE-site.conf for a full example server block.

Config

  • FLYSWATTER_PORT — host port for the trap container (default 8899).
  • FLYSWATTER_NGINX — set to 0 to only rebuild and restart the container, leaving the nginx config alone (default 1).

Tuning

  • Edit the user-agent list in nginx/conf.d/block-bots.conf.
  • To stop logging trapped traffic, append if=$loggable to your access_log directive.

Files

app.py                     the trap server (Flask)
Dockerfile                 builds the container
setup.sh                   build + run + install nginx config
nginx/conf.d/block-bots.conf   $block_ua + $loggable maps
nginx/snippets/flyswatter.conf    trap routing (drop-in include)
nginx/EXAMPLE-site.conf        example protected server block

Mirrors: SuperNETs • GitHub • GitLab • Codeberg
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    915
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    420
  • 4

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    419
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    372
  • 6

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    344

Explore all tools

Browse our collection of tools

View all tools →