Skip to content
This repository has been archived by the owner on Sep 23, 2022. It is now read-only.
/ admin-panel Public archive

This is a brand new simple admin panel that has been tested and works on Nginx and Apache2. This panel is meant to only be run on Linux...

License

Notifications You must be signed in to change notification settings

NerdOfCode/admin-panel

Repository files navigation

admin-panel

This is a brand new admin panel that is currently in alpha stages. As of now, the panel can run shell commands, basic MySQL queries, and simple PHP commands. This panel has a very simple UI, and the passwords in the database are hashed.

To Set-Up, follow steps below:

First clone the repository into your web server's document root directory, then run:

git clone [email protected]:NerdOfCode/admin-panel.git

Then to set a user up, create a MySQL database by running:

sudo mysql
CREATE DATABASE database_name_goes_here;

Then switch over to it by running:

USE database_name_goes_here;

To set the table up, create a MySQL table with the fields name and password, to do so run:

CREATE TABLE users(name VARCHAR(30) NOT NULL, password VARCHAR(256) NOT NULL, commands VARCHAR(128));

Then put your desired username in the name field, and the password in the password field, to do so run:

INSERT INTO users VALUES("user_here","password goes here","");

NOTICE The password must be PHP hashed, to do so, run:

php -r 'echo password_hash("password", PASSWORD_DEFAULT);'; echo ""

MAKE SURE to put this password back in the MySQL table...

Finally, change the values in the user.php file to match your own.

How to help

If you want to create installers for this amazing admin panel, simply create a repository or GitHub Gist, and send the URL to [email protected] .

About

This is a brand new simple admin panel that has been tested and works on Nginx and Apache2. This panel is meant to only be run on Linux...

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published