Skip to main content

Basically a SYN flooder in Python

Project description

siege-engine

A general basic Python-powered SYN flooder bot.

Installation and operation

Just type:

pip install siege-engine
python -m siege_engine 300 tass.com

Note that a helpful error message will be displayed if you just type:

python -m siege_engine

Please set the 300 value regarding your network conditions. This is the amount of threads that will be spawned. Obviously, more is better (I bet your network could hold about 2000 of them).

Note that increasing thread count about 100% CPU usage is pointless, because of the GIL. You can, altogether, fire up multiple instances :D

Just note that GIL is not a practical limit, I've tested it on my PC with 15k threads and it ate only 23% of the CPU, so it's more academic concern.

Note that if zero connections were made, that means the target server is no longer responding, which is a good thing.

Change log

  • v2.0: Better messages
  • v1.9: added a total counter for wasted bytes
  • v1.8: fixed problems with termination
  • v1.7: Removed scapy
  • v1.6: Added scapy
  • v1.5: SSL socket will be picked upon now
  • v1.4: fixed a critical bug
  • v1.3: significantly refactored the code
  • v1.2: since v1.1 we're been hosted on PyPI, removed these nasty entry points
  • v1.1: added graceful support for time-out sessions

How to adjust thread count.

Start from 13000. The startup time for 25000 threads is pretty rough, but overall the app manages to start. If the process manages to hit a single core 100%, start a new program, or just reduce the amount of threads. The process is network-bound.

Valid targets

  • tass.com
  • kremlin.ru
  • eng.putin.kremlin.ru
  • eng.constitution.kremlin.ru
  • eng.flag.kremlin.ru
  • lenta.ru
  • government.ru
  • rt.com
  • ach.gov.ru
  • customs.ru
  • economy.gov.ru
  • fas.gov.ru
  • fedsfm.ru
  • gks.ru
  • minfin.ru
  • nalog.ru
  • rosreestr.ru
  • rosreserv.ru
  • gosbar.gosuslugi.ru
  • cikrf.ru
  • council.gov.ru
  • duma.gov.ru
  • government.ru
  • kremlin.ru
  • open.gov.ru
  • gusp.gov.ru
  • udprf.ru
  • fapmc.ru
  • rkn.gov.ru
  • fso.gov.ru
  • gfs.ru
  • rossvyaz.ru
  • digital.gov.ru
  • fstec.ru
  • rs.gov.ru
  • fsvts.gov.ru
  • mid.ru
  • russiatourism.ru
  • ombudsmanrf.org
  • rosmintrud.ru
  • rostrud.ru
  • archives.ru
  • fsa.gov.ru
  • gost.ru
  • fadm.gov.ru
  • obrnadzor.gov.ru
  • federalspace.ru
  • mkrf.ru
  • rupto.ru
  • edu.gov.ru
  • minobrnauki.gov.ru
  • minvostokrazvitia.ru
  • mil.ru
  • nac.gov.ru
  • svr.gov.ru
  • fsb.ru
  • mchs.gov.ru
  • scrf.gov.ru
  • rosavtodor.ru
  • favt.ru
  • mintrans.ru
  • morflot.ru
  • rostransnadzor.ru
  • roszeldor.ru
  • fsin.su
  • genproc.gov.ru
  • ksrf.ru
  • mvd.ru
  • rosgvard.ru
  • fssprus.ru
  • minjust.ru
  • xn--b1ab2a0a.xn--b1aew.xn--p1ai
  • rpn.gov.ru
  • voda.mnr.gov.ru
  • fishcom.ru
  • fsvps.ru
  • gosnadzor.ru
  • mcx.ru
  • meteorf.ru
  • mnr.gov.ru
  • rosleshoz.gov.ru
  • rosnedra.gov.ru
  • fmbaros.ru
  • rosminzdrav.ru
  • rospotrebnadzor.ru
  • minsport.gov.ru
  • roszdravnadzor.ru
  • minenergo.gov.ru
  • minpromtorg.gov.ru
  • minstroyrf.ru
  • data.gov.ru
  • partners.gosuslugi.ru
  • gosuslugi.ru

If you have any better ideas, PRs are welcome!

Usage via Docker

You can use the excellent Docker image at https://github.com/maksym-iv/battle-tools#siege-engine.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

siege-engine-3.0.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

siege_engine-3.0-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page