Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php // Auth with login/password // set true/false to enable/disable it // Is independ..

Decoded Output download

<?php 
// Auth with login/password 
// set true/false to enable/disable it 
// Is independent from IP white- and blacklisting 
$use_auth = true; 
 
// Login user name and password 
// Users: array('Username' => 'Password', 'Username2' => 'Password2', ...) 
// Generate secure password hash - https://tinyfilemanager.github.io/docs/pwd.html 
$auth_users = array( 
    'super_admin' => '$2y$10$iCgIBGYzVbhpQIc9rJer/ee2ToocCsdnI9T6Nc4qNKpJvQ4dhg/OC',  
    'admin' => '$2y$10$9Cvr2/6c9CIErgYnfSd/o.wsPHN1qh7twOGkbs8wYkkGO0r/Sbkhq',  
    'user' => '$2y$10$FCyv01TBWzhGfBW.1JdCnOm9PBlfCAoeaoAE4ATsvlucqhLE6L7ei'  
); 
 
// Readonly users 
// e.g. array('users', 'guest', ...) 
$readonly_users = array( 
    'user', 
    'admin' 
); 
 
// Enable highlight.js (https://highlightjs.org/) on view's page 
$use_highlightjs = true; 
 
// highlight.js style 
// for dark theme use 'ir-black' 
$highlightjs_style = 'vs'; 
 
// Enable ace.js (https://ace.c9.io/) on view's page 
$edit_files = true; 
 
// Default timezone for date() and time() 
// Doc - http://php.net/manual/en/timezones.php 
$default_timezone = 'Etc/UTC'; // UTC 
 
// Root path for file manager 
// use absolute path of directory i.e: '/var/www/folder' or $_SERVER['DOCUMENT_ROOT'].'/folder' 
$root_path = $_SERVER['DOCUMENT_ROOT'].'/reporting_assets'; 
 
// Root url for links in file manager.Relative to $http_host. Variants: '', 'path/to/subfolder' 
// Will not working if $root_path will be outside of server document root 
$root_url = ''; 
 
// Server hostname. Can set manually if wrong 
$http_host = $_SERVER['HTTP_HOST']; 
 
// user specific directories 
// array('Username' => 'Directory path', 'Username2' => 'Directory path', ...) 
$directories_users = array(); 
 
// input encoding for iconv 
$iconv_input_encoding = 'UTF-8'; 
 
// date() format for file modification date 
// Doc - https://www.php.net/manual/en/datetime.format.php 
$datetime_format = 'd.m.y H:i:s'; 
 
// Allowed file extensions for create and rename files 
// e.g. 'txt,html,css,js' 
$allowed_file_extensions = ''; 
 
// Allowed file extensions for upload files 
// e.g. 'gif,png,jpg,html,txt' 
$allowed_upload_extensions = ''; 
 
// Favicon path. This can be either a full url to an .PNG image, or a path based on the document root. 
// full path, e.g http://example.com/favicon.png 
// local path, e.g images/icons/favicon.png 
$favicon_path = ''; 
 
// Files and folders to excluded from listing 
// e.g. array('myfile.html', 'personal-folder', '*.php', ...) 
$exclude_items = array(''); 
 
// Online office Docs Viewer 
// Availabe rules are 'google', 'microsoft' or false 
// google => View documents using Google Docs Viewer 
// microsoft => View documents using Microsoft Web Apps Viewer 
// false => disable online doc viewer 
$online_viewer = 'google'; 
 
// Sticky Nav bar 
// true => enable sticky header 
// false => disable sticky header 
$sticky_navbar = true; 
 
// Path display mode when viewing file information 
// 'full' => show full path 
// 'relative' => show path relative to root_path 
// 'host' => show path on the host 
$path_display_mode = 'full'; 
 
// Maximum file upload size 
// Increase the following values in php.ini to work properly 
// memory_limit, upload_max_filesize, post_max_size 
$max_upload_size_bytes = 5000000000; // size 5,000,000,000 bytes (~5GB) 
 
// chunk size used for upload 
// eg. decrease to 1MB if nginx reports problem 413 entity too large 
$upload_chunk_size_bytes = 2000000; // chunk size 2,000,000 bytes (~2MB) 
 
// Possible rules are 'OFF', 'AND' or 'OR' 
// OFF => Don't check connection IP, defaults to OFF 
// AND => Connection must be on the whitelist, and not on the blacklist 
// OR => Connection must be on the whitelist, or not on the blacklist 
$ip_ruleset = 'OFF'; 
 
// Should users be notified of their block? 
$ip_silent = true; 
 
// IP-addresses, both ipv4 and ipv6 
$ip_whitelist = array( 
    '127.0.0.1',    // local ipv4 
    '::1'           // local ipv6 
); 
 
// IP-addresses, both ipv4 and ipv6 
$ip_blacklist = array( 
    '0.0.0.0',      // non-routable meta ipv4 
    '::'            // non-routable meta ipv6 
); 
 
?> 

Did this file decode correctly?

Original Code

<?php
// Auth with login/password
// set true/false to enable/disable it
// Is independent from IP white- and blacklisting
$use_auth = true;

// Login user name and password
// Users: array('Username' => 'Password', 'Username2' => 'Password2', ...)
// Generate secure password hash - https://tinyfilemanager.github.io/docs/pwd.html
$auth_users = array(
    'super_admin' => '$2y$10$iCgIBGYzVbhpQIc9rJer/ee2ToocCsdnI9T6Nc4qNKpJvQ4dhg/OC', 
    'admin' => '$2y$10$9Cvr2/6c9CIErgYnfSd/o.wsPHN1qh7twOGkbs8wYkkGO0r/Sbkhq', 
    'user' => '$2y$10$FCyv01TBWzhGfBW.1JdCnOm9PBlfCAoeaoAE4ATsvlucqhLE6L7ei' 
);

