adminer-password-pretected-with-plugins

Adminer (formerly phpMinAdmin) is a full-featured database management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server. Adminer is available for MySQL, PostgreSQL, SQLite, MS SQL, Oracle, SimpleDB, Elasticsearch and MongoDB.

This customizations is an easy alternative to install Adminer.

For more plugins visit the Adminer Plugin Page.

Customizations:

How to use

  1. Clone this repo, normaly to /var/www/html/
git clone https://github.com/rsilvabr/adminer-password-pretected-with-plugins.git .

Move adminer-.php to a dir with no web access Ex:

mv admminer-4-8.1.php /var/www/
  1. Change the index.php file like the following:
nano index.php 

In line 44 change the path to adminer-.php file

include "../adminer-4.8.1.php";

Update sha1 password hash

nano plugins/PasswordProtection.php

In line 7 of the plugin code, replace the predefined hash with your sha1 password hash. To generate your own sha1 password hash, you can use online tools like sha1-online.

File structure has to be like the following one:

- plugins
    - plugin.php
    - ...
../../adminer-<version>.php
- index.php
- adminer.css

Online Demo

Contribution

Feel free to create forks and pull requests. :)