Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mr-gh0st-offsec/automations-script
This repository is managed by the System Team and contains a collection of automation scripts designed to streamline and optimize system operations. The scripts within this repository are primarily written in Python, Bash, and PowerShell, targeting a wide range of system management tasks.
https://github.com/mr-gh0st-offsec/automations-script
bash-scripting hacking-tool network-programming powershell python system ubuntu-server
Last synced: 12 days ago
JSON representation
This repository is managed by the System Team and contains a collection of automation scripts designed to streamline and optimize system operations. The scripts within this repository are primarily written in Python, Bash, and PowerShell, targeting a wide range of system management tasks.
- Host: GitHub
- URL: https://github.com/mr-gh0st-offsec/automations-script
- Owner: MR-Gh0st-OffSec
- Created: 2024-10-22T10:16:01.000Z (17 days ago)
- Default Branch: main
- Last Pushed: 2024-10-24T09:13:04.000Z (15 days ago)
- Last Synced: 2024-10-25T04:17:41.353Z (14 days ago)
- Topics: bash-scripting, hacking-tool, network-programming, powershell, python, system, ubuntu-server
- Language: Python
- Homepage: https://mrgh0st.vercel.app/
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π Automation Scripts for Ubuntu OS
This repository contains advanced automation scripts designed to streamline various system administration tasks on Ubuntu OS, including port forwarding, auto-scaling, firewall management, IP configuration, and more. Below you'll find a comprehensive usage guide for each script included in this repository.
---
## π Port Configuration Automation Script
**Description**
Automates adding, removing, and editing port configurations, including firewall rules and port listening for services on Ubuntu OS.
### π How to Use
1. **Make the script executable**
```
chmod +x port_configurator.py
```3. **Start the script**
```
sudo ./port_configurator.py
```5. **Enter Ports**
- The script will prompt for the ports you wish to add or edit.
- Specify whether you want to open or close each port.7. **Firewall Rules**
- The script automatically configures firewall rules based on the ports you provide.9. **Port Listening**
- The script configures port listening for services like Apache2 or Nginx based on your input.---
## π Firewall and Port Forwarding Automation (Apache2/Nginx)
**Description**
Configures and automates port forwarding rules for Apache2 and Nginx in Ubuntu OS.
### π How to Use
1. **Ensure Apache2 or Nginx is installed**
Make sure Apache2 or Nginx is properly installed and configured.3. **Make the script executable**
4.
```
chmod +x port_forwarding_manager.py
```5. **Start the script**
```
sudo ./port_forwarding_manager.py
```7. **Choose Services**
- Select either Apache2 or Nginx for port forwarding configuration.
- Provide the public and private ports.9. **Firewall Setup**
- The script automatically sets up the forwarding and firewall rules for the selected ports.---
## π Auto-scaling Management Script
**Description**
Automates monitoring and scaling of services based on CPU and memory usage thresholds in Ubuntu OS.
### π How to Use
1. **Make the script executable**
```
chmod +x autoscale_manager.py
```3. **Start the script**
```
sudo ./autoscale_manager.py
```5. **Threshold Configuration**
- Configure thresholds, instance limits, and other parameters within the script.7. **Monitoring and Scaling**
- The script monitors CPU and memory usage, automatically scaling services up or down based on the set thresholds.---
## π IP Configuration Automation Script
**Description**
Provides an automated way to manually configure IP addresses for network interfaces on Ubuntu OS.
### π How to Use
1. **Make the script executable**
```
chmod +x ip_configurator.py
```3. **Start the script**
```
sudo ./ip_configurator.py
```5. **Configure IP**
- Input the desired IP address when prompted.
- Choose the network interface (e.g., `eth0`, `wlan0`) to apply the configuration.6. **Apply Network Settings**
- The script will configure the IP address and restart the network service automatically.---
## π System Resource Usage Script
**Description**
Displays system-wide resource usage, including CPU, memory, disk, and network statistics, to manage and monitor services effectively.
### π How to Use
1. **Make the script executable**
```
chmod +x system_resource_usage.py
```3. **Start the script**
```
sudo ./system_resource_usage.py
```5. **View Resource Stats**
- The script displays real-time stats for CPU, memory, disk I/O, and network traffic.
- Useful for monitoring services and understanding system health.---
## π§Ή Ubuntu OS Cleanup and Update Script
**Description**
Automates the cleanup of unused packages, updates the system, and optimizes the Ubuntu environment.
### π How to Use
1. **Make the script executable**
```
chmod +x os_cleanup_updater.py
```3. **Start the script**
```
sudo ./os_cleanup_updater.py
```5. **Optimize and Clean**
- The script will remove unnecessary packages and optimize the system's performance.6. **System Update**
- After the cleanup, the script will prompt you to update the systemβs common services, asking for confirmation before proceeding.---
### π License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.
### π§βπ» Contributions
Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/MR-Gh0st-OffSec/Automations-Script/issues).
---