/miniattack

Simulate Attacks With Mininet And Hping3

Primary LanguagePythonMIT LicenseMIT

catalog

Miniattack

Simulate Attacks With Mininet And Hping3

It measures network load with bwm-ng when the net is under attack and plots the result.

help

This demo has been tested on Ubuntu 20 with Python 3.8.

The attack range is highlighted in red color.

View the topology on Mininet-Topology-Visualizer

Usage

sudo python3 miniattack <option-1> <option-2> <interfaces>

For the options, you can set any supported options of hping3. See hping3 -h for more information.

After setting options, you can declare the name of the interfaces which want to be displayed. If no interface is declared, all of them will be displayed.

Sample 1:

sudo python3 miniattack --flood --udp

Sample 2:

sudo python3 miniattack --flood --udp s1-eth1 s1-eth2

Every time the program runs, the resulting plot will be saved as pdf with the name plot.pdf in the same directory.

Author

Rabist - view on LinkedIn

Details

  • Course: Internet Engineering - Undergraduate
  • Teacher: Dr. Mehran Shetabi
  • Univ: Yazd University
  • Semester: Spring 1400

License

Licensed under MIT.