Overview
The Miku Miku Beam CLI (mmb) provides a powerful command-line interface for launching network stress testing attacks. It supports multiple attack methods, proxy configurations, and customizable parameters.
Installation
After building the project, themmb binary will be available in the bin/ directory:
Basic Syntax
Attack Command
The primary command for launching attacks isattack.
Syntax
Attack Methods
Miku Miku Beam supports the following attack methods:http_flood
Standard HTTP flood attack using GET/POST requests
http_bypass
HTTP attack designed to bypass basic protections
http_slowloris
Slowloris attack that keeps connections open
tcp_flood
TCP-level flood attack
minecraft_ping
Minecraft server ping flood attack
Available Flags
int
default:"60"
Duration of the attack in seconds
int
default:"500"
Delay between packets in milliseconds
int
default:"512"
Size of each packet in bytes
int
default:"0"
Number of threads to use (0 = number of CPU cores)
boolean
default:"false"
Allow running attacks without proxies (not recommended)
boolean
default:"false"
Show detailed attack logs including individual packet information
Global Flags
string
Path to configuration file (TOML format)
Examples
Basic HTTP Flood Attack
example.com using all available proxies.
Custom Duration and Delay
High-Intensity Attack
- 16 threads
- 100ms packet delay
- 1024-byte packets
Verbose Mode
With Custom Configuration
Without Proxies
Output Format
During an attack, the CLI displays real-time statistics:Output Fields
string
Current time in HH:MM:SS format
int
Packets per second (current rate)
int
Total packets sent since attack started
int
Number of proxies being used
Verbose Output
With--verbose enabled, additional log information is displayed:
Stopping an Attack
PressCtrl+C to gracefully stop an attack:
Exit Codes
success
Attack completed successfully
error
Invalid command usage or arguments
error
Runtime error (e.g., no proxies available)
Proxy Requirements
Different attack methods support different proxy types:HTTP Flood & HTTP Bypass
HTTP Flood & HTTP Bypass
Supports: HTTP, HTTPS, SOCKS4, SOCKS5
HTTP Slowloris
HTTP Slowloris
Supports: SOCKS4, SOCKS5 only
TCP Flood
TCP Flood
Supports: SOCKS4, SOCKS5 only
Minecraft Ping
Minecraft Ping
Supports: SOCKS4, SOCKS5 only
The CLI automatically filters proxies based on the attack method. If no compatible proxies are found, the attack will fail unless
--no-proxy is specified.Target Formats
Targets can be specified in various formats depending on the attack method:Performance Tuning
Thread Configuration
By default, the CLI uses one thread per CPU core. Adjust for your system:1
Low-end systems
Use fewer threads to avoid overwhelming the system:
2
High-end systems
Increase threads for maximum throughput:
3
Auto-detect (recommended)
Let the CLI use NumCPU automatically:
Packet Delay
Lower delay = higher attack intensity:--delay 1000(1 second) - Low intensity--delay 500(500ms) - Medium intensity (default)--delay 100(100ms) - High intensity--delay 10(10ms) - Maximum intensity
Troubleshooting
No Proxies Available
--no-proxy flag.
Unsupported Attack Method
If you specify an invalid method, Cobra will show available options:Connection Refused
If the target is unreachable, individual packets will fail silently. Use--verbose to see connection errors.
Best Practices
Use Proxies
Always use proxies to protect your identity and distribute the load
Start Small
Begin with shorter durations and fewer threads to test your setup
Monitor Resources
Watch CPU and memory usage, especially with high thread counts
Legal Compliance
Only test systems you own or have explicit permission to test