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
Duration of the attack in seconds
Delay between packets in milliseconds
Size of each packet in bytes
Number of threads to use (0 = number of CPU cores)
Allow running attacks without proxies (not recommended)
Show detailed attack logs including individual packet information
Global Flags
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
Current time in HH:MM:SS format
Packets per second (current rate)
Total packets sent since attack started
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
Attack completed successfully
Invalid command usage or arguments
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: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