Coder Social home page Coder Social logo

tcpkiller's Introduction

tcpkiller

tcpkiller is a utility to kill all TCP connections on a network. It works by intercepting network traffic, and forging RST packets of existing connections to cause hangups. Works for both IPv4 connections and IPv6.

tcpkiller is a sneaky way to kill network connections. Any targeted system will appear to work when examined through typical diagnostics - DNS will resolve, ICMP's will go through, and the network card will be able to connect to the network- but no TCP connections will be sustained. Currently, tcpkiller only supports packets encapsulated by Ethernet headers, not 802.11 encapsulation.

Usage:

$ ./tcpkiller -i eth0
[*] Initialized tcpkiller on eth0 in quiet mode, targeting all. Press Ctrl-C to exit.
...

Options:

  • -a, --allow do not attack this ip address's connections, whether it's the source or destination of a packet
  • -as, --allow-source do not attack this ip address's connections, but only if it's the source of a packet
  • -ad, --allow-destinationdo not attack this ip address's connections, but only if it's the destination of a packet
  • -t, --target actively target given ip address, whether it is the source or destination of a packet (and allow all other connections)
  • -ts, --target-source actively target this ip address, but only if it's the source
  • -td, --target-destination actively target this ip address, but only if it's the destination of a packet
  • -o, --allow-port do not attack any connections involving this port, whether it's the source or destination of a packet
  • -os, --allow-source-port do not attack any connections involving this port, but only if it's the source of a packet
  • -od, --allow-destination-port do not attack any connections involving this port, but only if it's the destination of a packet
  • -p, --target-port actively target any connections involving these ports whether it is the source or destination of a packet (and allow all other connections)
  • -ps, --target-source-port actively target any connections involving this port, but only if it's the source
  • -pd, --target-destination-port actively target any connections involving this port, but only if it's the destination of a packet
  • -r, --randomize {often,half,seldom,all} target only SOME of the matching packets for increased stealthiness. defaults to "all"
  • -i, --interface specify interface to listen on
  • -s, --silent silences all terminal output
  • -v, --verbose verbose output
  • -h, --help prints usage and help menu

Installation

tcpkiller relies on Scapy, and is designed to run on Ubuntu or Kali Linux. Due to restrictions on network card promiscuous mode in OS X and Windows, these platforms are not supported.

To install Scapy:

$ sudo apt-get install scapy

To setup tcpkiller:

$ git clone https://github.com/Kkevsterrr/tcpkiller && cd tcpkiller
$ sudo chmod +x tcpkiller
$ sudo ifconfig <interface> promisc
$ ./tcpkiller -i <interface>
...

tcpkiller's People

Contributors

kkevsterrr avatar

Watchers

 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.