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.152
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html /
btm2000.apps-dev.fr /
adherents /
Delete
Unzip
Name
Size
Permission
Date
Action
admin
[ DIR ]
drwxr-xr-x
2023-12-15 13:44
canvas
[ DIR ]
drwxr-xr-x
2023-12-15 13:44
cartes
[ DIR ]
drwxr-xr-x
2023-12-15 13:44
class
[ DIR ]
drwxr-xr-x
2023-12-15 13:44
stats
[ DIR ]
drwxr-xr-x
2023-12-15 13:44
subscription
[ DIR ]
drwxr-xr-x
2023-12-15 13:44
tpl
[ DIR ]
drwxr-xr-x
2023-12-15 13:44
agenda.php
6.59
KB
-rw-r--r--
2023-12-15 13:44
card.php
84.89
KB
-rw-r--r--
2023-12-15 13:44
document.php
7.11
KB
-rw-r--r--
2023-12-15 13:44
htpasswd.php
2.33
KB
-rw-r--r--
2023-12-15 13:44
index.php
6.36
KB
-rw-r--r--
2023-12-15 13:44
ldap.php
7.65
KB
-rw-r--r--
2023-12-15 13:44
list.php
52.2
KB
-rw-r--r--
2023-12-15 13:44
note.php
5.63
KB
-rw-r--r--
2023-12-15 13:44
partnership.php
9.94
KB
-rw-r--r--
2023-12-15 13:44
subscription.php
46.87
KB
-rw-r--r--
2023-12-15 13:44
type.php
37.78
KB
-rw-r--r--
2023-12-15 13:44
type_ldap.php
5.77
KB
-rw-r--r--
2023-12-15 13:44
type_translation.php
10.49
KB
-rw-r--r--
2023-12-15 13:44
vcard.php
5.83
KB
-rw-r--r--
2023-12-15 13:44
Save
Rename
<?php /* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> * Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org> * Copyright (C) 2006-2008 Laurent Destailleur <eldy@users.sourceforge.net> * * 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/adherents/htpasswd.php * \ingroup member * \brief Export page htpasswd of the membership file */ // Load Dolibarr environment require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php'; $status = GETPOST('status', 'int'); $cotis = GETPOST('cotis', 'int'); $sortfield = GETPOST('sortfield', 'alphanohtml'); $sortorder = GETPOST('sortorder', 'aZ09'); // Security check if (!isModEnabled('adherent')) { accessforbidden(); } if (!$user->hasRight('adherent', 'export')) { accessforbidden(); } /* * View */ llxHeader(); $now = dol_now(); if (empty($sortorder)) { $sortorder = "ASC"; } if (empty($sortfield)) { $sortfield = "d.login"; } $sql = "SELECT d.login, d.pass, d.datefin"; $sql .= " FROM ".MAIN_DB_PREFIX."adherent as d "; $sql .= " WHERE d.statut = ".((int) $status); if ($cotis == 1) { $sql .= " AND datefin > '".$db->idate($now)."'"; } $sql .= $db->order($sortfield, $sortorder); //$sql.=$db->plimit($conf->liste_limit, $offset); $resql = $db->query($sql); if ($resql) { $num = $db->num_rows($resql); $i = 0; $param = ''; print_barre_liste($langs->trans("HTPasswordExport"), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', 0); print "<hr>\n"; while ($i < $num) { $objp = $db->fetch_object($result); $htpass = crypt($objp->pass, makesalt()); print $objp->login.":".$htpass."<br>\n"; $i++; } print "<hr>\n"; } else { dol_print_error($db); } // End of page llxFooter(); $db->close();