Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DDos blocker/IP block script

Hi! this script i created is for detecting simple dos attacks (with ping, icmp) and for blocking and unblocking ip with the nullroute command. Follow the instructions below carefully!

Use this script with extreme caution!

Dependencies

There are no dependencies: usually the packages needed to run this script are already included in the system but if you want to check digital in the terminal:

$ sudo apt install tcpdump

and check if you have the nullroute

How to use and install

To install this package you must first download the files with the following command or download the latest version of the zip:

$ sudo git clone https://github.com/micky-it/ddos-blocker-script.git && cd ddos-blocker-script (Only 64 bit. For other version go to release)

To install the program execute install.sh in the terminal:

$ sudo ./install.sh

For Mac Os:

  • Download the latest version of the zip
  • Open the terminale and run $ sudo ./install.sh
  • Type ddos-blocker on the terminal
  • Now con to the settings and go to security and privacy
  • Allow running ddos-blocker
  • Finally re-type ddos-blocker on the terminal

Now the program is installed! To use it write ddos-blocker in the terminal. Good use!

To uninstall the program execute uninstall.sh in the terminal:

$ sudo ./uninstall.sh

If you want to use this script without installing it you can run the script or binary without running install.sh :

$ sudo ./ddos-blocker.sh or $ sudo ./ddos-blocker

About

A script to block ddos attack (it block only ddos attack with ping), to block some IPs and unblock IP with nullroute

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages