Skip to content

MiniGreX will be designed with security in mind, and the code will be written to minimize the risk of SQL injection attacks and other security vulnerabilities. To ensure maximum security, we recommend keeping the CMS up-to-date with the latest security patches and using strong passwords for all user accounts.

Notifications You must be signed in to change notification settings

VolkanSah/MiniGreX

Repository files navigation

MiniGreX - Content Management System

MiniGreX Logo

Table of Contents

IMPORTANT
⚠️ MiniGreX is still in development. It works, but improvements are ongoing. Want to help? The smallest high-secure multi-CMS for DevOps 👮

Security

MiniGreX CMS is designed with security in mind, minimizing the risk of SQL injection and other vulnerabilities. Keep the CMS up-to-date with the latest patches and use strong passwords for all accounts.

Introduction

MiniGreX CMS is a lightweight and secure system for sharing links, images, videos, and comments. It supports MySQL, MariaDB, and PostgreSQL, and uses PHP PDO with prepared statements for security.

Documentation for this project

Installation

To install MiniGreX CMS, follow these steps:

  1. Install a web server (Apache or Nginx).
  2. Install PHP 7.4 or higher.
  3. Install MySQL, PostgreSQL, or MariaDB.
  4. Clone the repository from GitHub.
  5. Create a database for MiniGreX CMS.
  6. Import the SQL file sql.txt into your database.
  7. Update init.php with your database credentials.
  8. Upload the files to your server.
  9. Change file and folder permissions.
  10. Navigate to index.php to view the CMS.

Features

  • User authentication
  • Admin panel for managing site information and user accounts
  • Share links, images, and videos
  • Comment system
  • SQL injection prevention with prepared statements
  • Supports MySQL, MariaDB, and PostgreSQL
  • Force SSL
  • Role Manager
  • Lazyload + Image Customizer
  • Image & Video Database
  • SEO Tools
  • Gateway Tools
  • Deep Web mode

Admin Panel

The admin panel allows admins to manage site information and user accounts, including:

  • Changing site title and description
  • Changing admin/user passwords
  • Viewing and deleting user accounts
  • Managing roles and permissions

User Panel

The user panel allows users to manage their accounts and content, including:

  • Changing user passwords
  • Creating posts, links, comments, and uploading images and videos

Public Files and Functions

  • login.php and register.php with prepared statements and CSRF protection

Security Enhancements

  • Content Security Policy (CSP) and other security headers
  • Enhanced SQL injection prevention with PDO and prepared statements
  • CSRF protection mechanisms
  • Session security with session regeneration to prevent session fixation

Modular Architecture

  • plugin_loader.php for modular plugin integration

Role Manager

  • Manage roles and permissions
  • Admins can create, delete, and assign roles to users

Coming Soon

  • Lazyload + Image Customizer
  • Image & Video Database
  • SEO Tools
  • Gateway Tools
  • Deep/Dark Web mode for enhanced security and privacy (for DevOps)

Changelog

Latest Updates

  1. Role Manager:

    • New plugin for managing roles and permissions.
    • Admins can create, delete, and assign roles to users.
  2. Security Enhancements:

    • Added Content Security Policy (CSP) and other security headers.
    • Enhanced SQL injection prevention using PDO and prepared statements.
    • Implemented CSRF protection mechanisms.
  3. Session Security:

    • Added a function to regenerate session IDs to prevent session fixation.
  4. Modular Architecture:

    • Introduced plugin_loader.php for modular integration of plugins.
  5. Improvements in login.php and register.php:

    • Usage of PDO and prepared statements.
    • Integration of CSRF protection.

These changes and enhancements significantly improve the security, modularity, and administrative capabilities of the CMS.

Usage

Once installed, MiniGreX CMS allows you to share links, images, and videos. The main page shows all posts and comments. To add a new post, click "Add Post" and fill in the form.

To comment on a post, log in or register a new account. Admins can change site settings and passwords from the admin panel.

Contributing

We welcome contributions to MiniGreX CMS, including bug fixes, feature requests, and translations. To contribute, please create a new branch and submit a pull request.

Support

Your support is greatly appreciated. If you find MiniGreX CMS useful, consider starring the project on GitHub or becoming a Sponsor.

Credits

MiniGreX CMS is developed and maintained by:

License

MiniGreX CMS is licensed under a "Privat" LICENSE. Feel free to use it for personal purposes not commercial purposes!

About

MiniGreX will be designed with security in mind, and the code will be written to minimize the risk of SQL injection attacks and other security vulnerabilities. To ensure maximum security, we recommend keeping the CMS up-to-date with the latest security patches and using strong passwords for all user accounts.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project