Learn about Centmin Mod LEMP Stack today
Register Now

Beta Branch new installs password protect phpi.php file natively

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jun 3, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    55,906
    12,281
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,868
    Local Time:
    12:17 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    new installs password protect phpi.php file natively

    In 123.09beta01 and higher fresh installs only, phpi.php now has native user/pass protection like opcache.php and memcache.php files with randomly generated prefix names unique to each installation. The routine for this is set in new inc/phpinfo.inc file within a function named phpiadmin.

    Continue reading...

    123.09beta01 branch


     
  2. eva2000

    eva2000 Administrator Staff Member

    55,906
    12,281
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,868
    Local Time:
    12:17 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    example at end of initial install in 123.09beta01
    Code (Text):
    *************************************************
    PHP Info Login File: /usr/local/nginx/html/eabea8b1_phpi.php
    PHP Info Login: host.domain.com/eabea8b1_phpi.php
    PHP Info Login username: phpiadminykQj7vl1W9kYWOM
    PHP Info Login password: TwpbNTg8XzWQGoLBKnwTXdkQ
    *************************************************