Scripts to use on Linux servers ~ Will constantly be adding new ones!
- Monitoring servers to see if they are online/offline.
- If the server is offline it will send a notification via discord webhook
- To use, simply add your server IP-addresses to the list
ipsadd your discord webhook toWEBHOOK_URLand discord user ID todiscord_user_ID - It is recommended to set up a crontabs job.

Tested on AlmaLinux 8.5 (Arctic Sphynx)
- Quickly scan a number of IPs on AbuseIPDB.
- Searches for any IPs in a file via regex and sorts for duplicates, etc
- to use do
./AbuseIPDB.shand the script will automatically pull IP-Addresses from the httpd logfile. - Saves in a format that makes it easy for awk
output.txt - Enter API Key in
API-KEYvariable and run script! One line install :
wget https://github.com/csduncan06/linux-scripts/main/AbuseIPDB.sh && chmod 755 AbuseIPDB.sh && ./AbuseIPDB.sh ;)
Note: This has been tested and created for AlmaLinux. To change this you can change the ip_list variable to make it run on different linux flavours!
- Gets a list of both IPv4 and IPv6 IP addresses from cloudflare
- Removes existing rules for web port connectivity
- Allows each IP on port 80 and 443.
- Ensures that all web requests are proxied through CloudFlare.

- CLI tool to help the deployment of posts with hugo!
ETMRidge ~ Script ideas