// Readonly users
// e.g. array('users', 'guest', ...)
$readonly_users = array(
    'user',
    'admin'
);

// Enable highlight.js (https://highlightjs.org/) on view's page
$use_highlightjs = true;

// highlight.js style
// for dark theme use 'ir-black'
$highlightjs_style = 'vs';

// Enable ace.js (https://ace.c9.io/) on view's page
$edit_files = true;

// Default timezone for date() and time()
// Doc - http://php.net/manual/en/timezones.php
$default_timezone = 'Etc/UTC'; // UTC

// Root path for file manager
// use absolute path of directory i.e: '/var/www/folder' or $_SERVER['DOCUMENT_ROOT'].'/folder'
$root_path = $_SERVER['DOCUMENT_ROOT'].'/reporting_assets';

// Root url for links in file manager.Relative to $http_host. Variants: '', 'path/to/subfolder'
// Will not working if $root_path will be outside of server document root
$root_url = '';

// Server hostname. Can set manually if wrong
$http_host = $_SERVER['HTTP_HOST'];

// user specific directories
// array('Username' => 'Directory path', 'Username2' => 'Directory path', ...)
$directories_users = array();

// input encoding for iconv
$iconv_input_encoding = 'UTF-8';

// date() format for file modification date
// Doc - https://www.php.net/manual/en/datetime.format.php
$datetime_format = 'd.m.y H:i:s';

// Allowed file extensions for create and rename files
// e.g. 'txt,html,css,js'
$allowed_file_extensions = '';

// Allowed file extensions for upload files
// e.g. 'gif,png,jpg,html,txt'
$allowed_upload_extensions = '';

// Favicon path. This can be either a full url to an .PNG image, or a path based on the document root.
// full path, e.g http://example.com/favicon.png
// local path, e.g images/icons/favicon.png
$favicon_path = '';

// Files and folders to excluded from listing
// e.g. array('myfile.html', 'personal-folder', '*.php', ...)
$exclude_items = array('');

// Online office Docs Viewer
// Availabe rules are 'google', 'microsoft' or false
// google => View documents using Google Docs Viewer
// microsoft => View documents using Microsoft Web Apps Viewer
// false => disable online doc viewer
$online_viewer = 'google';

// Sticky Nav bar
// true => enable sticky header
// false => disable sticky header
$sticky_navbar = true;

// Path display mode when viewing file information
// 'full' => show full path
// 'relative' => show path relative to root_path
// 'host' => show path on the host
$path_display_mode = 'full';

// Maximum file upload size
// Increase the following values in php.ini to work properly
// memory_limit, upload_max_filesize, post_max_size
$max_upload_size_bytes = 5000000000; // size 5,000,000,000 bytes (~5GB)

// chunk size used for upload
// eg. decrease to 1MB if nginx reports problem 413 entity too large
$upload_chunk_size_bytes = 2000000; // chunk size 2,000,000 bytes (~2MB)

// Possible rules are 'OFF', 'AND' or 'OR'
// OFF => Don't check connection IP, defaults to OFF
// AND => Connection must be on the whitelist, and not on the blacklist
// OR => Connection must be on the whitelist, or not on the blacklist
$ip_ruleset = 'OFF';

// Should users be notified of their block?
$ip_silent = true;

// IP-addresses, both ipv4 and ipv6
$ip_whitelist = array(
    '127.0.0.1',    // local ipv4
    '::1'           // local ipv6
);

// IP-addresses, both ipv4 and ipv6
$ip_blacklist = array(
    '0.0.0.0',      // non-routable meta ipv4
    '::'            // non-routable meta ipv6
);

?>

Function Calls

None

Variables

$root_url
$use_auth True
$http_host None
$ip_silent True
$root_path None/reporting_assets
$auth_users [{'key': 'super_admin', 'value': '$2y$10$iCgIBGYzVbhpQIc9rJer/ee2ToocCsdnI9T6Nc4qNKpJvQ4dhg/OC'}, {'key': 'admin', 'value': '$2y$10$9Cvr2/6c9CIErgYnfSd/o.wsPHN1qh7twOGkbs8wYkkGO0r/Sbkhq'}, {'key': 'user', 'value': '$2y$10$FCyv01TBWzhGfBW.1JdCnOm9PBlfCAoeaoAE4ATsvlucqhLE6L7ei'}]
$edit_files True
$ip_ruleset OFF
$favicon_path
$ip_blacklist [{'key': 0, 'value': '0.0.0.0'}, {'key': 1, 'value': '::'}]
$ip_whitelist [{'key': 0, 'value': '127.0.0.1'}, {'key': 1, 'value': '::1'}]
$exclude_items [{'key': 0, 'value': ''}]
$online_viewer google
$sticky_navbar True
$readonly_users [{'key': 0, 'value': 'user'}, {'key': 1, 'value': 'admin'}]
$datetime_format d.m.y H:i:s
$use_highlightjs True
$default_timezone Etc/UTC
$directories_users []
$highlightjs_style vs
$path_display_mode full
$iconv_input_encoding UTF-8
$max_upload_size_bytes 5000000000
$allowed_file_extensions
$upload_chunk_size_bytes 2000000
$allowed_upload_extensions

Stats

MD5 15992518d45f4ad3c2f46457e84d656b
Eval Count 0
Decode Time 54 ms