/scripts

This project contains various scripts that I use for different purposes.

Primary LanguageShell

This project contains various scripts that I use for different purposes.

Script Description
ufw_ssh_whitelist.sh This Bash script manages UFW rules to allow SSH access only from specified IP ranges. It fetches the whitelist from a GitHub repository and applies the rules to the detected SSH port. Learn more.
ufw_geo_block.sh This script allows you to block or unblock IP addresses of a specific country using UFW (Uncomplicated Firewall). Learn more.
ufw_geo_blocks.sh The script simplifies firewall rule management by leveraging UFW, allowing users to block or allow traffic from specific countries based on geographic IP addresses, and it accommodates port ranges and protocols for added flexibility in network security. Learn more
generate-ip-cert.sh This script generates a self-signed SSL certificate for an IP address. Learn more.
docker_install.sh This will install the latest versions of Docker and Docker-compose on your system. Learn more.
tlg_login_notify.sh This is a bash script that sends a notification to your Telegram account whenever someone logs in to your server via SSH. Learn more.
create_databases.sh This Bash script simplifies the process of creating MySQL databases and granting privileges to the webmaster user. It provides the following features. Learn more.
optimize_php.sh This Bash script is designed to optimize PHP-FPM settings based on your system resources. It detects installed PHP versions, displays current and proposed settings, and allows you to choose which versions to optimize. Learn more.
SFTP_Restricted_Directory_Access.sh This Bash script sets up secure SFTP access with restricted directory permissions for the user. Learn more.
project2file.py Project2File is a Python script for saving project structure and file contents to text files. Learn more.
get_files_info.py This script is a Python command-line utility that searches for files within a specified directory based on their creation date and logs the results. Learn more.