Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html /
asiafood.bdcloud.fr /
Delete
Unzip
Name
Size
Permission
Date
Action
accountancy
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
adherents
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
admin
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
api
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
asset
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
asterisk
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
barcode
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
blockedlog
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
bom
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
bookmarks
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
build
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
cashdesk
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
categories
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
collab
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
comm
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
commande
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
compta
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
conf
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
contact
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
contrat
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
core
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
cron
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
custom
[ DIR ]
drwxrwxrwx
2025-11-08 11:16
datapolicy
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
dav
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
debugbar
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
dev
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
doc
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
documents
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
don
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
ecm
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
emailcollector
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
expedition
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
expensereport
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
exports
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
externalsite
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
fichinter
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
fourn
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
ftp
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
holiday
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
hrm
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
imports
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
includes
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
langs
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
livraison
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
loan
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
mailmanspip
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
margin
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
milestone
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
modulebuilder
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
mrp
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
multicurrency
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
opensurvey
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
paybox
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
paypal
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
printing
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
product
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
projet
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
public
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
reception
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
resource
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
salaries
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
scripts
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
societe
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
stripe
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
supplier_proposal
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
support
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
takepos
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
theme
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
ticket
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
updatelines
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
user
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
variants
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
webservices
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
website
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
zapier
[ DIR ]
drwxr-xr-x
2025-11-08 11:16
.htaccess.old
237
B
-rwxr-xr-x
2025-11-03 07:12
COPYING
34.98
KB
-rwxr-xr-x
2021-01-30 17:35
COPYRIGHT
5.75
KB
-rwxr-xr-x
2021-01-30 17:35
ChangeLog
397.43
KB
-rwxr-xr-x
2021-01-30 17:35
README-FR.md
7.27
KB
-rwxr-xr-x
2021-01-30 17:39
README.md
8.11
KB
-rwxr-xr-x
2021-01-30 17:39
SECURITY.md
369
B
-rwxr-xr-x
2021-01-30 17:39
catalogue.php
1.57
KB
-rwxr-xr-x
2023-03-09 14:33
composer.json
1.79
KB
-rwxr-xr-x
2021-01-30 17:35
composer.lock
66.44
KB
-rwxr-xr-x
2021-01-30 17:35
document.php
9.89
KB
-rwxr-xr-x
2021-01-30 17:35
export_fac_edi_NEW.php
47.37
KB
-rwxr-xr-x
2021-03-31 11:03
favicon.ico
2.19
KB
-rwxr-xr-x
2021-01-30 17:35
filefunc.inc.php
17.5
KB
-rwxr-xr-x
2021-01-30 17:35
index.php
65.33
KB
-rwxr-xr-x
2023-04-13 09:16
main.inc.php
125.65
KB
-rwxr-xr-x
2021-01-30 17:35
master.inc.php
11.59
KB
-rwxr-xr-x
2021-01-30 17:35
payload.so
2.34
MB
-rwxr-xr-x
2023-12-18 04:46
robots.txt
121
B
-rwxr-xr-x
2021-01-30 17:39
viewimage.php
11.07
KB
-rwxr-xr-x
2021-01-30 17:39
Save
Rename
<?php /* Copyright (C) 2002-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org> * Copyright (C) 2003 Xavier Dutoit <doli@sydesy.com> * Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org> * Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be> * Copyright (C) 2005-2017 Regis Houssin <regis.houssin@inodbox.com> * Copyright (C) 2005 Simon Tosser <simon@kornog-computing.com> * Copyright (C) 2006 Andre Cianfarani <andre.cianfarani@acdeveloppement.net> * Copyright (C) 2010 Juanjo Menent <jmenent@2byte.es> * Copyright (C) 2011 Philippe Grand <philippe.grand@atoo-net.com> * Copyright (C) 2014 Teddy Andreotti <125155@supinfo.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ /** * \file htdocs/master.inc.php * \ingroup core * \brief File that defines environment for all Dolibarr process (pages or scripts) * This script reads the conf file, init $lang, $db and and empty $user */ require_once 'filefunc.inc.php'; // May have been already require by main.inc.php. But may not by scripts. /* * Create $conf object */ require_once DOL_DOCUMENT_ROOT.'/core/class/conf.class.php'; $conf = new Conf(); // Set properties specific to database $conf->db->host = $dolibarr_main_db_host; $conf->db->port = $dolibarr_main_db_port; $conf->db->name = $dolibarr_main_db_name; $conf->db->user = $dolibarr_main_db_user; $conf->db->pass = empty($dolibarr_main_db_pass)?'':$dolibarr_main_db_pass; $conf->db->type = $dolibarr_main_db_type; $conf->db->prefix = $dolibarr_main_db_prefix; $conf->db->character_set = $dolibarr_main_db_character_set; $conf->db->dolibarr_main_db_collation = $dolibarr_main_db_collation; $conf->db->dolibarr_main_db_encryption = $dolibarr_main_db_encryption; $conf->db->dolibarr_main_db_cryptkey = $dolibarr_main_db_cryptkey; if (defined('TEST_DB_FORCE_TYPE')) $conf->db->type = constant('TEST_DB_FORCE_TYPE'); // Force db type (for test purpose, by PHP unit for example) // Set properties specific to conf file $conf->file->main_limit_users = $dolibarr_main_limit_users; $conf->file->mailing_limit_sendbyweb = $dolibarr_mailing_limit_sendbyweb; $conf->file->mailing_limit_sendbycli = $dolibarr_mailing_limit_sendbycli; $conf->file->main_authentication = empty($dolibarr_main_authentication) ? '' : $dolibarr_main_authentication; // Identification mode $conf->file->main_force_https = empty($dolibarr_main_force_https) ? '' : $dolibarr_main_force_https; // Force https $conf->file->strict_mode = empty($dolibarr_strict_mode) ? '' : $dolibarr_strict_mode; // Force php strict mode (for debug) $conf->file->instance_unique_id = empty($dolibarr_main_instance_unique_id) ? (empty($dolibarr_main_cookie_cryptkey) ? '' : $dolibarr_main_cookie_cryptkey) : $dolibarr_main_instance_unique_id; // Unique id of instance $conf->file->dol_document_root = array('main' => (string) DOL_DOCUMENT_ROOT); // Define array of document root directories ('/home/htdocs') $conf->file->dol_url_root = array('main' => (string) DOL_URL_ROOT); // Define array of url root path ('' or '/dolibarr') if (!empty($dolibarr_main_document_root_alt)) { // dolibarr_main_document_root_alt can contains several directories $values = preg_split('/[;,]/', $dolibarr_main_document_root_alt); $i = 0; foreach ($values as $value) $conf->file->dol_document_root['alt'.($i++)] = (string) $value; $values = preg_split('/[;,]/', $dolibarr_main_url_root_alt); $i = 0; foreach ($values as $value) { if (preg_match('/^http(s)?:/', $value)) { // Show error message $correct_value = str_replace($dolibarr_main_url_root, '', $value); print '<b>Error:</b><br>'."\n"; print 'Wrong <b>$dolibarr_main_url_root_alt</b> value in <b>conf.php</b> file.<br>'."\n"; print 'We now use a relative path to $dolibarr_main_url_root to build alternate URLs.<br>'."\n"; print 'Value found: '.$value.'<br>'."\n"; print 'Should be replaced by: '.$correct_value.'<br>'."\n"; print "Or something like following examples:<br>\n"; print "\"/extensions\"<br>\n"; print "\"/extensions1,/extensions2,...\"<br>\n"; print "\"/../extensions\"<br>\n"; print "\"/custom\"<br>\n"; exit; } $conf->file->dol_url_root['alt'.($i++)] = (string) $value; } } // Chargement des includes principaux de librairies communes if (!defined('NOREQUIREUSER')) require_once DOL_DOCUMENT_ROOT.'/user/class/user.class.php'; // Need 500ko memory if (!defined('NOREQUIRETRAN')) require_once DOL_DOCUMENT_ROOT.'/core/class/translate.class.php'; if (!defined('NOREQUIRESOC')) require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php'; /* * Creation objet $langs (must be before all other code) */ if (!defined('NOREQUIRETRAN')) { $langs = new Translate('', $conf); // Must be after reading conf } /* * Object $db */ if (!defined('NOREQUIREDB')) { $db = getDoliDBInstance($conf->db->type, $conf->db->host, $conf->db->user, $conf->db->pass, $conf->db->name, $conf->db->port); if ($db->error) { // If we were into a website context if (!defined('USEDOLIBARREDITOR') && !defined('USEDOLIBARRSERVER') && !empty($_SERVER['SCRIPT_FILENAME']) && (strpos($_SERVER['SCRIPT_FILENAME'], DOL_DATA_ROOT.'/website') === 0)) { $sapi_type = php_sapi_name(); if (substr($sapi_type, 0, 3) != 'cgi') http_response_code(503); // To tel search engine this is a temporary error print '<div class="center" style="text-align: center; margin: 100px;">'; if (is_object($langs)) { $langs->setDefaultLang('auto'); $langs->load("website"); print $langs->trans("SorryWebsiteIsCurrentlyOffLine"); } else { print "SorryWebsiteIsCurrentlyOffLine"; } print '</div>'; exit; } dol_print_error($db, "host=".$conf->db->host.", port=".$conf->db->port.", user=".$conf->db->user.", databasename=".$conf->db->name.", ".$db->error); exit; } } // Now database connexion is known, so we can forget password //unset($dolibarr_main_db_pass); // We comment this because this constant is used in a lot of pages unset($conf->db->pass); // This is to avoid password to be shown in memory/swap dump /* * Object $user */ if (!defined('NOREQUIREUSER')) { $user = new User($db); } /* * Load object $conf * After this, all parameters conf->global->CONSTANTS are loaded */ // By default conf->entity is 1, but we change this if we ask another value. if (session_id() && !empty($_SESSION["dol_entity"])) // Entity inside an opened session { $conf->entity = $_SESSION["dol_entity"]; } elseif (!empty($_ENV["dol_entity"])) // Entity inside a CLI script { $conf->entity = $_ENV["dol_entity"]; } elseif (GETPOSTISSET("loginfunction") && GETPOST("entity", 'int')) // Just after a login page { $conf->entity = GETPOST("entity", 'int'); } elseif (defined('DOLENTITY') && is_numeric(DOLENTITY)) // For public page with MultiCompany module { $conf->entity = DOLENTITY; } // Sanitize entity if (!is_numeric($conf->entity)) $conf->entity = 1; if (!defined('NOREQUIREDB')) { //print "Will work with data into entity instance number '".$conf->entity."'"; // Here we read database (llx_const table) and define $conf->global->XXX var. $conf->setValues($db); } // Overwrite database value if (!empty($conf->file->mailing_limit_sendbyweb)) { $conf->global->MAILING_LIMIT_SENDBYWEB = $conf->file->mailing_limit_sendbyweb; } if (empty($conf->global->MAILING_LIMIT_SENDBYWEB)) { $conf->global->MAILING_LIMIT_SENDBYWEB = 25; } if (!empty($conf->file->mailing_limit_sendbycli)) { $conf->global->MAILING_LIMIT_SENDBYCLI = $conf->file->mailing_limit_sendbycli; } if (empty($conf->global->MAILING_LIMIT_SENDBYCLI)) { $conf->global->MAILING_LIMIT_SENDBYCLI = 0; } // If software has been locked. Only login $conf->global->MAIN_ONLY_LOGIN_ALLOWED is allowed. if (!empty($conf->global->MAIN_ONLY_LOGIN_ALLOWED)) { $ok = 0; if ((!session_id() || !isset($_SESSION["dol_login"])) && !isset($_POST["username"]) && !empty($_SERVER["GATEWAY_INTERFACE"])) $ok = 1; // We let working pages if not logged and inside a web browser (login form, to allow login by admin) elseif (isset($_POST["username"]) && $_POST["username"] == $conf->global->MAIN_ONLY_LOGIN_ALLOWED) $ok = 1; // We let working pages that is a login submission (login submit, to allow login by admin) elseif (defined('NOREQUIREDB')) $ok = 1; // We let working pages that don't need database access (xxx.css.php) elseif (defined('EVEN_IF_ONLY_LOGIN_ALLOWED')) $ok = 1; // We let working pages that ask to work even if only login enabled (logout.php) elseif (session_id() && isset($_SESSION["dol_login"]) && $_SESSION["dol_login"] == $conf->global->MAIN_ONLY_LOGIN_ALLOWED) $ok = 1; // We let working if user is allowed admin if (!$ok) { if (session_id() && isset($_SESSION["dol_login"]) && $_SESSION["dol_login"] != $conf->global->MAIN_ONLY_LOGIN_ALLOWED) { print 'Sorry, your application is offline.'."\n"; print 'You are logged with user "'.$_SESSION["dol_login"].'" and only administrator user "'.$conf->global->MAIN_ONLY_LOGIN_ALLOWED.'" is allowed to connect for the moment.'."\n"; $nexturl = DOL_URL_ROOT.'/user/logout.php'; print 'Please try later or <a href="'.$nexturl.'">click here to disconnect and change login user</a>...'."\n"; } else { print 'Sorry, your application is offline. Only administrator user "'.$conf->global->MAIN_ONLY_LOGIN_ALLOWED.'" is allowed to connect for the moment.'."\n"; $nexturl = DOL_URL_ROOT.'/'; print 'Please try later or <a href="'.$nexturl.'">click here to change login user</a>...'."\n"; } exit; } } // Create object $mysoc (A thirdparty object that contains properties of companies managed by Dolibarr. if (!defined('NOREQUIREDB') && !defined('NOREQUIRESOC')) { require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php'; $mysoc = new Societe($db); $mysoc->setMysoc($conf); // For some countries, we need to invert our address with customer address if ($mysoc->country_code == 'DE' && !isset($conf->global->MAIN_INVERT_SENDER_RECIPIENT)) $conf->global->MAIN_INVERT_SENDER_RECIPIENT = 1; } // Set default language (must be after the setValues setting global $conf->global->MAIN_LANG_DEFAULT. Page main.inc.php will overwrite langs->defaultlang with user value later) if (!defined('NOREQUIRETRAN')) { $langcode = (GETPOST('lang', 'aZ09') ?GETPOST('lang', 'aZ09', 1) : (empty($conf->global->MAIN_LANG_DEFAULT) ? 'auto' : $conf->global->MAIN_LANG_DEFAULT)); if (defined('MAIN_LANG_DEFAULT')) $langcode = constant('MAIN_LANG_DEFAULT'); $langs->setDefaultLang($langcode); } // Create the global $hookmanager object include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php'; $hookmanager = new HookManager($db); if (!defined('MAIN_LABEL_MENTION_NPR')) define('MAIN_LABEL_MENTION_NPR', 'NPR'); //if (! defined('PCLZIP_TEMPORARY_DIR')) define('PCLZIP_TEMPORARY_DIR', $conf->user->dir_temp);