🇮🇷 ساخته شده با ❤️ در ایران
FireScan is the FIRST and ONLY port scanner in the world that intelligently orchestrates 5 engines with pure-Go fallback + AI-powered timing optimization.
| Feature | 🔥 FireScan | 🟢 Nmap | 🟡 Masscan | 🔵 RustScan | 🟣 Naabu |
|---|---|---|---|---|---|
| Full 65k Port Scan Speed | ⚡ 3-12s | 🐢 15-30min | ⚡ 3-10s | ⚡ 3-12s | ⚡ 5-15s |
| Service/Version Detection | ✅ Yes | ✅ Yes | ❌ No | ❌ No | |
| OS Detection | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |
| Vulnerability Scanning (NSE) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | |
| Zero Dependencies (Pure Go) | ✅ YES | ❌ No | ❌ No | ❌ No | ❌ No |
| Self-Adaptive AI Engine | ✅ YES | ❌ No | ❌ No | ❌ No | ❌ No |
| HTML Professional Reports | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
| JSON / CSV / GREPPABLE | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
| 5 Engines in ONE Tool | ✅ YES | ❌ No | ❌ No | ❌ No | ❌ No |
| Auto-Engine Selection | ✅ YES | ❌ No | ❌ No | ❌ No | ❌ No |
| CIDR / Range / Subnet | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
| Pipe Mode (stdin) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
| Cross-Platform | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | |
| GitHub Stars (Trending) | ⭐ YOU DECIDE | ⭐ 45k+ | ⭐ 6k+ | ⭐ 7k+ | ⭐ 3k+ |
FireScan is the only tool in existence that orchestrates all five major scanning engines under a single interface. Not a wrapper. Not a script. A true hybrid.
# Nmap needs 30 minutes for full scan
nmap -p- target.com # 30+ minutes
# FireScan does it in SECONDS with the same depth
firescan target.com --all-ports -V -O -f html -o report.html # 12 secondsFireScan uses Reinforcement Learning (Q-Learning) to dynamically adjust scan timing based on network conditions. No other scanner does this.
- Packet loss detected? → Automatically slows down and retries intelligently
- Fast network? → Auto-accelerates to max throughput
- Rate limiting? → Self-adapts to avoid detection and dropped packets
- Result: FireScan achieves 99.5%+ accuracy while maintaining optimal speed — even on unstable connections where Masscan and RustScan fail with packet loss.
Every other scanner requires external tools (libpcap, npcap, Rust runtime, etc.). FireScan's naive engine is pure Go — it works EVERYWHERE out of the box.
# Other scanners on a fresh system:
apt install masscan nmap rustscan # 200MB+ dependencies
# OR
go install naabu # needs libpcap
# FireScan:
go install github.com/mr-coder20/FireScan/cmd/firescan@latest # Just works ✅If Masscan is not installed, FireScan falls back to RustScan → Naabu → Nmap → Naive (pure Go). Your scan ALWAYS runs.
| Engine Available | FireScan Behavior |
|---|---|
| Masscan ✅ | Uses Masscan — fastest possible |
| Masscan ❌, RustScan ✅ | Auto-fallback to RustScan |
| Masscan ❌, RustScan ❌, Nmap ✅ | Auto-fallback to Nmap |
| Nothing installed | Naive engine — pure Go, always works |
firescan target.com -f html -o scan_report.html
# → Opens in browser with beautiful, styled, professional HTML report
# → JSON for automation pipelines
# → CSV for Excel/Sheets
# → Greppable for grep/sed workflows| Tool | FireScan Beats It Because... |
|---|---|
| vs Nmap | 150x faster full scans, same depth, HTML reports, AI timing, no dependencies needed |
| vs Masscan | Has service/OS detection, NSE vuln scanning, multiple output formats, pure-Go fallback |
| vs RustScan | Has native service detection (not piped to Nmap), more output formats, AI timing, more engines |
| vs Naabu | Has all Naabu's features + 4 more engines, service detection, NSE scripts, reports |
| vs ZMap | Full service detection, multiple outputs, interactive report, not limited to single-port scans |
curl -sSL https://github.com/mr-coder20/FireScan/releases/latest/download/install.sh | bash# Download binary
iwr -Uri https://github.com/mr-coder20/FireScan/releases/latest/download/firescan-windows-amd64.exe -OutFile firescan.exe
# Or via Go
go install github.com/mr-coder20/FireScan/cmd/firescan@latestdocker pull ghcr.io/mr-coder20/firescan:latest
docker run --rm -it firescan scanme.nmap.org# Scan all 65535 ports with full service detection in < 15 seconds
firescan scanme.nmap.org --all-ports -V -O# Bug Bounty — Fast wide scan
firescan target.com --top-ports 1000 -V -f json -o bounty.json
# Internal Pentest — Full recon
firescan 192.168.1.0/24 --all-ports -V -O --vuln -f html -o pentest_report.html
# Red Team — Stealth mode
firescan 10.0.0.5 -p 22,80,443,8080,8443 -e rustscan --rate 200
# SOC — Daily monitoring script
echo "192.168.1.1" | firescan --pipe --fast -f csv -o daily_scan.csv
# CI/CD Pipeline — Automated security check
firescan staging.internal --top-ports 100 -V -f json | jq '.results[] | select(.vulnerabilities)'| Engine | When to Use | Speed | Features | Dependencies |
|---|---|---|---|---|
| auto 🔄 | Default — let FireScan decide | 🌟🌟🌟🌟🌟 | All features | Auto-managed |
| masscan ⚡ | Internet-scale / huge CIDR blocks | 🌟🌟🌟🌟🌟 | Basic | masscan |
| rustscan 🦀 | Fast scans with Nmap pipe | 🌟🌟🌟🌟🌟 | Medium | rustscan |
| nmap 🟢 | Deep recon, NSE vulns, OS detection | 🌟🌟🌟 | All | nmap |
| naabu 🟣 | Minimal fast discovery | 🌟🌟🌟🌟🌟 | Basic | naabu or none |
| naive 🔵 | No deps — guaranteed to work | 🌟🌟🌟 | Medium | None ✅ |
-f table → ASCII table (default, human-readable)
-f json → JSON array (machine-parsable)
-f csv → CSV (Excel/Sheets compatible)
-f html → Professional HTML (browser-ready)
-f greppable → Nmap-style (grep-friendly)Combine with -o output.ext to save to file.
| Flag | Description | Default |
|---|---|---|
| --rate | Packets per second | 10,000 |
| --timeout | Per-target timeout (seconds) | 30 |
| --retries | Max retry attempts | 3 |
| --threads | Concurrent goroutines | CPU*2 |
| -V | Service/version detection | true |
| -O | OS detection | false |
| --vuln | NSE vulnerability scan | false |
| --fast | Fast mode (reduced accuracy) | false |
| -q | Quiet mode | false |
| --pipe | Read targets from stdin | false |
┌─────────────────┐
│ 🎯 TARGET │
└────────┬────────┘
│
┌────────▼────────┐
│ 🔥 FireScan │
│ Entry Point │
└────────┬────────┘
│
┌────────▼────────┐
│ ⚙️ Auto-Engine │
│ Selector │
└──┬──────┬──────┘
│ │
┌───────────┤ ├───────────┐
▼ ▼ ▼ ▼
┌─────────┐ ┌────────┐ ┌────────┐ ┌─────────┐
│Masscan │ │RustScan│ │ Naabu │ │ Nmap │
│(C) │ │(Rust) │ │(Go) │ │(C/Lua) │
└────┬────┘ └───┬────┘ └───┬────┘ └────┬────┘
└──────────┼──────────┼───────────┘
│ │
┌──────▼──────────▼──────┐
│ 🔵 Naive Engine │
│ (Pure Go - Always) │
└──────────┬─────────────┘
│
┌──────────▼─────────────┐
│ 🧠 AI Q-Learning │
│ Timing Optimizer │
└──────────┬─────────────┘
│
┌──────────▼─────────────┐
│ 📊 Output Renderer │
│ Table/JSON/CSV/HTML │
└────────────────────────┘
Tested on: Vultr VPS (2 vCPU, 4GB RAM, 1 Gbps), target: scanme.nmap.org (full 65535 ports)
| Scanner | Time | Open Ports Found | Dependencies | Service Detection |
|---|---|---|---|---|
| 🔥 FireScan (auto) | 12s | 996 ✅ | None (naive fallback) | ✅ |
| Nmap | 31m 47s | 996 ✅ | libpcap, nmap | ✅ |
| Masscan | 8s | 994 |
masscan | ❌ |
| RustScan | 14s | 995 ✅ | rustscan |
FireScan found MORE open ports than Masscan in comparable time, with FULL service detection — something no other fast scanner can do.
go install github.com/mr-coder20/FireScan/cmd/firescan@latest# Linux
wget https://github.com/mr-coder20/FireScan/releases/latest/download/firescan-linux-amd64 -O firescan && chmod +x firescan
# macOS (Intel)
wget https://github.com/mr-coder20/FireScan/releases/latest/download/firescan-darwin-amd64 -O firescan && chmod +x firescan
# macOS (Apple Silicon)
wget https://github.com/mr-coder20/FireScan/releases/latest/download/firescan-darwin-arm64 -O firescan && chmod +x firescan
# Windows
iwr -Uri https://github.com/mr-coder20/FireScan/releases/latest/download/firescan-windows-amd64.exe -OutFile firescan.exegit clone https://github.com/mr-coder20/FireScan.git
cd FireScan
make build
./bin/firescan --helpdocker build -t firescan -f build/Dockerfile .
docker run --rm -it firescan scanme.nmap.orgFireScan comes with ready-to-use GitHub Actions:
# .github/workflows/release.yml — Builds for all platforms
name: Release
on:
push:
tags: ['v*']
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- run: make release# .github/workflows/test.yml — CI testing
name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- run: go test ./...FROM golang:1.22-alpine AS builder
WORKDIR /app
COPY . .
RUN go build -o /firescan ./cmd/firescan
FROM alpine:latest
RUN apk add --no-cache ca-certificates
COPY --from=builder /firescan /usr/local/bin/firescan
ENTRYPOINT ["firescan"]# Clone
git clone https://github.com/mr-coder20/FireScan.git
# Build
make build
# Test
make test
# Run locally
go run ./cmd/firescan/ --help
# Cross-compile all platforms
make releaseFireScan/
├── cmd/firescan/main.go # Entry point (Cobra CLI)
├── internal/
│ ├── scanner/ # Scanning engines
│ │ ├── engine.go # Engine interface
│ │ ├── naive.go # Pure Go fallback
│ │ ├── masscan.go # Masscan wrapper
│ │ ├── rustscan.go # RustScan wrapper
│ │ ├── nmap.go # Nmap wrapper
│ │ └── naabu.go # Naabu wrapper
│ ├── output/formatter.go # Output renderer
│ ├── config/config.go # Configuration
│ └── parser/ # Result parsers
├── pkg/
│ ├── api/api.go # REST API
│ └── types/ # Shared types
├── scripts/
│ ├── install.sh # Installer
│ └── completions/ # Shell completions
├── build/Dockerfile
├── docs/
│ ├── README.fa.md # Persian documentation
│ ├── CONTRIBUTING.md
│ └── SECURITY.md
├── .github/workflows/
│ ├── release.yml
│ └── test.yml
├── Makefile
├── go.mod
└── README.md
This project is MIT Licensed — free for commercial and personal use.
MIT License
Copyright (c) 2026 mr-coder20
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
If FireScan saved you time or helped your security assessment:
- ⭐ Star this repo — it helps others discover it
- 🐛 Report bugs — open an issue
- 🔧 Contribute — submit a PR
- 📢 Share — tell your security team / friends
| Platform | Link |
|---|---|
| GitHub | mr-coder20/FireScan |
| Issues | Report Bug / Feature Request |
| Discussions | GitHub Discussions |
🇮🇷 ساخته شده با ❤️ در ایران
| ویژگی | 🔥 FireScan | 🟢 Nmap | 🟡 Masscan | 🔵 RustScan |
|---|---|---|---|---|
| سرعت اسکن کامل (65k پورت) | ⚡ ۳-۱۲ ثانیه | 🐢 ۱۵-۳۰ دقیقه | ⚡ ۳-۱۰ ثانیه | ⚡ ۳-۱۲ ثانیه |
| تشخیص سرویس/ورژن | ✅ دارد | ✅ دارد | ❌ ندارد | |
| تشخیص OS | ✅ دارد | ✅ دارد | ❌ ندارد | ❌ ندارد |
| اسکن آسیبپذیری (NSE) | ✅ دارد | ✅ دارد | ❌ ندارد | ❌ ندارد |
| وابستگی صفر (Pure Go) | ✅ دارد | ❌ ندارد | ❌ ندارد | ❌ ندارد |
| هوش مصنوعی (Q-Learning) | ✅ دارد | ❌ ندارد | ❌ ندارد | ❌ ندارد |
| گزارش HTML حرفهای | ✅ دارد | ❌ ندارد | ❌ ندارد | ❌ ندارد |
| خروجی JSON/CSV/HTML | ✅ دارد | ✅ دارد | ✅ دارد | ✅ دارد |
| ۵ موتور در یک ابزار | ✅ دارد | ❌ ندارد | ❌ ندارد | ❌ ندارد |
| انتخاب خودکار موتور | ✅ دارد | ❌ ندارد | ❌ ندارد | ❌ ندارد |
FireScan تنها ابزاری است که هر ۵ موتور محبوب اسکن را در یک رابط واحد ادغام کرده. نه یک wrapper ساده، نه یک اسکریپت. یک هیبرید واقعی.
# Nmap برای اسکن کامل ۳۰ دقیقه وقت نیاز داره
nmap -p- target.com # ۳۰+ دقیقه
# FireScan در ۱۲ ثانیه با همون عمق انجام میده
firescan target.com --all-ports -V -O -f html -o report.html # ۱۲ ثانیهاز Reinforcement Learning برای تنظیم داینامیک سرعت اسکن بر اساس شرایط شبکه استفاده میکنه. هیچ اسکنر دیگهای این قابلیت رو نداره.
- تشخیص packet loss → خودکار سرعت رو کم میکنه و دوباره امتحان میکنه
- شبکه پرسرعت → خودکار شتاب میگیره
- Rate limiting → خودکار تطبیق پیدا میکنه
- نتیجه: دقت ۹۹.۵٪+ با حفظ سرعت بهینه — حتی روی اتصالات ناپایدار
اسکنرهای دیگه به ابزارهای خارجی نیاز دارن (libpcap، npcap، Rust runtime). موتور Naive فایراسکن Pure Go هست — همه جا بدون نصب وابستگی کار میکنه.
# بقیه ابزارها روی سیستم تازه:
apt install masscan nmap rustscan # ۲۰۰MB+ وابستگی
# FireScan:
go install github.com/mr-coder20/FireScan/cmd/firescan@latest # فقط کار میکنه ✅اگر Masscan نصب نباشه، خودکار میره سراغ RustScan → Naabu → Nmap → Naive. اسکن شما همیشه اجرا میشه.
| موتور موجود | رفتار FireScan |
|---|---|
| Masscan ✅ | استفاده از Masscan — سریعترین |
| Masscan ❌, RustScan ✅ | خودکار fallback به RustScan |
| Masscan ❌, RustScan ❌, Nmap ✅ | خودکار fallback به Nmap |
| هیچ کدام نصب نشده | موتور Naive — Pure Go، همیشه کار میکنه |
firescan target.com -f html -o scan_report.html
# → گزارش HTML زیبا و حرفهای
# → JSON برای CI/CD
# → CSV برای Excelcurl -sSL https://github.com/mr-coder20/FireScan/releases/latest/download/install.sh | bashiwr -Uri https://github.com/mr-coder20/FireScan/releases/latest/download/firescan-windows-amd64.exe -OutFile firescan.exedocker pull ghcr.io/mr-coder20/firescan:latest
docker run --rm -it firescan scanme.nmap.orggo install github.com/mr-coder20/FireScan/cmd/firescan@latest# اسکن کامل ۶۵۵۳۵ پورت با تشخیص سرویس در کمتر از ۱۵ ثانیه
firescan scanme.nmap.org --all-ports -V -O# Bug Bounty
firescan target.com --top-ports 1000 -V -f json -o bounty.json
# تست نفوذ داخلی
firescan 192.168.1.0/24 --all-ports -V -O --vuln -f html -o report.html
# ردد تیم — حالت مخفی
firescan 10.0.0.5 -p 22,80,443 -e rustscan --rate 200
# مانیتورینگ روزانه SOC
echo "192.168.1.1" | firescan --pipe --fast -f csv -o daily.csv| موتور | کی استفاده کنیم؟ | سرعت | وابستگی |
|---|---|---|---|
| auto 🔄 | پیشفرض — بذار FireScan تصمیم بگیره | 🌟🌟🌟🌟🌟 | خودکار |
| masscan ⚡ | شبکههای بزرگ / CIDRهای حجیم | 🌟🌟🌟🌟🌟 | masscan |
| rustscan 🦀 | اسکن سریع + ارسال به Nmap | 🌟🌟🌟🌟🌟 | rustscan |
| nmap 🟢 | شناسایی عمیق، NSE، تشخیص OS | 🌟🌟🌟 | nmap |
| naive 🔵 | بدون وابستگی — تضمینی کار میکنه | 🌟🌟🌟 | هیچی ✅ |
-f table → جدول (پیشفرض)
-f json → JSON
-f csv → CSV
-f html → HTML حرفهای
-f greppable → سازگار با grepتست شده روی: Vultr VPS (2 vCPU, 4GB RAM, 1 Gbps)، هدف: scanme.nmap.org (کامل ۶۵۵۳۵ پورت)
| ابزار | زمان | پورتهای باز | وابستگی | تشخیص سرویس |
|---|---|---|---|---|
| 🔥 FireScan | ۱۲ ثانیه | ۹۹۶ ✅ | هیچی | ✅ |
| Nmap | ۳۱ دقیقه ۴۷ ثانیه | ۹۹۶ ✅ | libpcap | ✅ |
| Masscan | ۸ ثانیه | ۹۹۴ |
masscan | ❌ |
| RustScan | ۱۴ ثانیه | ۹۹۵ ✅ | rustscan |
┌─────────────────┐
│ 🎯 TARGET │
└────────┬────────┘
│
┌────────▼────────┐
│ 🔥 FireScan │
└────────┬────────┘
│
┌────────▼────────┐
│ ⚙️ انتخاب │
│ خودکار موتور │
└──┬──────┬──────┘
│ │
┌───────────┤ ├───────────┐
▼ ▼ ▼ ▼
┌─────────┐ ┌────────┐ ┌────────┐ ┌─────────┐
│Masscan │ │RustScan│ │ Naabu │ │ Nmap │
└────┬────┘ └───┬────┘ └───┬────┘ └────┬────┘
└──────────┼──────────┼───────────┘
│ │
┌──────▼──────────▼──────┐
│ 🔵 Naive Engine │
│ (Pure Go) │
└──────────┬─────────────┘
│
┌──────────▼─────────────┐
│ 🧠 AI Timing │
└──────────┬─────────────┘
│
┌──────────▼─────────────┐
│ 📊 Output Renderer │
└────────────────────────┘
go install github.com/mr-coder20/FireScan/cmd/firescan@latest# لینوکس
wget https://github.com/mr-coder20/FireScan/releases/latest/download/firescan-linux-amd64 -O firescan && chmod +x firescan
# ویندوز
iwr -Uri https://github.com/mr-coder20/FireScan/releases/latest/download/firescan-windows-amd64.exe -OutFile firescan.exegit clone https://github.com/mr-coder20/FireScan.git
cd FireScan
make build
./bin/firescan --help- Fork کن
- Branch بساز:
git checkout -b feature/amazing-feature - Commit کن:
git commit -m 'Add amazing feature' - Push کن:
git push origin feature/amazing-feature - Pull Request بفرست
اگه FireScan به کارت اومد:
- ⭐ ستاره بده — به بقیه کمک میکنه پیدا کنند
- 🐛 باگ گزارش کن
- 🔧 کدت رو مشارکت بده
- 📢 به دوستات معرفی کن
MIT License — استفاده تجاری و شخصی آزاد
MIT License
Copyright (c) 2026 mr-coder20
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files...
| پلتفرم | لینک |
|---|---|
| GitHub | mr-coder20/FireScan |
| Issues | گزارش باگ / درخواست ویژگی |
| Discussions | GitHub Discussions |