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_old /
asiafood_v12 /
adherents /
Delete
Unzip
Name
Size
Permission
Date
Action
admin
[ DIR ]
drwxrwxrwx
2021-01-11 11:23
canvas
[ DIR ]
drwxrwxrwx
2021-01-11 11:29
cartes
[ DIR ]
drwxrwxrwx
2021-01-11 11:23
class
[ DIR ]
drwxrwxrwx
2021-01-11 11:23
stats
[ DIR ]
drwxrwxrwx
2021-01-11 11:23
subscription
[ DIR ]
drwxrwxrwx
2021-01-11 11:23
tpl
[ DIR ]
drwxrwxrwx
2021-01-11 11:23
.htaccess
510
B
-rw-r--r--
2023-01-18 07:38
agenda.php
5.88
KB
-rwxrwxrwx
2021-01-11 11:21
card.php
73.97
KB
-rwxrwxrwx
2021-01-11 11:21
document.php
5.68
KB
-rwxrwxrwx
2021-01-11 11:21
htpasswd.php
2.19
KB
-rwxrwxrwx
2021-01-11 11:21
index.php
44.61
KB
-rwxrwxrwx
2023-01-18 07:38
ldap.php
6.41
KB
-rwxrwxrwx
2021-01-11 11:21
list.php
39.31
KB
-rwxrwxrwx
2021-01-11 11:21
note.php
3.84
KB
-rwxrwxrwx
2021-01-11 11:21
subscription.php
47.59
KB
-rwxrwxrwx
2021-01-11 11:21
type.php
30.5
KB
-rwxrwxrwx
2021-01-11 11:21
type_ldap.php
5.75
KB
-rwxrwxrwx
2021-01-11 11:21
type_translation.php
10.27
KB
-rwxrwxrwx
2021-01-11 11:21
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 */ require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php'; // Security check if (!$user->rights->adherent->export) accessforbidden(); /* * View */ llxHeader(); $now = dol_now(); if (empty($sortorder)) { $sortorder = "ASC"; } if (empty($sortfield)) { $sortfield = "d.login"; } if (!isset($statut)) { $statut = 1; } if (!isset($cotis)) { // by default, members must be up to date of subscription $cotis = 1; } $sql = "SELECT d.login, d.pass, d.datefin"; $sql .= " FROM ".MAIN_DB_PREFIX."adherent as d "; $sql .= " WHERE d.statut = ".$statut; 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; 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();