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 /
bdc.bdcloud.fr /
user /
Delete
Unzip
Name
Size
Permission
Date
Action
admin
[ DIR ]
drwxr-x---
2025-11-08 11:17
class
[ DIR ]
drwxr-x---
2025-11-08 11:17
group
[ DIR ]
drwxr-x---
2025-11-08 11:17
notify
[ DIR ]
drwxr-x---
2025-11-08 11:17
agenda_extsites.php
9.61
KB
-rwxr-x---
2023-04-04 15:50
bank.php
37.67
KB
-rwxr-x---
2023-04-04 15:50
card.php
112.75
KB
-rwxr-x---
2023-04-04 15:50
clicktodial.php
7.61
KB
-rwxr-x---
2023-04-04 15:50
document.php
7.48
KB
-rwxr-x---
2023-04-04 15:50
hierarchy.php
9.93
KB
-rwxr-x---
2023-04-04 15:50
home.php
10.43
KB
-rwxr-x---
2023-04-04 15:50
info.php
3.05
KB
-rwxr-x---
2023-04-04 15:50
ldap.php
6.78
KB
-rwxr-x---
2023-04-04 15:50
list.php
51.42
KB
-rwxr-x---
2023-04-04 15:50
logout.php
3.76
KB
-rwxr-x---
2023-04-04 15:50
note.php
4.83
KB
-rwxr-x---
2023-04-04 15:50
param_ihm.php
20.9
KB
-rwxr-x---
2023-04-04 15:50
passwordforgotten.php
9.09
KB
-rwxr-x---
2023-04-04 15:50
perms.php
30.72
KB
-rwxr-x---
2023-04-04 15:50
vcard.php
4.79
KB
-rwxr-x---
2023-04-04 15:50
Save
Rename
<?php /* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> * Copyright (C) 2003 Xavier Dutoit <doli@sydesy.com> * Copyright (C) 2004-2009 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2005-2012 Regis Houssin <regis.houssin@inodbox.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/user/logout.php * \brief Page called to disconnect a user */ //if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL','1'); // Uncomment creates pb to relogon after a disconnect if (!defined('NOREQUIREMENU')) { define('NOREQUIREMENU', '1'); } if (!defined('NOREQUIREHTML')) { define('NOREQUIREHTML', '1'); } if (!defined('NOREQUIREAJAX')) { define('NOREQUIREAJAX', '1'); } /* We do now force CSRF check so we can logout using logout.php page (required for DoliDroid for example) if (!defined('CSRFCHECK_WITH_TOKEN')) { define('CSRFCHECK_WITH_TOKEN', '1'); } */ //if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1'); // We need company to get correct logo onto home page if (!defined('EVEN_IF_ONLY_LOGIN_ALLOWED')) { define('EVEN_IF_ONLY_LOGIN_ALLOWED', '1'); } require_once '../main.inc.php'; // This can happen only with a bookmark or forged url call. if (!empty($_SESSION["dol_authmode"]) && ($_SESSION["dol_authmode"] == 'forceuser' || $_SESSION["dol_authmode"] == 'http')) { unset($_SESSION["dol_login"]); die("Applicative disconnection should be useless when connection was made in mode ".$_SESSION["dol_authmode"]); } global $conf, $langs, $user; // Call trigger $result = $user->call_trigger('USER_LOGOUT', $user); if ($result < 0) { $error++; } // End call triggers // Hooks on logout $action = ''; $hookmanager->initHooks(array('logout')); $parameters = array(); $reshook = $hookmanager->executeHooks('afterLogout', $parameters, $user, $action); // Note that $action and $object may have been modified by some hooks if ($reshook < 0) { $error++; } // Define url to go after disconnect $urlfrom = empty($_SESSION["urlfrom"]) ? '' : $_SESSION["urlfrom"]; // Define url to go $url = DOL_URL_ROOT."/index.php"; // By default go to login page if ($urlfrom) { $url = DOL_URL_ROOT.$urlfrom; } if (!empty($conf->global->MAIN_LOGOUT_GOTO_URL)) { $url = $conf->global->MAIN_LOGOUT_GOTO_URL; } if (GETPOST('dol_hide_topmenu')) { $url .= (preg_match('/\?/', $url) ? '&' : '?').'dol_hide_topmenu=1'; } if (GETPOST('dol_hide_leftmenu')) { $url .= (preg_match('/\?/', $url) ? '&' : '?').'dol_hide_leftmenu=1'; } if (GETPOST('dol_optimize_smallscreen')) { $url .= (preg_match('/\?/', $url) ? '&' : '?').'dol_optimize_smallscreen=1'; } if (GETPOST('dol_no_mouse_hover')) { $url .= (preg_match('/\?/', $url) ? '&' : '?').'dol_no_mouse_hover=1'; } if (GETPOST('dol_use_jmobile')) { $url .= (preg_match('/\?/', $url) ? '&' : '?').'dol_use_jmobile=1'; } // Destroy session dol_syslog("End of session ".session_id()); if (session_status() === PHP_SESSION_ACTIVE) { session_destroy(); } // Not sure this is required unset($_SESSION['dol_login']); unset($_SESSION['dol_entity']); unset($_SESSION['urlfrom']); if (GETPOST('noredirect')) { return; } header("Location: ".$url); // Default behaviour is redirect to index.php page