Giter VIP home page Giter VIP logo

tupacket's Introduction

TUPacket: TCP/UDP Packet Spoofer

TUPacket is a Python-based tool that allows you to generate and send TCP or UDP packets with spoofed IP addresses.

Features

  • Generate TCP or UDP packets
  • Spoof source IP addresses
  • Spam a number of packets at specified intervals
  • Log the details of the packets being sent
  • Coming Soon: Custom Payload

Requirements

  • Python 3
  • Root or administrator privileges (required to create raw sockets)

Usage

  • $ sudo python tup.py -p PROTOCOL -source SOURCE_IP -dest DEST_IP
  • Example: Send 10 TCP packets from a random source IP to a destination IP of 192.0.2.0, with a delay of 1 second between each packet, and log it to log.txt: Screenshot 2024-04-26 233007

  • $ sudo python tup.py -p tcp -source random -dest 192.0.2.0 -delay 1000 -count 10 -l log.txt

Required Args:

  • -p, --protocol: The protocol to use (tcp or udp).
  • -source, --source-ip [CUSTOM]: The source IP address. CUSTOM can be an IP address, 'random' or 'list' for a list of IPs.
  • -dest, --dest-ip: The destination IP address.

Optional args:

  • -sp, --source-port: The source port (default is 0).
  • -dp, --dest-port: The destination port (default is 0).
  • -delay, --delay: The delay between packets in milliseconds. Must be used with -count.
  • -count, --count: The number of packets to send. Must be used with -delay.
  • -l, --log-file [LOG_FILE]: Enables logging. If LOG_FILE is specified, it uses it as the log file name. If LOG_FILE is not specified, generate a log file name based on the current time and destination IP.

tupacket's People

Contributors

dotslashcosmic avatar doliv8 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

doliv8

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.