- Drops the flow of packets, thus makes the target's internet connection not responding.
- Convert the setup.sh into executable
chmod 755 setup.sh
- Run setup.sh
./setup.sh
- Run the Python Script with root privileges.
sudo python net_disconnet.py
-
-h or --help: Displays all the available options.
-
-q or --queue-num: Optional. Is used to define queue number for IP tables.
-
Note:
- You need to be connected to the same network.
- You need to be the MITM. For this check our Website and GitHub.
- subprocess: The subprocess module allows you to spawn new processes, connect to their input/output/error pipes, and obtain their return codes. Used to interact with command line arguments.
- argparse: The argparse module makes it easy to write user-friendly command-line interfaces. The program defines what arguments it requires, and argparse will figure out how to parse those out of sys.argv.
- sys: The sys module provides access to some variables used or maintained by the interpreter and to functions that interact strongly with the interpreter.
- os: The os module provides a portable way of using operating system dependent functionality.
- netfilterqueue: The netfilerqueue module is used to intercept packet flows.
- random: The random module implements pseudo-random number generators for various distributions. Used to generaye quene number of IP tables.
- Website: Hack Hunt
- Contact: [email protected]
- Youtube: Hack Hunt
- Instagram: hh.hackhunt
- Facebook: hh.hackhunt
- Twitter: hh_hackhunt