Coder Social home page Coder Social logo

siege-engine's Introduction

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.

siege-engine's People

Contributors

mkozachuk avatar piotrmaslanka avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.