Scan everything.
At full speed.
bgscan is a blazing-fast, multi-protocol network scanner built in Go — with a modular chain engine and an interactive terminal UI.
If bgscan has been useful to you, I would appreciate your support with a star on GitHub. This helps increase the project's visibility and boosts my motivation for future updates and improvements.
Star on GitHubBuilt for speed and control
Everything you need for advanced network reconnaissance in one tool.
Concurrent scanning
Runs multiple protocols in parallel across thousands of targets without breaking a sweat.
Chain engine
Compose scan stages using Stream, Sequential, or Batch modes to build full detection pipelines.
Interactive TUI
A Bubble Tea terminal UI — scan, monitor, and explore results live, no browser needed.
Save & replay
Persist results and re-run new scans against saved data. Full Xray outbound management included.
Advanced DNS
DNS Tunnel support with a built-in fallback mechanism for complex resolution scenarios.
Xray integration
Save, manage, and validate Xray outbounds directly from the scanner.
8 protocols. One tool.
From Layer 3 to Layer 7 — every protocol you need for deep network analysis.
ICMP
Host discovery & ping
TCP
Connection & handshake
HTTP
HTTP/1.1 · HTTP/2 · QUIC
TLS
TLS 1.0 through 1.3
DNS
Advanced queries + fallback
DNSTT
DNS Tunnel validation
Slipstream
SOCKS-based validation
Xray
Outbound testing
One command to install
Works on Linux, macOS, Windows, and Android (Termux).
curl -fsSL https://raw.githubusercontent.com/MohsenBg/bgscan/refs/heads/main/scripts/install.sh | sh
irm https://raw.githubusercontent.com/MohsenBg/bgscan/refs/heads/main/scripts/install.ps1 | iex
pkg update -y && pkg install bash curl unzip -y && curl -fsSL https://raw.githubusercontent.com/MohsenBg/bgscan/refs/heads/main/scripts/install.sh | bash