Python Script to check if the IP addresses are routed over the Prolexic DDOS mitigator or not.
- The Prolexic Checker Program would require python3 to be installed if not available. This can be done by running the following command:
root@user:~$ sudo yum install python3
-After installation copy or clone all the files found in the repository here here or by using the command:
root@user:~$ git clone https://gitlab.com/vasu3797/prolexic-checker.git
-Clone this file to your desired directory.
- Enter the command:
root@user:~$ python3 /path/to/prolexic_checker.py
- Enter this command:
root@user:~$ crontab -e
- append the file with this command to run this task every week on Monday at 8 am:
0 8 * * 1 /bin/python3 /path/to/prolexic_checker.py